From 04009019646f3ba8cae5c90e8868bd80d5bd358f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ma=C5=84czak?= <56172798+jakubmanczak@users.noreply.github.com> Date: Sun, 11 Apr 2021 22:53:18 +0200 Subject: [PATCH] home + j4mesen card --- public/index.html | 2 +- src/App.vue | 4 +-- src/assets/j4mesen.png | Bin 0 -> 267475 bytes src/components/card.vue | 45 ++++++++++++++++++++++++++++ src/components/gractwosvg.vue | 11 +++++++ src/router/index.ts | 20 +++++-------- src/views/Home.vue | 54 +++++++++++++++++++++++++++++----- 7 files changed, 113 insertions(+), 23 deletions(-) create mode 100644 src/assets/j4mesen.png create mode 100644 src/components/card.vue create mode 100644 src/components/gractwosvg.vue diff --git a/public/index.html b/public/index.html index e56c814..b065a6e 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ - <%= htmlWebpackPlugin.options.title %> + Gractwo + + \ No newline at end of file diff --git a/src/components/gractwosvg.vue b/src/components/gractwosvg.vue new file mode 100644 index 0000000..d3d9cd4 --- /dev/null +++ b/src/components/gractwosvg.vue @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index f2f662c..6aa8a01 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,18 +7,6 @@ const routes: Array = [ name: 'Home', component: Home }, - { - path: '/o-nas', - name: 'o-nas', - // redirect: to => { - // window.location.href = 'http://google.com' - // return '/redirecting' // not important since redirecting - // } - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '../views/About.vue') - }, { path: '/discord', name: 'Discord', @@ -36,6 +24,14 @@ const routes: Array = [ window.location.replace('https://facebook.com/groups/gractwo') return '/facebook' } + }, + { + path: '/j4mesen', + name: 'j4mesen', + redirect: () => { + window.location.replace('https://manczak.net') + return '/j4mesen' + } } ] diff --git a/src/views/Home.vue b/src/views/Home.vue index 98197bc..f16f805 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,18 +1,56 @@ + + \ No newline at end of file