From 8f7510fc99d0b9fbd243dac62b24391f027de710 Mon Sep 17 00:00:00 2001 From: Taylor Young Date: Fri, 12 May 2023 08:40:24 -0700 Subject: [PATCH] www: allow deeplinking to components (#1134) Adds an ID to the component titles to allow deep-linking to components. http://localhost:8000/components#Carousel http://localhost:8000/components#Icons --- www/islands/ComponentGallery.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/islands/ComponentGallery.tsx b/www/islands/ComponentGallery.tsx index 50c6a8ed..78894954 100644 --- a/www/islands/ComponentGallery.tsx +++ b/www/islands/ComponentGallery.tsx @@ -23,7 +23,7 @@ interface SectionProps { function Section(props: SectionProps) { return (
-

+

{props.title} {props.island && (