chore: mobile footer styles
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
<div class="wrapper">
|
||||||
<img src="~/assets/images/brand-mobile.svg" :alt="appConfig.title"></img>
|
<img src="~/assets/images/brand-mobile.svg" :alt="appConfig.title"></img>
|
||||||
<address>
|
<address>
|
||||||
Laurette Colmard
|
Laurette Colmard<br>
|
||||||
laurette.colmard@gmail.com
|
<span id="protected-email" class="protected"></span><br>
|
||||||
29 rue Colonel Bougault, 38100 Grenoble (FR)
|
29 rue Colonel Bougault, 38100 Grenoble (FR)<br>
|
||||||
06 01 93 75 87
|
<span id="protected-phone"></span>
|
||||||
</address>
|
</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>
|
||||||
Reference in New Issue
Block a user