mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
add privacy policy
This commit is contained in:
parent
0d71fe7cff
commit
60bae4f617
2 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@catppuccin/tailwindcss": "^0.1.1",
|
"@catppuccin/tailwindcss": "^0.1.1",
|
||||||
"@rushstack/eslint-patch": "^1.2.0",
|
"@rushstack/eslint-patch": "^1.2.0",
|
||||||
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
"@types/node": "^18.14.2",
|
"@types/node": "^18.14.2",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"@vue/eslint-config-prettier": "^7.1.0",
|
"@vue/eslint-config-prettier": "^7.1.0",
|
||||||
|
|
|
@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from 'vue-router'
|
||||||
import HomeView from '../views/HomeView.vue'
|
import HomeView from '../views/HomeView.vue'
|
||||||
import UserView from '../views/UserView.vue'
|
import UserView from '../views/UserView.vue'
|
||||||
import PageNotFound from '../views/PageNotFound.vue'
|
import PageNotFound from '../views/PageNotFound.vue'
|
||||||
|
import PrivacyPageView from '../views/PrivacyPageView.vue'
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
history: createWebHistory(import.meta.env.BASE_URL),
|
history: createWebHistory(import.meta.env.BASE_URL),
|
||||||
|
@ -11,6 +12,11 @@ const router = createRouter({
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: HomeView
|
component: HomeView
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/privacy',
|
||||||
|
name: 'about',
|
||||||
|
component: PrivacyPageView
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/:username',
|
path: '/:username',
|
||||||
component: UserView
|
component: UserView
|
||||||
|
|
Loading…
Reference in a new issue