From 1ead3a4e2ec475d0f46fa9213ee8632f16f96c77 Mon Sep 17 00:00:00 2001 From: Dan Grebb Date: Sat, 13 Jan 2024 20:24:22 -0500 Subject: [PATCH] chore(front): updates heading hierarchies (#1163) --- front/src/lib/components/posts/PostsGrid.svelte | 2 +- front/src/lib/layout/Header.svelte | 3 ++- front/src/lib/layout/NavHome.svelte | 7 ++++++- front/src/routes/+layout.svelte | 2 +- front/src/routes/+page.svelte | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/front/src/lib/components/posts/PostsGrid.svelte b/front/src/lib/components/posts/PostsGrid.svelte index 7a5abe7fe..9cbaa1295 100644 --- a/front/src/lib/components/posts/PostsGrid.svelte +++ b/front/src/lib/components/posts/PostsGrid.svelte @@ -10,7 +10,7 @@ style={lazyImage && `background-image: url('${lazyImage}');`} > - {title} + {/each} diff --git a/front/src/lib/layout/Header.svelte b/front/src/lib/layout/Header.svelte index 5df2a9fe9..227499670 100644 --- a/front/src/lib/layout/Header.svelte +++ b/front/src/lib/layout/Header.svelte @@ -5,6 +5,7 @@ import '@styles/components/nav.css'; import '@styles/components/theme-toggle.css'; + export let route; export let navHeading; export let navItems; @@ -12,7 +13,7 @@