@@ -4,8 +4,8 @@ import Layout from "@layouts/Layout.astro";
44import Prose from " @ui/Prose.astro" ;
55import { Image } from " astro:assets" ;
66import Markdown from " @ui/Markdown.astro" ;
7- import Headline from " @ui/Headline .astro" ;
8- import Section from " @ui/Section .astro"
7+ import Title from " @ui/Title .astro" ;
8+ import Section2 from " @ui/Section2 .astro"
99import CodeHeart from " @components/island/CodeHeart.svelte" ;
1010
1111
@@ -85,14 +85,14 @@ function getGitHosting(url: string): string | undefined {
8585---
8686
8787<Layout title ={ entry .data .name } description ={ ` Profile of ${entry .data .name } ` } >
88- <Section >
89- <Headline as = " h1 " id =" speaker" title = { entry .data .name } / >
88+ <Section2 variant = " dark " id = " speaker-page " >
89+ <Title id =" speaker" > { entry .data .name } </ Title >
9090
9191 <div class =" md:grid grid-cols-[460px_1fr] md:gap-6" >
9292 {
9393 ( entry .data .avatar &&
9494 <div class = " flex items-start" >
95- <div class = " border-4 border-white rounded-lg shadow -lg inline-block mb-10" >
95+ <div class = " border border-white/10 rounded-lg inline-block mb-10" >
9696 <Image
9797 src = { entry .data .avatar }
9898 alt = { entry .data .name }
@@ -109,7 +109,7 @@ function getGitHosting(url: string): string | undefined {
109109 {
110110 entry .data .biography ? (
111111 <>
112- <h2 class = " relative font-title text-primary font-bold mb-[0.6em] [&>a]:border-0 [&>a]:text-inherit text-5xl" >
112+ <h2 class = " relative font-heading text-white font-bold mb-[0.6em] [&>a]:border-0 [&>a]:text-inherit text-5xl" >
113113 Biography
114114 </h2 >
115115 <Prose full >
@@ -128,7 +128,7 @@ function getGitHosting(url: string): string | undefined {
128128 entry .data .mastodon_url ||
129129 entry .data .twitter_url ? (
130130 <div class = " mb-4" >
131- <h2 class = " relative font-title text-primary font-bold mb-[0.6em] [&>a]:border-0 [&>a]:text-inherit text-5xl" >
131+ <h2 class = " relative font-heading text-white font-bold mb-[0.6em] [&>a]:border-0 [&>a]:text-inherit text-5xl" >
132132 More about the speaker
133133 </h2 >
134134 <dl >
@@ -146,7 +146,7 @@ function getGitHosting(url: string): string | undefined {
146146 { isUrl (entry .data .homepage ) ? (
147147 <a
148148 href = { ensureHttps (entry .data .homepage )}
149- class = " text-primary underline hover:text-primary-hover "
149+ class = " text-white/80 underline hover:text-accent "
150150 target = " _blank"
151151 >
152152 { entry .data .homepage }
@@ -166,7 +166,7 @@ function getGitHosting(url: string): string | undefined {
166166 <dd >
167167 <a
168168 href = { ensureHttps (entry .data .gitx_url )}
169- class = " text-primary underline hover:text-primary-hover "
169+ class = " text-white/80 underline hover:text-accent "
170170 target = " _blank"
171171 >
172172 { entry .data .gitx_url }
@@ -181,7 +181,7 @@ function getGitHosting(url: string): string | undefined {
181181 <dd >
182182 <a
183183 href = { entry .data .linkedin_url }
184- class = " text-primary underline hover:text-primary-hover "
184+ class = " text-white/80 underline hover:text-accent "
185185 target = " _blank"
186186 >
187187 { getLinkedInUsername (entry .data .linkedin_url )}
@@ -196,7 +196,7 @@ function getGitHosting(url: string): string | undefined {
196196 <dd >
197197 <a
198198 href = { entry .data .mastodon_url }
199- class = " text-primary underline hover:text-primary-hover "
199+ class = " text-white/80 underline hover:text-accent "
200200 target = " _blank"
201201 >
202202 { getMastodonUsername (entry .data .mastodon_url )}
@@ -211,7 +211,7 @@ function getGitHosting(url: string): string | undefined {
211211 <dd >
212212 <a
213213 href = { entry .data .twitter_url }
214- class = " text-primary underline hover:text-primary-hover "
214+ class = " text-white/80 underline hover:text-accent "
215215 target = " _blank"
216216 >
217217 { getTwitterUsername (entry .data .twitter_url )}
@@ -225,7 +225,7 @@ function getGitHosting(url: string): string | undefined {
225225 <dd >
226226 <a
227227 href = { getBlueskyProfileLink (getBlueskyUsername (entry .data .bluesky_url ) as string )}
228- class = " text-primary underline hover:text-primary-hover "
228+ class = " text-white/80 underline hover:text-accent "
229229 target = " _blank"
230230 >
231231 { getBlueskyUsername (entry .data .bluesky_url )}
@@ -242,7 +242,7 @@ function getGitHosting(url: string): string | undefined {
242242 <br />
243243
244244 <h2
245- class =" relative font-title text-primary font-bold mb-[0.6em] [&>a]:border-0 [&>a]:text-inherit text-5xl"
245+ class =" relative font-heading text-white font-bold mb-[0.6em] [&>a]:border-0 [&>a]:text-inherit text-5xl"
246246 >
247247 Session{ sessions .length > 1 ? " s" : " " }
248248 </h2 >
@@ -251,7 +251,7 @@ function getGitHosting(url: string): string | undefined {
251251 sessions .map ((session ) => (
252252 <li class = " mb-2 text-xl leading-snug" >
253253 <a
254- class = " text-primary hover:text-primary-hover font-title underline font-semibold"
254+ class = " text-white/80 hover:text-accent underline font-semibold"
255255 href = { ` /session/${session .id } ` }
256256 >
257257 { session .data .title }
@@ -267,15 +267,15 @@ function getGitHosting(url: string): string | undefined {
267267 ))
268268 }
269269 </ul >
270- </Section >
270+ </Section2 >
271271</Layout >
272272
273273<style >
274274
275275dl,
276276dd, dt {
277277 font-size: 1.1rem;
278- color: var(--color-text);
278+ color: var(--color-text-primary-dark, rgba(255,255,255,0.93) );
279279}
280280
281281 </style >
0 commit comments