Skip to content

Commit 51cbe20

Browse files
committed
Foter fonts and copyright component
1 parent 26e8c12 commit 51cbe20

File tree

2 files changed

+40
-22
lines changed

2 files changed

+40
-22
lines changed

src/components/shared/AppFooter.vue

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
>
77
<!-- Footer social links -->
88
<div
9-
class="flex flex-col justify-center items-center mb-12 sm:mb-28"
9+
class="flex flex-col justify-center items-center mb-12 sm:mb-20"
1010
>
1111
<p
12-
class="text-3xl sm:text-4xl font-semibold text-primary-dark dark:text-primary-light mb-5"
12+
class="font-general-semibold text-3xl sm:text-4xl font-semibold text-primary-dark dark:text-primary-light mb-5"
1313
>
1414
Follow me
1515
</p>
@@ -30,35 +30,18 @@
3030
</div>
3131

3232
<!-- Footer copyright -->
33-
<div class="flex justify-center items-center text-center">
34-
<div class="text-lg text-ternary-dark dark:text-ternary-light ">
35-
&copy; {{ copyrightDate }}.
36-
<a
37-
href="https://github.com/realstoman/vuejs-tailwindcss-portfolio"
38-
target="__blank"
39-
class="hover:underline"
40-
>
41-
Vue.js & TailwindCSS Portfolio
42-
</a>
43-
.
44-
<a
45-
href="https://stoman.me"
46-
target="__blank"
47-
class="text-secondary-dark dark:text-secondary-light font-medium uppercase hover:underline"
48-
>Stoman</a
49-
>
50-
</div>
51-
</div>
33+
<FooterCopyright />
5234
</div>
5335
</div>
5436
</template>
5537

5638
<script>
5739
import feather from 'feather-icons';
40+
import FooterCopyright from './FooterCopyright.vue';
5841
export default {
42+
components: { FooterCopyright },
5943
data() {
6044
return {
61-
copyrightDate: new Date().getFullYear(),
6245
socials: [
6346
{
6447
id: 1,
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<template>
2+
<div class="flex justify-center items-center text-center">
3+
<div
4+
class="font-general-medium text-lg text-ternary-dark dark:text-ternary-light"
5+
>
6+
&copy; {{ copyrightDate }}.
7+
<a
8+
href="https://github.com/realstoman/vuejs-tailwindcss-portfolio"
9+
target="__blank"
10+
class="hover:underline"
11+
>
12+
Vue.js & TailwindCSS Portfolio
13+
</a>
14+
.
15+
<a
16+
href="https://stoman.me"
17+
target="__blank"
18+
class="text-secondary-dark dark:text-secondary-light font-medium uppercase hover:underline"
19+
>Stoman</a
20+
>
21+
</div>
22+
</div>
23+
</template>
24+
25+
<script>
26+
export default {
27+
data: () => {
28+
return {
29+
copyrightDate: new Date().getFullYear(),
30+
};
31+
},
32+
};
33+
</script>
34+
35+
<style lang="scss" scoped></style>

0 commit comments

Comments
 (0)