diff --git a/frontend/package.json b/frontend/package.json index c3e61c6..dce6f66 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -22,6 +22,7 @@ "devDependencies": { "@catppuccin/tailwindcss": "^0.1.1", "@rushstack/eslint-patch": "^1.2.0", + "@tailwindcss/typography": "^0.5.9", "@types/node": "^18.14.2", "@vitejs/plugin-vue": "^4.0.0", "@vue/eslint-config-prettier": "^7.1.0", diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index 1f78e03..2de42dc 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from 'vue-router' import HomeView from '../views/HomeView.vue' import UserView from '../views/UserView.vue' import PageNotFound from '../views/PageNotFound.vue' +import PrivacyPageView from '../views/PrivacyPageView.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), @@ -11,6 +12,11 @@ const router = createRouter({ name: 'home', component: HomeView }, + { + path: '/privacy', + name: 'about', + component: PrivacyPageView + }, { path: '/:username', component: UserView