Skip to content

Commit 1a2a09e

Browse files
committed
feat: add policy in main page, add policy and terms to user menu in dashboard
1 parent f788192 commit 1a2a09e

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

frontend/src/components/ui/NavUser.vue

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { ChevronsUpDown, LogOut } from 'lucide-vue-next'
3-
import { Globe04, Settings02 } from 'untitledui-js/vue'
3+
import { File05, Globe04, Lock01, Settings02 } from 'untitledui-js/vue'
44
55
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
66
import {
@@ -97,6 +97,17 @@ const { isMobile } = useSidebar()
9797
</DropdownMenuItem>
9898
</DropdownMenuGroup>
9999
<DropdownMenuSeparator />
100+
<DropdownMenuGroup>
101+
<DropdownMenuItem>
102+
<Lock01 />
103+
Privacy Policy
104+
</DropdownMenuItem>
105+
<DropdownMenuItem>
106+
<File05 />
107+
Terms of Service
108+
</DropdownMenuItem>
109+
</DropdownMenuGroup>
110+
<DropdownMenuSeparator />
100111
<DropdownMenuItem>
101112
<LogOut />
102113
Log out

frontend/src/data/FooterNav.data.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ export const FOOTER_NAV_PRODUCT_DATA: FooterNavData[] = [
2222
name: 'contact',
2323
url: '/contact',
2424
},
25+
{
26+
name: 'privacy',
27+
url: '/privacy',
28+
},
2529
{
2630
name: 'terms',
2731
url: '/terms',

frontend/src/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"items": {
6060
"about": "About us",
6161
"contact": "Contact us",
62+
"privacy": "Privacy Policy",
6263
"terms": "Terms of Service"
6364
}
6465
},

frontend/src/locales/ru.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"items": {
6060
"about": "О нас",
6161
"contact": "Связаться с нами",
62+
"privacy": "Политика конфиденциальности",
6263
"terms": "Условия предоставления услуг"
6364
}
6465
},

0 commit comments

Comments
 (0)