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, {});
......@@ -28,7 +28,6 @@
</div>
</template>
<style>
::-webkit-scrollbar{
width: 0px;
......@@ -155,7 +154,6 @@ img#logotip{
display: inline-block;
}
.fade-enter-active, .fade-leave-active {
transition-property: opacity;
transition-duration: 0.20s;
......@@ -192,8 +190,6 @@ img#logotip{
}
</style>
<script>
export default {
name: 'app',
......@@ -201,18 +197,18 @@ export default {
return {
mobile: false,
select: 'Russia',
activeClass: 'active',
activeClass: 'active'
}
},
methods:{
Up: function(){
methods: {
Up: function () {
this.$refs.page.move(1)
},
Before: function(){
this.mobile = this.$parent.mobile;
Before: function () {
this.mobile = this.$parent.mobile
},
SelectLang(lang) {
this.select = lang;
SelectLang (lang) {
this.select = lang
}
}
}
......
......@@ -22,27 +22,27 @@
</template>
<script>
import InsertSVG from './ContactSVG.vue';
import InsertSVG from './ContactSVG.vue'
export default {
name: 'app',
components: {
InsertSVG,
InsertSVG
},
data () {
return {
msg: 'Contact',
options: {
},
}
}
},
methods:{
Before: function(){
this.mobile = this.$parent.mobile;
methods: {
Before: function () {
this.mobile = this.$parent.mobile
},
move: function(section){
move: function (section) {
this.$refs.fullpage.api.moveTo(section)
},
}
}
}
</script>
......
......@@ -55,11 +55,11 @@ export default {
name: 'app',
data () {
return {
msg: 'Product',
msg: 'Product'
}
},
methods:{
test: function(section){
methods: {
test: function (section) {
// alert(section);
this.$emit('move', section)
}
......
......@@ -185,8 +185,6 @@
</div>
</div>
<div v-scroll-to="'#main'" class="strelka strelka_four">
<div id="arrow">
<div id="arrowleft"></div>
......@@ -403,7 +401,6 @@
margin: 0 auto;
}
/* BASE */
#main #base{
margin: 0 auto;
......@@ -527,11 +524,6 @@
right: 1.4%;
}
.strelka{
border-radius:50%;
border:3px solid white;
......@@ -569,8 +561,6 @@
background-color: #00aeff;
}
.strelka_one{
margin-top: 2%;
margin-left: calc(50% - 25px);
......@@ -589,7 +579,6 @@
transform: rotate(180deg);
}
@media only screen and (min-height: 1400px) {
.strelka_one{
/* position: absolute; */
......@@ -621,11 +610,8 @@
}
}
#main #footer{
height: 11vh;
height: 7vh;
width: 100vw;
display: table-cell;
vertical-align: middle;
......@@ -652,14 +638,13 @@
</style>
<script>
export default {
name: 'app',
data () {
return {
publicPath: process.env.BASE_URL,
Title:'Мы видим весь мусор в космосе!',
Title: 'Мы видим весь мусор в космосе!',
About: 'Акционерное общество "Астрономический Научный Центр" образовано в 2011 году и является специализированным российским предприятием, ориентированным на:',
about_list: [
{
......@@ -673,7 +658,7 @@ export default {
{
img: '../source/About_three.png',
text: 'Оценку космической обстановки по траектории выведения и орбитального движения космических аппаратов в интересах спутниковых операторов'
},
}
],
info: 'оптико-электронные средства АО "АНЦ" позволяют одновременно наблюдать космические объекты. Полная площать сферы составляет 41252.97 кв. градусов',
info_list: [
......@@ -696,7 +681,7 @@ export default {
title: 'C проницанием до 18,5m',
text_one: 'суммарное поле зрения 8712 кв. градуса (с апертурой 50, 65 см)',
text_two: '0.2 от полной площади сферы'
},
}
],
info_telescope: 'АО "АНЦ" осуществляет управление работой 51 телескопом с апертурой от 19см до 65см, размещенными в 14 обсерваториях',
base_title: 'Экспериментальная база АО "АНЦ"',
......@@ -709,28 +694,28 @@ export default {
mount1_region:
{
title: 'Регион',
value: 'Республика Карачаево-Черкесия',
value: 'Республика Карачаево-Черкесия'
},
mount1_place:
{
title: 'Расположение',
value1: 'Широта (с.ш.) 43°43’50”',
value2: 'Долгота (в.д.) 42°39’40”',
value3: 'Высота над уровнем моря: 1908(м)',
value3: 'Высота над уровнем моря: 1908(м)'
},
mount2_title: 'Благовещенский район',
mount2_region:
{
title: 'Регион',
value: 'Амурская область, Благовещенский р-н, Грибский сельсовет',
value: 'Амурская область, Благовещенский р-н, Грибский сельсовет'
},
mount2_place:
{
title: 'Расположение',
value1: 'Широта (с.ш.) 50°07’37”',
value2: 'Долгота (в.д.) 127°43’20”',
value3: 'Часовой пояс: UTC+9',
value3: 'Часовой пояс: UTC+9'
},
text_planet: 'АО "АНЦ" имеет собственные обсерватории, размещенные в Карачаево-Черсессии ( гора Шидзатмаз ) и в районе г. Благовещенск Амурской области',
......@@ -738,15 +723,15 @@ export default {
footer_address: 'Россия, Москва, шоссе Энтузиастов, 56с25'
}
},
created: function (){
this.Before();
},
methods:{
Before: function(){
this.mobile = this.$parent.mobile;
},
created: function () {
this.Before()
},
watch:{
methods: {
Before: function () {
this.mobile = this.$parent.mobile
}
},
watch: {
}
}
</script>
......@@ -2,37 +2,36 @@ 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(){
methods: {
Up: function () {
this.$refs.page.move(1)
},
isMobileOrTablet: function(){
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;
(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(){
Before: function () {
if (this.isMobileOrTablet()) {
this.mobile = true;
this.mobile = true
// код для мобильных устройств
} else {
// код для обычных устройств
}
}
},
render: h => h(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 },
{ 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');
}
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