@@ -34,18 +34,26 @@ const ogImage = new URL(
3434);
3535
3636const organizers = await getPeopleFromReference (country .data .organizers ?? []);
37+
38+ if (organizers .length === 0 ) {
39+ return new Response (null , {
40+ status: 404 ,
41+ statusText: " Not found" ,
42+ });
43+ }
3744---
3845
3946<MainLayout >
4047 <SEO
4148 slot =" seo"
42- title ={ ` All the organizers in ${country .data .name }` }
49+ title ={ ` Tech events organizers ${country .data .name }` }
4350 description ={ country .data .description ?? " " }
4451 image ={ ogImage .toString ()}
4552 />
4653 <ImageBackgroundHero
4754 src ={ country .data .cover .media }
4855 alt ={ country .data .cover .alt }
56+ blur
4957 />
5058 <div class =" mx-auto w-full max-w-screen-lg px-4 py-4" >
5159 <BackButton
@@ -63,12 +71,12 @@ const organizers = await getPeopleFromReference(country.data.organizers ?? []);
6371 <h1
6472 class =" w-full text-balance text-left font-heading text-4xl font-medium uppercase tracking-wider md:text-5xl"
6573 >
66- { country .data .name }
74+ { country .data .name } organizers
6775 </h1 >
6876 <h2
6977 class =" w-full text-balance text-left text-base tracking-widest md:text-lg"
7078 >
71- All the Fork it! events organizers in { country .data .name }
79+ Meet the Fork it! events organizers in { country .data .name }
7280 </h2 >
7381 <p
7482 class =" max-w-[60ch] text-sm tracking-wide [text-shadow:0_2px_30px_rgba(0,0,0,0.4)]"
@@ -77,7 +85,9 @@ const organizers = await getPeopleFromReference(country.data.organizers ?? []);
7785 experienced professionals who have combined their strengths and
7886 skills to create a dynamic and innovative community. This community
7987 is determined to share real experiences, inspire innovation and
80- connect creative minds in the tech world.
88+ connect creative minds in the tech world. Organizing tech events in {
89+ country .data .name
90+ } would not be possible without the following community members.
8191 </p >
8292 </div >
8393 <div class =" flex flex-col gap-6" >
0 commit comments