diff --git a/lib/projects/ssr.tsx b/lib/projects/ssr.tsx index d34b832..02bd80c 100644 --- a/lib/projects/ssr.tsx +++ b/lib/projects/ssr.tsx @@ -1,4 +1,4 @@ -import { CSS, Helmet, render } from "#/deps.ts"; +import { Helmet, render } from "#/deps.ts"; import { withLayout } from "#/lib/shared/layout/mod.ts"; import { PageHeading } from "#/lib/shared/page_heading/mod.ts"; import type { Project } from "./projects.ts"; @@ -117,7 +117,6 @@ function ProjectPageComponent(props: { baseURL: string; project: Project }) { name="description" content={props.project.attrs?.description} /> -
-
- + diff --git a/lib/workshops/ssr.tsx b/lib/workshops/ssr.tsx index ba86307..4a884d9 100644 --- a/lib/workshops/ssr.tsx +++ b/lib/workshops/ssr.tsx @@ -1,4 +1,4 @@ -import { Helmet } from "#/deps.ts"; +import { Helmet, render } from "#/deps.ts"; import { withLayout } from "#/lib/shared/layout/mod.ts"; import { PageHeading } from "#/lib/shared/page_heading/mod.ts"; import type { Workshop, WorkshopGroup } from "./workshops.ts"; @@ -24,7 +24,7 @@ function WorkshopGroupsTableComponent( .map((group) => ( - {group.groupID} + {group.id} {group.workshops.length} @@ -94,22 +94,27 @@ function WorkshopGroupTableComponent( } function WorkshopGroupPageComponent( - props: { group: WorkshopGroup }, + props: { baseURL: string; group: WorkshopGroup }, ) { + const html = render(props.group.md, { baseUrl: props.baseURL }); return (
- {props.group.groupID} - Open Source Software workshops + {props.group.id} - Open Source Software workshops -

{props.group.groupID}

+
+