File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22import { getCollection } from " astro:content" ;
33import { ALPHABETS } from " ../../../../constants.js" ;
44import BaseLayout from " ../../../layouts/base.astro" ;
5+ import Navbar from " ../../../components/navbar.astro" ;
6+ import Search from " ../../../components/islands/search" ;
57
68const { page } = Astro .props ;
79const params = Astro .params ;
810
11+ const dictionary = await getCollection (" dictionary" );
12+
913export const prerender = true ;
1014
1115export async function getStaticPaths({ paginate }) {
@@ -23,6 +27,10 @@ export async function getStaticPaths({ paginate }) {
2327---
2428
2529<BaseLayout >
30+ <Navbar >
31+ <Search triggerSize =" sm" dictionary ={ dictionary } client:load />
32+ </Navbar >
33+
2634 <main class =" max-w-screen-lg p-5 md:mt-10 mx-auto min-h-screen space-y-6" >
2735 <h1 class =" text-3xl md:text-5xl font-black" >
2836 Browse: Letter { params .alpha .toUpperCase () }
You can’t perform that action at this time.
0 commit comments