generated from Seekra/repository-template
add router link to privacy
This commit is contained in:
@@ -21,6 +21,7 @@ import SearchView from '../views/SearchView.vue';
|
|||||||
import SearchResultsView from '@/features/search/views/SearchResultsView.vue';
|
import SearchResultsView from '@/features/search/views/SearchResultsView.vue';
|
||||||
import SettingsView from '@/features/settings/views/SettingsView.vue';
|
import SettingsView from '@/features/settings/views/SettingsView.vue';
|
||||||
import NotFound from '../views/NotFound.vue';
|
import NotFound from '../views/NotFound.vue';
|
||||||
|
import PrivacyPolicy from '@/views/legal/PrivacyPolicy.vue';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
@@ -52,6 +53,15 @@ const routes = [
|
|||||||
name: 'notFound',
|
name: 'notFound',
|
||||||
component: NotFound
|
component: NotFound
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/privacy',
|
||||||
|
name: 'privacyPolicy',
|
||||||
|
component: PrivacyPolicy,
|
||||||
|
meta: {
|
||||||
|
title: () => 'Privacy Policy'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
/*
|
```vue
|
||||||
|
<!--
|
||||||
Copyright 2026 Seekra
|
Copyright 2026 Seekra
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,4 +13,15 @@ distributed under the License is distributed on an "AS IS" BASIS,
|
|||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
-->
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user