2023-06-13 13:38:59 +01:00
< script >
2023-07-07 11:27:28 +01:00
import Header from '$lib/navigation/header.svelte';
import Nav from '$lib/navigation/nav.svelte';
2024-04-17 09:59:32 +01:00
import { IconCode , IconHelp , IconInfoCircle , IconLocation , IconMessageCode , IconNumber , IconSettings , IconSpy , IconUser , IconUserPlus , IconVersions } from '@tabler/icons-svelte';
2023-07-07 11:27:28 +01:00
const title = 'More';
const links = [
2024-04-23 19:53:43 +01:00
{ title : 'Your Data' , path : '/more/data' , icon : IconUser } ,
2024-04-17 09:59:32 +01:00
{ title : 'Registration' , path : '/more/reg' , icon : IconUserPlus } ,
{ title : 'Settings' , path : '/more/settings' , icon : IconSettings } ,
{ title : 'Help' , path : '/more/help' , icon : IconHelp } ,
{ title : 'About' , path : '/more/about' , icon : IconInfoCircle } ,
{ title : 'Location Reference Code Lookup' , path : '/more/corpus' , icon : IconLocation } ,
{ title : 'Reason Code Lookup' , path : '/more/reasons' , icon : IconMessageCode } ,
{ title : 'Privacy Policy' , path : '/more/privacy' , icon : IconSpy } ,
{ title : 'Component Versions' , path : '/more/versions' , icon : IconVersions } ,
{ title : 'Statistics' , path : '/more/statistics' , icon : IconNumber }
2023-07-07 11:27:28 +01:00
];
< / script >
< Header { title } />
2023-06-14 11:02:46 +01:00
{ #each links as item }
2023-07-07 11:27:28 +01:00
< a href = { item . path } >
< div >
2024-04-17 09:59:32 +01:00
< svelte:component this = { item . icon } / >
2023-07-07 11:27:28 +01:00
< p > { item . title } </ p >
< / div >
< / a >
2023-06-14 11:02:46 +01:00
{ /each }
2023-07-07 11:27:28 +01:00
< Nav / >
< style >
div {
width: 100%;
background: rgba(0, 0, 0, 0.226);
border-color: aliceblue;
border-width: 1px;
border-style: solid;
border-left: none;
2024-04-17 09:59:32 +01:00
padding-left: 0.5rem;
2024-04-17 10:11:45 +01:00
overflow-x: hidden;
2023-07-07 11:27:28 +01:00
border-right: none;
height: 50px;
2024-04-17 09:59:32 +01:00
display: flex;
align-items: center;
margin-bottom: 0.5rem;
2023-07-07 11:27:28 +01:00
}
a {
text-decoration: none;
height: 100%;
vertical-align: middle;
2024-04-17 10:11:45 +01:00
overflow-x: hidden;
2023-07-07 11:27:28 +01:00
}
p {
color: white;
margin: 0;
padding-left: 10px;
text-align: left;
line-height: 50px;
vertical-align: middle;
font-weight: 600;
font-size: 20px;
2024-04-17 10:11:45 +01:00
overflow-x: hidden;
2023-07-07 11:27:28 +01:00
}
@media (min-width: 600px) {
2023-06-14 11:02:46 +01:00
p {
2023-07-07 11:27:28 +01:00
text-align: center;
2023-06-14 11:02:46 +01:00
}
2023-07-07 11:27:28 +01:00
}
@media (max-width: 380px) {
p {
font-size: 16px;
2023-06-22 21:15:09 +01:00
}
2023-07-07 11:27:28 +01:00
}
< / style >