Commit abe57fd4 authored by Sergey Serov's avatar Sergey Serov

First page with Main page

parent 363542b8
...@@ -2333,11 +2333,6 @@ ...@@ -2333,11 +2333,6 @@
"integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=",
"dev": true "dev": true
}, },
"bootstrap": {
"version": "4.3.1",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.3.1.tgz",
"integrity": "sha512-rXqOmH1VilAt2DyPzluTi2blhk17bO7ef+zLLPlWvG494pDxcM234pJ8wTc/6R40UWizAIIMgxjvxZg5kmsbag=="
},
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"bootstrap": "^4.3.1",
"core-js": "^2.6.5", "core-js": "^2.6.5",
"register-service-worker": "^1.6.2", "register-service-worker": "^1.6.2",
"vue": "^2.6.10", "vue": "^2.6.10",
......
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
<router-link class="navig" to="/product"><span>Оборудование</span></router-link> <router-link class="navig" to="/product"><span>Оборудование</span></router-link>
<router-link class="navig" to="/files"><span>Услуги</span></router-link> <router-link class="navig" to="/files"><span>Услуги</span></router-link>
<router-link class="navig" to="/contact"><span>Контакты</span></router-link> <router-link class="navig" to="/contact"><span>Контакты</span></router-link>
<div id="lang">
<span :class="[{ active: (select === 'Russia') }]" @click="SelectLang('Russia')">Ru</span>
<span :class="[{ active: (select === 'English') }]" @click="SelectLang('English')">En</span>
</div>
</div> </div>
</div> </div>
</nav> </nav>
...@@ -73,7 +77,7 @@ body{ ...@@ -73,7 +77,7 @@ body{
} }
} }
.navig span{ .navig span{
font-size: 2em; font-size: calc( 0.009 * 100vw + 11.2px );
color:#fff; color:#fff;
font-weight: 500; font-weight: 500;
margin-right: 1em; margin-right: 1em;
...@@ -175,12 +179,24 @@ a.router-link-exact-active:hover span{ ...@@ -175,12 +179,24 @@ a.router-link-exact-active:hover span{
} }
div#logotip_div{ div#logotip_div{
max-width: 38vw; max-width: 38vw;
padding-left: 30px;
} }
img#logotip{ img#logotip{
max-width: 500px; max-width: 500px;
width: 33vw; width: 22vw;
pointer-events: none; pointer-events: none;
} }
.WidthNavigation.TitlesNavigation #lang{
color: white;
font-size: 35px;
}
.WidthNavigation.TitlesNavigation #lang span{
padding: 10px;
}
.WidthNavigation.TitlesNavigation #lang span.active{
border-radius: 50%;
border: 2px solid white;
}
...@@ -228,6 +244,8 @@ export default { ...@@ -228,6 +244,8 @@ export default {
data () { data () {
return { return {
mobile: false, mobile: false,
select: 'Russia',
activeClass: 'active',
} }
}, },
methods:{ methods:{
...@@ -237,6 +255,9 @@ export default { ...@@ -237,6 +255,9 @@ export default {
Before: function(){ Before: function(){
this.mobile = this.$parent.mobile; this.mobile = this.$parent.mobile;
}, },
SelectLang(lang) {
this.select = lang;
}
} }
} }
</script> </script>
\ No newline at end of file
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-align: center; text-align: center;
color: #2c3e50; color: #2c3e50;
margin-top: 4vh;
/* height: 100vh; */ /* height: 100vh; */
} }
#main{ #main{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment