summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelianthella <git@gumi.ca>2020-12-23 20:01:48 -0500
committerHelianthella <git@gumi.ca>2020-12-23 20:01:48 -0500
commit697684b866fd42fe89854859887c70f4127a2277 (patch)
treee168affc48d3b31f350e45bf162c38dd30f97cef
parenta56dbd9b55890c0bd30099965f554f74b8bd88c6 (diff)
downloadwebsite-697684b866fd42fe89854859887c70f4127a2277.tar.gz
website-697684b866fd42fe89854859887c70f4127a2277.tar.bz2
website-697684b866fd42fe89854859887c70f4127a2277.tar.xz
website-697684b866fd42fe89854859887c70f4127a2277.zip
simplify the footer
-rw-r--r--src/components/Footer.vue11
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">
- &copy; 2004&ndash;{{ year }} The Mana World
+ &copy; 2004&ndash;{{ (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>