Skip to content

Commit b6cccaf

Browse files
committed
Style: converted site to just a Splash Page
1 parent 5091f23 commit b6cccaf

File tree

1 file changed

+88
-4
lines changed

1 file changed

+88
-4
lines changed

src/App.vue

Lines changed: 88 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,23 @@
22
<div class="wrapper" id="app">
33
<PreLoader v-if="loading" />
44
<router-view></router-view>
5-
<router-link to="/">
5+
<div :class="['home-content', videoLoaded ? 'bg-engage' : '']">
6+
<div id="logo">
7+
<img id="logo-white" class="logo" src="./assets/images/logoMOOG_white.svg" />
8+
<img id="logo-black" class="logo" src="./assets/images/logoMOOG_black.svg" />
9+
</div>
10+
<div class="tagline">A Conscious Media Company</div>
11+
<div class="emails">
12+
<a class="email" href="mailto:narina@moogmedia.ca">narina@moogmedia.ca</a>
13+
<span>|</span>
14+
<a class="email" href="mailto:nauras@moogmedia.ca">nauras@moogmedia.ca</a>
15+
</div>
16+
</div>
17+
<!-- <router-link to="/">
618
<img id="logo-white" class="logo" src="./assets/images/logoMOOG_white.svg" />
719
<img id="logo-black" class="logo" src="./assets/images/logoMOOG_black.svg" />
8-
</router-link>
9-
<Navigation />
20+
</router-link> -->
21+
<!-- <Navigation /> -->
1022
<VideoTimer />
1123
<HomePageImageSlider v-bind:gallery="gallery" />
1224
<div class="videoWRAPPER home-video">
@@ -91,6 +103,78 @@ export default {
91103
}
92104
</script>
93105

94-
<style lang="scss">
106+
<style lang="scss" scoped>
107+
.home-content {
108+
display: flex;
109+
flex-direction: column;
110+
justify-content: center;
111+
align-items: center;
112+
position: absolute;
113+
width: 100%;
114+
height: 100%;
115+
top: 0;
116+
left: 0;
117+
background: rgba(0, 0, 0, 0);
118+
z-index: 1000;
119+
transition: 10000ms;
120+
&:before {
121+
content: '';
122+
position: absolute;
123+
top: 0;
124+
left: 0;
125+
width: 100%;
126+
height: 100%;
127+
background: radial-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.75));
128+
opacity: 0;
129+
z-index: 50;
130+
transition: 10000ms;
131+
}
132+
&.bg-engage {
133+
&:before {
134+
transition: 10000ms;
135+
opacity: 1;
136+
}
137+
}
138+
}
139+
140+
#logo {
141+
// position: relative;
142+
z-index: 100;
143+
}
95144
145+
.logo {
146+
position: static;
147+
width: 25rem;
148+
max-width: 20rem;
149+
margin-bottom: 1rem;
150+
}
151+
152+
#logo-black {
153+
display: none;
154+
}
155+
156+
.tagline {
157+
color: white;
158+
font-size: 1.3rem;
159+
margin-bottom: 3rem;
160+
z-index: 100;
161+
}
162+
163+
.emails {
164+
display: flex;
165+
flex-direction: row;
166+
align-items: center;
167+
span {
168+
color: white;
169+
margin: 0 1rem;
170+
}
171+
}
172+
173+
.email {
174+
z-index: 100;
175+
}
176+
177+
#video-timer {
178+
z-index: 1000;
179+
}
96180
</style>

0 commit comments

Comments
 (0)