Skip to content

Commit e71fc2e

Browse files
committed
Update some more spots
1 parent 12d4cc9 commit e71fc2e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/layouts/CommunityLayout.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ setJumpToState({
6767
}
6868
</ul>
6969
<div class="content-grid-simple">
70-
<LinkButton url="/sketches" variant="link" class="mt-lg col-span-1 w-full"
70+
<LinkButton url="/sketches/" variant="link" class="mt-lg col-span-1 w-full"
7171
>{t("All Sketches")}</LinkButton
7272
>
7373
</div>
@@ -86,7 +86,7 @@ setJumpToState({
8686
</ul>
8787
<div class="content-grid-simple">
8888
<LinkButton
89-
url="/libraries"
89+
url="/libraries/"
9090
variant="link"
9191
class="mt-lg col-span-1 w-full">{t("All Libraries")}</LinkButton
9292
>
@@ -112,7 +112,7 @@ setJumpToState({
112112
}
113113
</ul>
114114
<div class="content-grid-simple">
115-
<LinkButton url="/events" variant="link" class="mt-lg col-span-1 w-full"
115+
<LinkButton url="/events/" variant="link" class="mt-lg col-span-1 w-full"
116116
>{t("All Events")}</LinkButton
117117
>
118118
</div>

src/pages/[locale]/libraries/index.astro

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ export async function getStaticPaths() {
1010
},
1111
props: {
1212
entries: await getCollectionInLocaleWithFallbacks("libraries", locale),
13-
pages: await getCollectionInLocaleWithFallbacks("pages", locale),
1413
},
1514
}));
1615
1716
return await Promise.all(pages);
1817
}
1918
20-
const { entries, pages } = Astro.props;
21-
const page = pages.find((page) => page.slug === 'libraries')!
19+
const { entries } = Astro.props;
2220
---
2321

24-
<LibrariesLayout title="Libraries" entries={entries} page={page} />
22+
<LibrariesLayout title="Libraries" entries={entries} />

0 commit comments

Comments
 (0)