chore: mobile footer styles

This commit is contained in:
2025-12-05 18:20:25 +01:00
parent fb9d5ba632
commit dd54dc88a9
2 changed files with 44 additions and 8 deletions

View File

@@ -16,7 +16,7 @@
--breakpoint-2xl: 1400px; --breakpoint-2xl: 1400px;
} }
html, body, p, a { html, body, p, a, address {
font-family: 'Abbiocco Beta', system-ui, -apple-system, BlinkMacSystemFont, font-family: 'Abbiocco Beta', system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', sans-serif; 'Segoe UI', sans-serif;
} }

View File

@@ -1,22 +1,58 @@
<script setup lang="ts"> <script setup lang="ts">
const appConfig = useAppConfig() const appConfig = useAppConfig()
onMounted(() => {
const protectedEmail = document.getElementById('protected-email')
const protectedPhone = document.getElementById('protected-phone')
if(protectedEmail)
protectedEmail.innerHTML = 'moc.' + 'liamg' + '@' + 'dramloc.' + 'ettelrual';
if(protectedPhone)
protectedPhone.textContent = atob('MDYgMDEgOTMgNzUgODc=');
})
</script> </script>
<template> <template>
<footer> <footer>
<img src="~/assets/images/brand-mobile.svg" :alt="appConfig.title"></img> <div class="wrapper">
<address> <img src="~/assets/images/brand-mobile.svg" :alt="appConfig.title"></img>
Laurette Colmard <address>
laurette.colmard@gmail.com Laurette Colmard<br>
29 rue Colonel Bougault, 38100 Grenoble (FR) <span id="protected-email" class="protected"></span><br>
06 01 93 75 87 29 rue Colonel Bougault, 38100 Grenoble (FR)<br>
</address> <span id="protected-phone"></span>
</address>
</div>
</footer> </footer>
</template> </template>
<style lang="css" scoped> <style lang="css" scoped>
.protected {
unicode-bidi: bidi-override;
direction: rtl;
}
footer { footer {
background-color: var(--primary-color); background-color: var(--primary-color);
color: var(--secondary-color); color: var(--secondary-color);
padding: 0 1.5rem;
}
.wrapper {
display: flex;
align-items: flex-end;
gap: 2rem;
padding: 1.5rem 0;
}
address {
font-weight: 500;
font-size: 0.75rem;
line-height: 0.75rem;
}
img {
height: 64px;
} }
</style> </style>