-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.vue
More file actions
285 lines (260 loc) · 9.45 KB
/
App.vue
File metadata and controls
285 lines (260 loc) · 9.45 KB
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<template>
<div>
<v-app >
<div class="all blue-grey darken-4" id="intro">
<v-toolbar class="elevation-0 cc-toolbar" :dark="true" :class="[transparentOn ? 'transparent-toolbar' : 'solid-toolbar']" :fixed="istoolbarfixed">
<v-toolbar-title class="toolbar-title">
Chimpcode
</v-toolbar-title>
<span class="dot-title"> ●</span>
<v-spacer></v-spacer>
<v-btn flat dark class="opts">Conócenos</v-btn>
<v-btn flat dark class="opts">Nuestros Proyectos</v-btn>
<v-btn flat dark class="opts">Contáctanos</v-btn>
<v-btn outline style="color: #22dea1" flat dark class="opts" @click.native.stop="sidebar = !sidebar">Se parte de nosotros</v-btn>
</v-toolbar>
<sidebar :open="sidebar"
@update-sidebar-open="onSidebarChange"
transition="slide-x-transition",
@on-info-submission="onSendSubmission">
</sidebar>
<main>
<v-container>
<cc-logo id="logo"></cc-logo>
</v-container>
</main>
<v-footer class="pa-3 cc-footer">
<v-spacer></v-spacer>
Made with
<v-icon style="color: #c50b56;">favorite</v-icon>
by chimpcode team
<div>© {{ new Date().getFullYear() }}</div>
</v-footer>
</div>
<v-container fluid style="padding:0px !important" class="brand-font">
<v-layout row wrap>
<v-flex xs12 sm6 class="primary py-3 px-5 block-content">
<div class="vertical-center">
<h5><strong>Lorem ipsum dolor sit amet</strong></h5>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
id est laborum</p>
</div>
</v-flex>
<v-flex xs12 sm6 class="black white--text pa-3">
<h3 class="vertical-center text-xs-center px-5" style="line-height: 58px;">100% Software personalizado</h3>
</v-flex>
</v-layout>
</v-container>
<v-container fluid style="padding:0px !important" class="brand-font">
<v-layout row wrap>
<v-flex xs12 sm6 class="black white--text py-3 px-5 block-content">
<div class="vertical-center">
<h5><strong>Lorem ipsum dolor sit amet</strong></h5>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
id est laborum</p>
</div>
</v-flex>
<v-flex xs12 sm6 class="primary pa-3">
<h3 class="vertical-center text-xs-center px-5" style="line-height: 58px;">100% Software personalizado</h3>
</v-flex>
</v-layout>
</v-container>
<v-snackbar
:timeout="5000"
class="snackbar_info"
:multi-line="true"
:vertical="true"
v-model="snackbar_result"
>
<span>{{ snackbar_text }}</span>
<v-btn dark flat @click.native="snackbar_result = false">Close</v-btn>
</v-snackbar>
</v-app>
</div>
</template>
<script>
import { VueTyper } from 'vue-typer'
import 'particles.js'
import CCLogo from './components/Logo'
import CCConsole from './components/ConsoleEffect'
// import FormBody from './components/FormBody'
import Sidebar from './components/Sidebar'
export default {
components: {
CCLogo,
VueTyper,
CCConsole,
Sidebar
},
data () {
return {
sidebar: false,
dialog_form: false,
istoolbarfixed: true,
transparentOn: true,
snackbar_result: false,
snackbar_text: 'lorem ipsum SDASDASDSA Asdasdasd asdasdas asdasdasd'
}
},
methods: {
goToForm: function () {
window.scrollTo(0,1000);
// document.animate({
// })
},
onClickCloseDialog: function (value) {
this.dialog_form = value
},
onSidebarChange: function(value) {
this.sidebar = value
},
onSendSubmission: function(message) {
this.snackbar_result = true
this.snackbar_text = message
},
handleScroll: function(e) {
if (window.scrollY > 100) {
this.transparentOn = false
} else {
this.transparentOn = true
}
}
},
created: function () {
window.addEventListener('scroll', this.handleScroll);
},
destroyed: function () {
window.removeEventListener('scroll', this.handleScroll);
},
mounted () {
// particlesJS.load('particles-js', '../public/particlesjs-config1.json', function() {
// console.log('callback - particles.js config loaded');
// });
}
}
</script>
<style lang="scss">
.cc-toolbar > div.toolbar__content{
height: 104px;
}
.toolbar-title {
font-family: Quicksand,Roboto,serif;
color: white;
letter-spacing: -1px;
font-size: 30px;
}
.dot-title {
color: #22dea1;
font-size:14px;
font-weight: bold;
margin-bottom: -19px;
margin-left: 3px;
}
.transparent-toolbar {
background: transparent !important;
}
.solid-toolbar {
background: black !important;
}
.vue-typer {
font-size: 60px;
font-weight: 100;
font-family: Quicksand,Roboto,serif;
.custom.char {
color: white;
}
.custom.caret {
background-color: white;
}
}
.vue-typer.char {
color: white;
}
.all {
//background: linear-gradient(#2f6c89, #108555);
//background-image: linear-gradient(#088283, #0f110f 90%), url(../public/noise.gif);
//background-image: linear-gradient(#249987, #0f110f 90%);
//background-image: linear-gradient(#1bc08f, #112026);
//background: linear-gradient(rgb(52,151,154), #0f110f);
//background: linear-gradient(rgb(52,151,154), #000000);
//background-image: linear-gradient(#22dea1, #1f1f26);
// background: #1f1f26;
//#249987
background: url("../public/coding_3.jpg") repeat center center fixed;
// background: url("../public/noise.gif") repeat;
// background-blend-mode: multiply;
background-blend-mode: overlay;
}
//#ab1b5e
.dialog_background {
background: #0f1215
// background: url("../public/noise.gif") repeat;
// background-blend-mode: multiply;
}
.snackbar_info{
background: #111f32;
}
.snackbar_info span {
color: #22dea1 !important;
}
.cc-footer {
background-color: #1b1b21 !important;
color: white;
font-family: Quicksand,Roboto,serif;
font-weight: 500;
position: absolute;
bottom: 0px;
width: 100%;
}
.opts {
font-weight: 400;
}
.block-content{
height: 500px
}
.vertical-center {
position: relative;
top: 40%;
}
#logo {
margin-top: 120px;
}
#particles-js {
position: absolute;
width: 100%;
height: 100%;
}
#noise {
position: absolute;
width: 100%;
height: 100%;
opacity: 0.05;
background: url(../public/noise.gif) repeat;
z-index:0;
}
#intro {
min-height: 100vh;
}
.promotion-text {
font-family: Quicksand,Roboto,serif;
color: white;
}
.icon-ref {
width: auto;
height: 100px;
}
</style>