Add IDs to all components of the website

This commit is contained in:
itsfinniii
2026-03-26 22:08:04 +01:00
parent 1fd51a6a3f
commit 82c0905c0e
6 changed files with 25 additions and 7 deletions

View File

@@ -19,7 +19,10 @@ const averageStars = Math.round((totalStars / totalReviews) * 10) / 10;
const reviewsToShow = reviews.reviews.slice(0, 5);
---
<div class="flex lg:flex-row flex-col py-12 px-12 lg:container mx-auto gap-y-8 gap-x-18 w-full">
<div
id={`reviews-${reviews.id}`}
class="flex lg:flex-row flex-col py-12 px-12 lg:container mx-auto gap-y-8 gap-x-18 w-full"
>
<div class="flex flex-col lg:gap-5 gap-2.25 lg:min-w-[32.5%]">
<div class="flex flex-col">
<h2 class="text-3xl font-bold">{reviews.title}</h2>