Skip to content

Commit f69d5ac

Browse files
author
MrAnyx
committed
💚 Updated EndOfLine format + Updated .eslintrc file
1 parent 4964ec0 commit f69d5ac

File tree

4 files changed

+62
-0
lines changed

4 files changed

+62
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ module.exports = {
1414
rules: {
1515
"prettier/prettier": "error",
1616
"no-unused-vars": "off",
17+
"vue/multi-word-component-names": "off",
1718
},
1819
};

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"semi": true,
33
"singleQuote": false,
4+
"endOfLine": "lf"
45
}

components/Footer.vue

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,40 @@
44
<a href="https://github.com/MrAnyx" target="_blank"
55
><eva-icon name="github-outline" class="icon"></eva-icon
66
></a>
7+
78
<a href="https://twitter.com/MrAnyx" target="_blank"
89
><eva-icon name="twitter-outline" class="icon"></eva-icon>
910
</a>
11+
1012
<a
1113
href="https://www.linkedin.com/in/robin-bidanchon-62020119a/"
1214
target="_blank"
1315
><eva-icon name="linkedin-outline" class="icon"></eva-icon>
1416
</a>
17+
1518
<a href="https://www.instagram.com/rob.bch/" target="_blank"
1619
><eva-icon name="camera-outline" class="icon"></eva-icon>
1720
</a>
21+
1822
<a href="mailto:robin@codeon.fr" target="_blank"
1923
><eva-icon name="at-outline" class="icon"></eva-icon>
2024
</a>
2125
</div>
26+
2227
<div id="footer-credits">
2328
Made with <a href="https://nuxtjs.org/" class="accent">NuxtJS</a>
29+
2430
<br />
2531

2632
Licensed under
33+
2734
<a
2835
href="https://github.com/Codeon-org/codeon.fr/blob/master/LICENSE"
2936
class="accent"
3037
target="_blank"
3138
>CC-BY-SA-4.0</a
3239
>
40+
3341
© {{ year }} <nuxt-link to="/" class="accent">Codeon</nuxt-link>
3442
</div>
3543
</div>
@@ -42,6 +50,7 @@ export default {
4250
year: 2021,
4351
};
4452
},
53+
4554
mounted() {
4655
this.year = new Date().getFullYear();
4756
},
@@ -51,35 +60,50 @@ export default {
5160
<style lang="scss" scoped>
5261
#footer-wrapper {
5362
margin-top: 75px;
63+
5464
height: 140px;
65+
5566
display: flex;
67+
5668
align-items: center;
69+
5770
flex-direction: column;
5871
5972
& #footer-links {
6073
display: flex;
74+
6175
justify-content: center;
76+
6277
align-items: center;
78+
6379
column-gap: 12px;
6480
6581
& a {
6682
color: $light;
83+
6784
text-decoration: none;
85+
6886
padding: 8px 8px 4px 8px;
87+
6988
border-radius: 6px;
89+
7090
transition: background-color 0.12s ease-in-out;
7191
7292
&:hover {
7393
background-color: $semi-dark-transparent;
94+
7495
transition: background-color 0.3s ease-in-out;
7596
}
7697
}
7798
}
7899
79100
& #footer-credits {
80101
text-align: center;
102+
81103
margin-top: 15px;
104+
82105
font-size: 12px;
106+
83107
line-height: 30px;
84108
}
85109
}

components/Navbar.vue

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,41 @@ export default {
1818
links: [
1919
{
2020
icon: "🏡",
21+
2122
text: "Home",
23+
2224
link: "/",
2325
},
26+
2427
{
2528
icon: "📚",
29+
2630
text: "Blog",
31+
2732
link: "/blog",
2833
},
34+
2935
{
3036
icon: "💡",
37+
3138
text: "Projects",
39+
3240
link: "/projects",
3341
},
42+
3443
{
3544
icon: "💻",
45+
3646
text: "Tools",
47+
3748
link: "/tools",
3849
},
50+
3951
{
4052
icon: "📝",
53+
4154
text: "About",
55+
4256
link: "/about",
4357
},
4458
],
@@ -50,17 +64,29 @@ export default {
5064
<style lang="scss" scoped>
5165
#container {
5266
width: 100%;
67+
5368
height: 70px;
69+
5470
background-color: $dark-transparent;
71+
5572
backdrop-filter: blur(10px);
73+
5674
position: fixed;
75+
5776
z-index: 5;
77+
5878
top: 0;
79+
5980
left: 0;
81+
6082
display: flex;
83+
6184
flex-direction: row;
85+
6286
justify-content: center;
87+
6388
align-items: center;
89+
6490
column-gap: 12px;
6591
6692
@include xs-screen {
@@ -69,20 +95,28 @@ export default {
6995
7096
& a {
7197
color: $light;
98+
7299
text-decoration: none;
100+
73101
font-size: 16px;
102+
74103
padding: 8px 12px;
104+
75105
border-radius: 6px;
106+
76107
transition: background-color 0.12s ease-in-out;
77108
78109
@include xs-screen {
79110
font-size: 14px;
111+
80112
padding: 6px 8px;
113+
81114
border-radius: 4px;
82115
}
83116
84117
&:hover {
85118
background-color: $semi-dark-transparent;
119+
86120
transition: background-color 0.3s ease-in-out;
87121
}
88122
@@ -95,10 +129,12 @@ export default {
95129
96130
& a.active {
97131
color: $accent;
132+
98133
transition: background-color 0.3s ease-in-out;
99134
100135
&:hover {
101136
background-color: $accent-semi-transparent;
137+
102138
transition: background-color 0.3s ease-in-out;
103139
}
104140
}

0 commit comments

Comments
 (0)