Skip to content

Commit

Permalink
feat: Dynamic copyright year
Browse files Browse the repository at this point in the history
fixed: #9
  • Loading branch information
ZacharyBear committed Apr 2, 2024
1 parent ee9074b commit c2e012c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/views/global/GlFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@
<a href="https://github.com/ZenkieBear/glassmorphism/blob/main/LICENSE'" class="link">MIT</a>
{{ $t('footer.license.suffix') }}
|
{{ $t('footer.copyPrefix', {year: 2022}) }} <a href="https://github.com/ZenkieBear" class="link">Zenkie Bear</a> .
{{ $t('footer.copyPrefix', { year }) }} <a href="https://github.com/ZenkieBear" class="link">Zenkie Bear</a> .
</div>
</footer>
</template>

<script lang="ts" setup>
const year = new Date().getFullYear()
</script>

<style lang="less" scoped>
@default-filter: blur(8px);
@primary-color: #5352ed;
Expand Down

0 comments on commit c2e012c

Please sign in to comment.