diff options
author | Helianthella <git@gumi.ca> | 2020-12-23 20:01:48 -0500 |
---|---|---|
committer | Helianthella <git@gumi.ca> | 2020-12-23 20:01:48 -0500 |
commit | 697684b866fd42fe89854859887c70f4127a2277 (patch) | |
tree | e168affc48d3b31f350e45bf162c38dd30f97cef | |
parent | a56dbd9b55890c0bd30099965f554f74b8bd88c6 (diff) | |
download | website-697684b866fd42fe89854859887c70f4127a2277.tar.gz website-697684b866fd42fe89854859887c70f4127a2277.tar.bz2 website-697684b866fd42fe89854859887c70f4127a2277.tar.xz website-697684b866fd42fe89854859887c70f4127a2277.zip |
simplify the footer
-rw-r--r-- | src/components/Footer.vue | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 076700e..0f3dbfb 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -1,6 +1,6 @@ <template> <footer class="footer"> - © 2004–{{ year }} The Mana World + © 2004–{{ (new Date()).getFullYear() }} The Mana World </footer> </template> @@ -11,12 +11,3 @@ padding: 5px; } </style> - -<script lang="ts"> -import { Options, Vue } from "vue-class-component"; - -@Options({}) -export default class Copyright extends Vue { - year = Reflect.construct(Date, []).getFullYear(); -} -</script> |