Skip to content

Commit ef828bf

Browse files
committed
Footer dynamic date, design changes and code comments
1 parent bb7b1ab commit ef828bf

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

src/components/shared/Footer.vue

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<template>
2-
<div class="container mx-auto pt-20 sm:pt-40 pb-8">
2+
<div
3+
class="container mx-auto pt-20 sm:pt-30 pb-8 mt-20 border-t-2 border-secondary-dark"
4+
>
5+
<!-- Footer social links start -->
36
<div class="flex flex-col justify-center items-center mb-12 sm:mb-28">
47
<p
58
class="text-3xl sm:text-4xl font-semibold text-primary-dark dark:text-primary-light mb-5"
@@ -40,23 +43,33 @@
4043
</a>
4144
</ul>
4245
</div>
46+
<!-- Footer social links end -->
47+
48+
<!-- Footer copyright start -->
4349
<div class="flex justify-center items-center text-center">
4450
<div class="text-lg text-ternary-dark dark:text-ternary-light">
45-
&copy; Copyright 2021.
51+
&copy; Copyright {{ copyrightDate }}. Vue.js & TailwindCSS
52+
Portfolio.
4653
<a
47-
href="http://stoman.me"
54+
href="https://stoman.me"
4855
target="__blank"
49-
class="text-secondary-dark dark:text-secondary-light font-medium"
56+
class="text-secondary-dark dark:text-secondary-light font-medium uppercase"
5057
>Stoman</a
5158
>
5259
</div>
5360
</div>
61+
<!-- Footer copyright end -->
5462
</div>
5563
</template>
5664

5765
<script>
5866
import feather from 'feather-icons';
5967
export default {
68+
data() {
69+
return {
70+
copyrightDate: new Date().getFullYear(),
71+
};
72+
},
6073
mounted() {
6174
feather.replace();
6275
},

0 commit comments

Comments
 (0)