Added legal notice link
This commit is contained in:
@@ -130,6 +130,12 @@ const menus: Menu[] = [
|
||||
</li>
|
||||
</menu>
|
||||
</template>
|
||||
|
||||
<div class="legal">
|
||||
<a :href="`/${$currentLang}/legal`">
|
||||
{{ t('legal.cta') }}
|
||||
</a>
|
||||
</div>
|
||||
</PopoverContent>
|
||||
</PopoverRoot>
|
||||
</div>
|
||||
@@ -151,6 +157,30 @@ const menus: Menu[] = [
|
||||
margin-left: .25rem;
|
||||
}
|
||||
|
||||
.legal {
|
||||
margin-top: 1em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: fit-content;
|
||||
font-size: .8em;
|
||||
text-underline-offset: 2px;
|
||||
text-decoration: underline;
|
||||
gap: .5ch;
|
||||
|
||||
&:hover,
|
||||
&:focus-visible {
|
||||
text-decoration: none;
|
||||
color: var(--green-500);
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: url('/icon/question-mark.svg');
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.map-menu {
|
||||
margin-top: .25rem;
|
||||
margin-bottom: .5rem;
|
||||
|
||||
@@ -35,7 +35,8 @@ export const translations: LanguageDict = {
|
||||
'maps.markers.new': 'Nouveau marqueur',
|
||||
'maps.markers.addPersonal': 'Ajouter un marqueur personnel',
|
||||
'maps.markers.newNotice': "Le marqueur sera sauvegardé mais n'apparaîtra que sur votre carte !",
|
||||
'toast.copyCoords.description': 'Les coordonnées ont été copiées dans le presse-papiers !'
|
||||
'toast.copyCoords.description': 'Les coordonnées ont été copiées dans le presse-papiers !',
|
||||
'legal.cta': 'Mentions légales',
|
||||
},
|
||||
'en': {
|
||||
'lang.fr': 'Français',
|
||||
@@ -67,6 +68,7 @@ export const translations: LanguageDict = {
|
||||
'maps.markers.new': 'New marker',
|
||||
'maps.markers.addPersonal': 'Add a personal marker',
|
||||
'maps.markers.newNotice': "The marker will be saved but will only appear on your map!",
|
||||
'toast.copyCoords.description': 'Coordinates have been copied to your clipboard !'
|
||||
'toast.copyCoords.description': 'Coordinates have been copied to your clipboard !',
|
||||
'legal.cta': 'Legal notice',
|
||||
}
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user