Skip to content

Instantly share code, notes, and snippets.

View adhithiravi's full-sized avatar
🎯
Focusing

Adhithi Ravichandran adhithiravi

🎯
Focusing
View GitHub Profile
@adhithiravi
adhithiravi / page.tsx
Created June 26, 2024 15:17
Speaker information
export default async function Speaker({
params: { slug },
}: {
params: { slug: string };
}) {
const speakerInfo = await getSpeakerInfo(slug);
const { name, bio, id, sessions }: SpeakerWithSessions = speakerInfo;
return (
<section key={id} className={styles.infoContainer}>