From e6e1000caa37b0834b0431a97625c0a2438600e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Viricel?= Date: Sun, 18 Jan 2026 18:57:30 +0100 Subject: [PATCH] chore: improve responsivness --- app/app.vue | 6 +- app/assets/icons/arrow-up-black.svg | 9 +++ app/components/AppFooter.vue | 74 +++++++++++++++++--- app/components/AppHeader.vue | 34 +++++++--- app/components/VProject.vue | 51 ++++++++++++-- app/pages/index.vue | 101 ++++++++++++++++++++++++++-- content/projects/grenette.md | 2 +- content/projects/mock-project-1.md | 8 +++ content/projects/mock-project-2.md | 8 +++ content/projects/mock-project-3.md | 8 +++ content/projects/mock-project-4.md | 8 +++ content/projects/mock-project-5.md | 8 +++ 12 files changed, 286 insertions(+), 31 deletions(-) create mode 100644 app/assets/icons/arrow-up-black.svg create mode 100644 content/projects/mock-project-1.md create mode 100644 content/projects/mock-project-2.md create mode 100644 content/projects/mock-project-3.md create mode 100644 content/projects/mock-project-4.md create mode 100644 content/projects/mock-project-5.md diff --git a/app/app.vue b/app/app.vue index d6790e8..39e79ac 100644 --- a/app/app.vue +++ b/app/app.vue @@ -10,7 +10,7 @@ --secondary-color: #000; } -html, body, p, a, address, h2 { +html, body, p, a, button, address, h2 { font-family: 'Abbiocco Beta', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; } @@ -18,6 +18,10 @@ a { text-decoration: none; } +a:hover { + text-decoration: underline; +} + html { scroll-behavior: smooth; } diff --git a/app/assets/icons/arrow-up-black.svg b/app/assets/icons/arrow-up-black.svg new file mode 100644 index 0000000..9eface9 --- /dev/null +++ b/app/assets/icons/arrow-up-black.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/components/AppFooter.vue b/app/components/AppFooter.vue index 909fb41..5f0b067 100644 --- a/app/components/AppFooter.vue +++ b/app/components/AppFooter.vue @@ -3,13 +3,10 @@ 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='); }) @@ -19,9 +16,8 @@ onMounted(() => {
Laurette Colmard
-
29 rue Colonel Bougault, 38100 Grenoble (FR)
- +
@@ -42,17 +38,77 @@ footer { .wrapper { display: flex; align-items: flex-end; - gap: 2rem; + gap: 1.5rem; padding: 1.5rem 0; } address { - font-weight: 500; - font-size: 0.75rem; - line-height: 0.75rem; + font-size: 0.65rem; + line-height: 12px; } img { height: 64px; } + +@media (min-width: 768px) { + .wrapper { + gap: 3rem; + } + + img { + height: 104px; + } + + address { + font-size: 0.75rem; + line-height: 14px; + } +} + +@media (min-width: 1024px) { + .wrapper { + gap: 8rem; + } + + img { + height: 120px; + } + + address { + font-size: 0.95rem; + line-height: 15px; + } +} + +@media (min-width: 1536px) { + .wrapper { + gap: 20rem; + } + + img { + height: 146px; + } + + address { + font-size: 1rem; + line-height: 20px; + } +} + +@media (min-width: 1920px) { + .wrapper { + gap: 28rem; + } + + img { + height: 155px; + } + + + address { + font-size: 1.15rem; + line-height: 22px; + } +} \ No newline at end of file diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index 4cba072..4f8a02a 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -12,7 +12,7 @@ const { isScrolled } = useScroll(scrollThreshold.value)