+
+
+
+
-
diff --git a/src/assets/gractwo-smol.png b/src/assets/gractwo-smol.png
new file mode 100644
index 0000000..b9a1a86
Binary files /dev/null and b/src/assets/gractwo-smol.png differ
diff --git a/src/assets/gractwo.png b/src/assets/gractwo.png
new file mode 100644
index 0000000..c68a932
Binary files /dev/null and b/src/assets/gractwo.png differ
diff --git a/src/assets/logo.png b/src/assets/logo.png
deleted file mode 100644
index f3d2503..0000000
Binary files a/src/assets/logo.png and /dev/null differ
diff --git a/src/router/index.ts b/src/router/index.ts
index b4d0ef0..1355b75 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,4 +1,4 @@
-import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
+import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import Home from '../views/Home.vue'
const routes: Array
= [
@@ -10,16 +10,38 @@ const routes: Array = [
{
path: '/about',
name: 'About',
+ // 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',
+ alias: ['/dsc', '/dc'],
+ redirect: () => {
+ window.location.replace('https://discord.gg/NBXq95C')
+ return '/discord'
+ }
+ },
+ {
+ path: '/facebook',
+ name: 'Facebook',
+ alias: '/fb',
+ redirect: () => {
+ window.location.replace('https://facebook.com/groups/gractwo')
+ return '/facebook'
+ }
}
]
const router = createRouter({
- history: createWebHashHistory(),
- routes
+ history: createWebHistory(),
+ routes,
})
-export default router
+export default router
\ No newline at end of file
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 50d8a19..98197bc 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -1,7 +1,7 @@
-

-
+
+
@@ -11,8 +11,8 @@ import HelloWorld from '@/components/HelloWorld.vue'; // @ is an alias to /src
export default defineComponent({
name: 'Home',
- components: {
- HelloWorld,
- },
+ // components: {
+ // HelloWorld,
+ // },
});