From af06d79ac92460ae1a924a7e1d72f5c376c61663 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 28 Aug 2019 22:34:06 +0200 Subject: Add footer --- src/router/index.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/router') diff --git a/src/router/index.js b/src/router/index.js index 532747a..e70642d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,25 +1,25 @@ -import VueRouter from "vue-router"; +import VueRouter from 'vue-router'; -import HomeView from "../views/HomeView"; -import GalleryView from "../views/GalleryView"; -import DownloadView from "../views/DownloadView"; -import PageNotFoundView from "../views/PageNotFoundView"; +import HomeView from '../views/HomeView'; +import AboutView from '../views/AboutView'; +import DownloadView from '../views/DownloadView'; +import PageNotFoundView from '../views/PageNotFoundView'; export const routes = [ - { path: "/", name: "Home", component: HomeView }, - { path: "/o-nas", name: "O nas" }, - { path: "/download", name: "Do pobrania", component: DownloadView } + { path: '/', name: 'Home', component: HomeView }, + { path: '/o-nas', name: 'O nas', component: AboutView }, + { path: '/download', name: 'Do pobrania', component: DownloadView } ]; export const externalRoutes = [ { - path: "https://kronika-puszcza.netlify.com", - name: "Kronika" + path: 'https://kronika-puszcza.netlify.com', + name: 'Kronika' }, - { path: "https://kronika-puszcza.netlify.com/galeria", name: "Galeria" } + { path: 'https://kronika-puszcza.netlify.com/galeria', name: 'Galeria' } ]; export const router = new VueRouter({ - mode: "history", - routes: [...routes, { path: "*", component: PageNotFoundView }] + mode: 'history', + routes: [...routes, { path: '*', component: PageNotFoundView }] }); -- cgit 1.4.1 From 69512e87650730fe7668da80093aafb9eaf87468 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 29 Aug 2019 15:36:31 +0200 Subject: Add ContactView --- src/components/Footer.vue | 14 +++++++++++--- src/components/JoinUs.vue | 2 +- src/router/index.js | 4 +++- src/views/ContactView.vue | 13 +++++++++++++ 4 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 src/views/ContactView.vue (limited to 'src/router') diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 63f8e9a..8288667 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -1,5 +1,5 @@