Commit 5f268515 authored by Sergey Serov's avatar Sergey Serov

Main page

parent 16533a9c
......@@ -4,9 +4,9 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="./favicon.ico">
<link rel="icon" type="image/png" href="favicon.png"/>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<title>site</title>
<title>АО "АНЦ"</title>
</head>
<body>
<noscript>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html><html lang=ru><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" type="image/png" href="favicon.png"/><![endif]--><link rel=stylesheet href=https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css><title>АО "АНЦ"</title><link href=css/app.793a3d49.css rel=preload as=style><link href=js/app.4cb25409.js rel=preload as=script><link href=js/chunk-vendors.fd958138.js rel=preload as=script><link href=css/app.793a3d49.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=img/icons/favicon-16x16.png><link rel=manifest href=manifest.json><meta name=theme-color content=#4DBA87><meta name=apple-mobile-web-app-capable content=no><meta name=apple-mobile-web-app-status-bar-style content=default><meta name=apple-mobile-web-app-title content=site><link rel=apple-touch-icon href=img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=img/icons/safari-pinned-tab.svg color=#4DBA87><meta name=msapplication-TileImage content=img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#000000></head><body><noscript><strong>We're sorry but site doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.fd958138.js></script><script src=js/app.4cb25409.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
{
"name": "site",
"short_name": "site",
"icons": [
{
"src": "./img/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "./img/icons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "./index.html",
"display": "standalone",
"background_color": "#000000",
"theme_color": "#4DBA87"
}
self.__precacheManifest = [
{
"revision": "916537507de710cef912",
"url": "css/app.793a3d49.css"
},
{
"revision": "916537507de710cef912",
"url": "js/app.4cb25409.js"
},
{
"revision": "98b2956152c9ac78fea5",
"url": "js/chunk-vendors.fd958138.js"
},
{
"revision": "962d788ebbca71ed276537d8da81324c",
"url": "img/Earth.962d788e.png"
},
{
"revision": "b4583ae21a5bf0cd046c1dfa6a005162",
"url": "img/Background2.b4583ae2.png"
},
{
"revision": "507b3f8c0767e527e5729965e931a7c3",
"url": "img/Background.507b3f8c.png"
},
{
"revision": "5eda9a2223c672373f6ff671ebb5c947",
"url": "fonts/6509.5eda9a22.TTF"
},
{
"revision": "22a53d2503def617f3ce644452bce0ae",
"url": "fonts/5114.22a53d25.TTF"
},
{
"revision": "524d720f3f670bd38785447ca9c4b395",
"url": "fonts/9114.524d720f.OTF"
},
{
"revision": "b3a03c81d435e0b0c9a74454d98251af",
"url": "img/planet.b3a03c81.png"
},
{
"revision": "92069ed44c22041ed64e57e6099ae28f",
"url": "img/LogoWhite.92069ed4.png"
},
{
"revision": "7a915cb8de676e8dcffa134607ff90f9",
"url": "img/Logo.7a915cb8.png"
},
{
"revision": "92069ed44c22041ed64e57e6099ae28f",
"url": "img/Logo_circle.92069ed4.png"
},
{
"revision": "b1a2a9049f6737fbf1a9e81e4cd0a1c6",
"url": "index.html"
},
{
"revision": "92069ed44c22041ed64e57e6099ae28f",
"url": "favicon.png"
},
{
"revision": "b6216d61c03e6ce0c9aea6ca7808f7ca",
"url": "robots.txt"
}
];
\ No newline at end of file
User-agent: *
Disallow:
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"precache-manifest.50e910267013e1adf0d565d7c3f929c5.js"
);
workbox.core.setCacheNameDetails({prefix: "site"});
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
......@@ -16,7 +16,7 @@
</div>
<div id="lang">
<span :class="[{ active: (select === 'Russia') }]" @click="SelectLang('Russia')">Ru</span>
<span :class="[{ active: (select === 'English') }]" @click="SelectLang('English')">En</span>
<span :class="[{ active: (select === 'English') }]" @click="SelectLang('English')">En</span>
</div>
</div>
</div>
......@@ -25,10 +25,9 @@
<router-view ref="page"></router-view>
</transition>
<!-- <button v-scroll-to="'#app'">OOOOOOOOOOOOOOOOOOOOOOOOO</button> -->
</div>
</div>
</template>
<style>
::-webkit-scrollbar{
width: 0px;
......@@ -45,20 +44,20 @@ body{
@font-face {
font-family: "Europe";
src: url("./Fonts/6509.TTF") format("truetype");
font-style: normal;
font-weight: normal;
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "BebasNeueBold";
src: url("./Fonts/9114.OTF") format("opentype");
font-style: normal;
font-weight: normal;
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "BebasNeue";
src: url("./Fonts/5114.TTF") format("truetype");
font-style: normal;
font-weight: normal;
font-style: normal;
font-weight: normal;
}
@media only screen and (min-width: 320px) and (max-width: 1399px) {
......@@ -69,7 +68,7 @@ body{
width: 100vw;
}
}
@media only screen and (min-width: 1400px) {
@media only screen and (min-width: 1400px) {
#navigator{
/* position: absolute; */
padding: 1.7em;
......@@ -155,7 +154,6 @@ img#logotip{
display: inline-block;
}
.fade-enter-active, .fade-leave-active {
transition-property: opacity;
transition-duration: 0.20s;
......@@ -192,28 +190,26 @@ img#logotip{
}
</style>
<script>
<script>
export default {
name: 'app',
data () {
return {
mobile: false,
select: 'Russia',
activeClass: 'active',
}
},
methods:{
Up: function(){
this.$refs.page.move(1)
},
Before: function(){
this.mobile = this.$parent.mobile;
},
SelectLang(lang) {
this.select = lang;
}
}
name: 'app',
data () {
return {
mobile: false,
select: 'Russia',
activeClass: 'active'
}
},
methods: {
Up: function () {
this.$refs.page.move(1)
},
Before: function () {
this.mobile = this.$parent.mobile
},
SelectLang (lang) {
this.select = lang
}
}
}
</script>
......@@ -22,28 +22,28 @@
</template>
<script>
import InsertSVG from './ContactSVG.vue';
import InsertSVG from './ContactSVG.vue'
export default {
name: 'app',
components: {
InsertSVG,
},
data () {
return {
msg: 'Contact',
options: {
},
}
},
methods:{
Before: function(){
this.mobile = this.$parent.mobile;
},
move: function(section){
this.$refs.fullpage.api.moveTo(section)
},
}
name: 'app',
components: {
InsertSVG
},
data () {
return {
msg: 'Contact',
options: {
}
}
},
methods: {
Before: function () {
this.mobile = this.$parent.mobile
},
move: function (section) {
this.$refs.fullpage.api.moveTo(section)
}
}
}
</script>
......@@ -75,7 +75,7 @@ export default {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
justify-content: center;
}
#svg_contact #yandex_map iframe{
border-radius: 50%;
......
......@@ -52,18 +52,18 @@
<script>
export default {
name: 'app',
data () {
return {
msg: 'Product',
}
},
methods:{
test: function(section){
// alert(section);
this.$emit('move', section)
}
}
name: 'app',
data () {
return {
msg: 'Product'
}
},
methods: {
test: function (section) {
// alert(section);
this.$emit('move', section)
}
}
}
</script>
......
This diff is collapsed.
......@@ -2,38 +2,37 @@ import Vue from 'vue'
import App from './App.vue'
import router from './router'
var VueScrollTo = require('vue-scrollto');
var VueScrollTo = require('vue-scrollto')
Vue.use(VueScrollTo)
Vue.config.productionTip = false
new Vue({
router,
data:{
data: {
mobile: false,
first: true,
first: true
},
created: function (){
this.Before();
created: function () {
this.Before()
},
methods:{
Up: function(){
this.$refs.page.move(1)
},
isMobileOrTablet: function(){
var check = false;
(function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))check = true})(navigator.userAgent||navigator.vendor||window.opera);
return check;
},
Before: function(){
if (this.isMobileOrTablet()) {
this.mobile = true;
// код для мобильных устройств
} else {
// код для обычных устройств
}
methods: {
Up: function () {
this.$refs.page.move(1)
},
isMobileOrTablet: function () {
var check = false;
(function (a) { if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4)))check = true })(navigator.userAgent || navigator.vendor || window.opera)
return check
},
Before: function () {
if (this.isMobileOrTablet()) {
this.mobile = true
// код для мобильных устройств
} else {
// код для обычных устройств
}
}
},
render: h => h(App)
}).$mount('#app')
......@@ -5,17 +5,15 @@ import Main from './components/Main.vue'
import Equipment from './components/Equipment.vue'
import Amenites from './components/Amenites.vue'
Vue.use(Router)
export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [
{ path: '/', name:'Main', component: Main },
{ path: '/equipment', name:'Equipment', component: Equipment },
{ path: '/amenites', name:'Amenites', component: Amenites },
{ path: '/contact', name:'Contact', component: Contact },
]
})
\ No newline at end of file
{ path: '/', name: 'Main', component: Main },
{ path: '/equipment', name: 'Equipment', component: Equipment },
{ path: '/amenites', name: 'Amenites', component: Amenites },
{ path: '/contact', name: 'Contact', component: Contact }
]
})
module.exports = {
chainWebpack: config => {
config.module.rules.delete('eslint');
}
}
\ No newline at end of file
chainWebpack: config => {
config.module.rules.delete('eslint')
},
publicPath: '',
outputDir: 'site'
}
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