From 0015e28b8ff7872f0749218a72585bca89c28103 Mon Sep 17 00:00:00 2001 From: Jaron Date: Sat, 2 May 2026 21:03:02 -0500 Subject: [PATCH] feat: add photo gallery to index and update navigation and styling throughout app --- app/app.vue | 2 + app/assets/css/fonts.css | 1 - app/assets/css/main.css | 10 ++++ app/layouts/main.vue | 23 +++++++- app/pages/index.vue | 112 ++++++++++++++++++++++++++++++------ app/pages/writing/index.vue | 60 +++++++++++++++++-- 6 files changed, 185 insertions(+), 23 deletions(-) diff --git a/app/app.vue b/app/app.vue index bc4fb89..5a9efd0 100644 --- a/app/app.vue +++ b/app/app.vue @@ -20,6 +20,8 @@ useHead({ }, ], }); + +onMounted(() => {}); @@ -124,7 +203,7 @@ section:last-of-type { .project { border-bottom: 1px solid var(--muted); - padding: 2rem 0; + padding: 1rem 0; display: block; text-decoration: none; color: inherit; @@ -214,6 +293,7 @@ section:last-of-type { .photo__overlay p:nth-child(2) { font-weight: 300; font-style: italic; + font-size: small; } .about p { diff --git a/app/pages/writing/index.vue b/app/pages/writing/index.vue index 0fecbec..7facff6 100644 --- a/app/pages/writing/index.vue +++ b/app/pages/writing/index.vue @@ -8,7 +8,7 @@ const { data: pages } = await useAsyncData('writing-pages', () =>
- - {{ page.title }} - +
@@ -33,4 +41,48 @@ const { data: pages } = await useAsyncData('writing-pages', () => height: 100%; padding: 0 2rem; } + +section > .section__content { + padding: 0 2rem; +} + +.article { + border-bottom: 1px solid var(--muted); + padding: 1rem 0; + display: block; + text-decoration: none; + color: inherit; +} + +.article:first-of-type { + padding-top: 0; +} + +.article:last-of-type { + padding-bottom: 0; +} + +.article:last-child { + border-bottom: none; +} + +.article:hover > .article__title { + text-decoration: underline; + text-underline-offset: 4px; + font-style: italic; + font-family: var(--font-hover); +} + +.article__title { + margin: 0; + font-weight: 400; +} + +.article__description { + margin: 0; + font-size: small; + font-weight: 400; + font-style: italic; + color: var(--muted); +}