-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
181 lines (167 loc) · 7.56 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- vue cdn -->
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<!-- google font -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,700;1,400;1,700&family=Lato:wght@400;700&display=swap" rel="stylesheet">
<!-- font awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.1/css/all.css" integrity="sha384-vp86vTRFVJgpjF9jiIGPEEqYqlDwgyBgEF109VFjmqGmIY/Y4HV4d3Gp2irVfcrp" crossorigin="anonymous">
<!-- my css -->
<link rel="stylesheet" href="css/app.css">
<title>Maree</title>
</head>
<body>
<div id="root">
<!-- NAVBAR -->
<nav>
<a :href="logo.url"><img :src="logo.imgUrl" :alt="logo.alt"></a>
<ul>
<li
v-for="(element, index) in navElements"
@mouseenter="showDropdown(index)"
@mouseleave="currentItem = null">
<a :href="element.url" :class="index == currentNavIndex ? 'active' : ''">{{element.text}}</a>
<div class="dropdown" :class="currentItem == index ? 'drop' : ''" v-if="element.dropdownItems != null">
<ul>
<li v-for="item in element.dropdownItems">
<a :href="item.url">{{item.text}}</a>
</li>
</ul>
</div>
</li>
<li><img src="svg/svg-1.svg" alt="Hamburger"></li>
</ul>
</nav>
<!-- /NAVBAR -->
<!-- JUMBOTRON -->
<section class="jumbotron">
<!-- prev button -->
<div class="prev" @click="prevImage">
<i class="fas fa-chevron-left"></i>
</div>
<!-- slider -->
<div class="slider">
<!-- image -->
<div class="image" v-for="(element, index) in sliderElements" v-show="currentImage == index">
<div class="wrapper">
<div class="text">
<h2>{{element.title}}<span>{{element.titleEm}}</span></h2>
<p>{{element.paragraph}}</p>
<a :href="element.btnUrl">Read More</a>
</div>
</div>
<div :class="element.class">
<img v-for="image in element.images" :id="image.id" :src="image.imgUrl" :alt="image.alt">
</div>
</div>
<!-- /image -->
</div>
<!-- /slider -->
<!-- next button -->
<div class="next" @click="nextImage">
<i class="fas fa-chevron-right"></i>
</div>
<!-- nav dots -->
<div class="dots">
<i class="fas fa-circle" v-for="(element, index) in sliderElements" :class="currentImage == index ? 'scale' : null" @click="currentImage = index"></i>
</div>
</section>
<!-- JUMBOTRON -->
<!-- GALLERY -->
<section class="gallery">
<div class="card" v-for="card in galleryCards">
<img :src="card.imgUrl" alt="Illustration">
<div class="overlay">
<h2>{{card.title}}</h2>
<h3>{{card.subtitle}}</h3>
</div>
</div>
</section>
<!-- GALLERY -->
<!-- PROCESS -->
<section class="process">
<h2>Working <span>process</span></h2>
<div class="wrapper">
<div class="item" v-for="element in processElements">
<div class="icon-bg">
<i :class="element.icon"></i>
</div>
<h3>{{ element.title }}</h3>
<p>{{ element.paragraph }}</p>
</div>
</div>
</section>
<!-- PROCESS -->
<!-- CONTACT -->
<section class="contact">
<h2>Want to work with us? Send us <span>a message!</span></h2>
<div class="wrapper">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commo.</p>
<a href="#" class="btn">Contact</a>
</div>
</section>
<!-- CONTACT -->
<!-- BLOG -->
<section class="blog">
<div class="wrapper">
<div class="article" v-for="article in blogArticles">
<div class="date">
<div class="date-top">{{article.dateTop}}</div>
<div class="date-bottom">{{article.dateBottom}}</div>
</div>
<div class="picture">
<a :href="article.url"><img :src="article.imgUrl" alt="Article"></a>
</div>
<h2>{{article.title}}</h2>
<span>{{article.author}}</span>
</div>
</div>
</section>
<!-- BLOG -->
<!-- FOOTER -->
<footer>
<div class="wrapper">
<div class="column">
<a :href="logo.url"><img :src="logo.imgUrl" :alt="logo.alt"></a>
<p>Let’s Get Creative</p>
</div>
<div class="column" v-for="element in footerElements">
<ul>
<li>{{element.top}}</li>
<li>{{element.bottom}}</li>
</ul>
</div>
<div class="column">
<p>Stay in touch with us</p>
<ul>
<li v-for="icon in socialIcons">
<a :href="icon.url"><i class='fab' :class="icon.class"></i></a>
</li>
</ul>
</div>
</div>
</footer>
<!-- FOOTER -->
<!-- WIDJETS -->
<!-- qode button -->
<a hfref="#" id="qode">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 87 87" fill="#fff"><path d="M55.4 81.5c6.1-11.1 5.2-16.1-4.3-24.3 6.1-3.5 9.5-8.5 9.1-15.7-.5-8.2-7.7-14.7-16.3-14.6-8.5.1-15.6 6.7-15.9 15-.3 8.5 5.9 15.8 14.3 16.6 1.4.1 2.8.2 4.2.5 5.9 1.2 10.2 6.7 9.8 12.6-.4 6.4-5.5 11.4-11.8 11.7-19.6.9-38.6-14.8-41.3-34C-.1 26.9 14.4 6.8 36.4 2.8c22.3-4 43.4 10 48.1 32 4.3 20-8.6 41.2-28.4 46.7h-.7z"/></svg>
</a>
<!-- cart button -->
<div id="cart">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="9" cy="21" r="2"/><circle cx="20" cy="21" r="2"/><path d="M23.8 5.4c-.2-.3-.5-.4-.8-.4H6.8L6 .8C5.9.3 5.5 0 5 0H1C.4 0 0 .4 0 1s.4 1 1 1h3.2L5 6.2v.1l1.7 8.3C7 16 8.2 17 9.6 17H19.4c1.5 0 2.7-1 3-2.4L24 6.2c0-.3 0-.6-.2-.8z"/></svg>
</div>
<!-- to-top-button -->
<div id="to-top" @click="scrollToTop">
<i class="fas fa-long-arrow-alt-up"></i>
</div>
<!-- WIDJETS -->
</div>
<!-- my js -->
<script src="js/script.js"></script>
</body>
</html>