1
1
<template >
2
2
<div id =" app" >
3
3
<span id =" logo" class =" logo" >MM</span >
4
- <MainMenu />
5
- <HamburgerMenu />
4
+ <MainMenu />
5
+ <HamburgerMenu />
6
6
<full-page :options =" options" id =" fullpage" ref =" fullpage" >
7
7
<div class =" section" id =" section1" >
8
- <HomePage />
8
+ <HomePage />
9
9
</div >
10
10
<div class =" section" id =" section2" >
11
11
<div class =" slide" data-anchor =" /me" >
12
- <MainTitle msg =" About me" />
12
+ <MainTitle msg =" About me" />
13
13
<div >
14
- <p >👦🏻 Front-end developer junior with a strong passion for everything related to the technological world</p >
15
- <p >😳 I am curious guy and I never get tired to think of new things to create!</p >
16
- <p >🎓 I graduated in Digital Communication at the University of Milan</p >
14
+ <p >
15
+ 👦🏻 Front-end developer with a strong passion for everything
16
+ related to the technological world
17
+ </p >
18
+ <p >
19
+ 😳 I am curious guy and I never get tired to think of new things
20
+ to create!
21
+ </p >
22
+ <p >
23
+ 🎓 I graduated in Digital Communication at the University of Milan
24
+ </p >
17
25
<p >📸 Photography is my biggest hobby</p >
18
26
</div >
19
27
</div >
20
28
<div class =" slide" data-anchor =" skills" id =" skills" >
21
- <SkillsSection />
29
+ <SkillsSection />
22
30
</div >
23
31
<div class =" slide" data-anchor =" weather-app" >
24
- <!-- <h3>🚧 Under costruction! 😥</h3>-->
25
- <WeatherApp />
32
+ <WeatherApp />
26
33
</div >
27
34
</div >
28
35
<div class =" section" id =" section3" >
29
- <Contacts />
36
+ <Contacts />
30
37
</div >
31
38
<div class =" section fp-auto-height" id =" section4" >
32
- <Footer />
39
+ <Footer />
33
40
</div >
34
41
</full-page >
35
42
</div >
@@ -63,8 +70,8 @@ export default {
63
70
slideSelector: " .slide" ,
64
71
loopHorizontal: true ,
65
72
slidesNavigation: true ,
66
- controlArrows: false ,
67
- slidesNavPosition: " bottom"
73
+ controlArrows: true ,
74
+ slidesNavPosition: " bottom" ,
68
75
/* sectionsColor: [
69
76
"#FFFFFF",
70
77
"#FFFFFF",
@@ -76,20 +83,32 @@ export default {
76
83
"#ba5be9",
77
84
"#b4b8ab"
78
85
] */
79
- }
86
+ },
80
87
};
81
88
},
82
89
components: {
83
- HelloWorld,
84
90
HomePage,
85
91
MainTitle,
86
92
MainMenu,
87
93
HamburgerMenu,
88
94
SkillsSection,
89
95
Footer,
90
96
Contacts,
91
- WeatherApp
92
- }
97
+ WeatherApp,
98
+ },
99
+ mounted () {
100
+ this .addArrowIcon ();
101
+ },
102
+ methods: {
103
+ addArrowIcon () {
104
+ const arrows = [" prev" , " next" ];
105
+ arrows .forEach ((arrow ) => {
106
+ /* const img = document.createElement("img");
107
+ img.src = "img/".concat(arrow).concat(".png");
108
+ document.querySelector(".fp-" + arrow).appendChild(img); */
109
+ });
110
+ },
111
+ },
93
112
};
94
113
</script >
95
114
@@ -136,8 +155,14 @@ export default {
136
155
-webkit-font-smoothing : antialiased ;
137
156
-moz-font-smoothing : antialiased ;
138
157
text-decoration : none ;
139
- padding : 10px 9px ;
140
158
border-radius : 50% ;
159
+ width : 50px ;
160
+ height : 50px ;
161
+ display : flex ;
162
+ place-items : center ;
163
+ align-items : center ;
164
+ align-content : center ;
165
+ justify-content : center ;
141
166
}
142
167
143
168
.img__border--shadow {
@@ -181,4 +206,27 @@ export default {
181
206
#section4 {
182
207
background : var (--footer-bg );
183
208
}
209
+
210
+ .fp-controlArrow.fp-next img ,
211
+ .fp-controlArrow.fp-prev img {
212
+ height : 100% ;
213
+ display : block ;
214
+ }
215
+
216
+ .fp-controlArrow.fp-prev {
217
+ left : 0 ;
218
+ border : none ;
219
+ width : 50px ;
220
+ height : 101px ;
221
+ /* background: url("./assets/prev.svg") no-repeat; */
222
+ cursor : pointer ;
223
+ }
224
+ .fp-controlArrow.fp-next {
225
+ right : 0 ;
226
+ border : none ;
227
+ width : 50px ;
228
+ height : 101px ;
229
+ /* background: url("./assets/next.png") no-repeat; */
230
+ cursor : pointer ;
231
+ }
184
232
</style >
0 commit comments