-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
73 lines (66 loc) · 1.52 KB
/
app.vue
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
<template >
<!-- <BannerBlock/>-->
<div class="container mx-auto text-2xl">
<NavBar/>
<div class="px-5 sm:py-0">
<HomeBlock/>
<IdentityBlock/>
<AboutBlock/>
<ServicesBlock/>
<ProjectsBlock/>
<UsBlock/>
<ContactBlock/>
</div>
<FooterBlock/>
</div>
</template>
<script>
import BannerBlock from "./components/BannerBlock.vue";
import NavBar from "./components/commons/NavBar.vue";
import HomeBlock from "./components/HomeBlock.vue";
import AboutBlock from "./components/AboutBlock.vue";
import ServicesBlock from "./components/ServicesBlock.vue";
import UsBlock from "./components/UsBlock.vue";
import ContactBlock from "./components/ContactBlock.vue";
import FooterBlock from "./components/FooterBlock.vue";
import ProjectsBlock from "./components/ProjectsBlock.vue";
import IdentityBlock from "./components/IdentityBlock.vue";
export default {
components: {
BannerBlock,
NavBar,
HomeBlock,
IdentityBlock,
AboutBlock,
ServicesBlock,
ProjectsBlock,
UsBlock,
ContactBlock,
FooterBlock
},
mounted() {
let lang = localStorage.getItem('lang');
if(!lang){
let lang = 'mx'
localStorage.setItem('lang', lang);
}
this.$i18n.setLocale(lang);
}
}
</script>
<style>
@font-face {
font-family: Jost;
src: url('~/assets/fonts/jost/italic.ttf'), ;
font-display: swap;
}
@font-face {
font-family: Jost;
src: url('~/assets/fonts/jost/variable.ttf');
font-style: normal;
font-display: swap;
}
body{
font-family: Jost, serif;
}
</style>