import { GetStaticProps } from "next"; import React from "react"; import { Image } from "@/components/Image"; import { MiniTechTalkCard } from "@/components/MiniTechTalkCard"; import { getTechTalks, Metadata } from "@/lib/tech-talks"; import styles from "./tech-talks.module.css"; interface Props { talks: Metadata[]; } export default function TechTalks({ talks }: Props) { return (
{talks.map((talk) => ( ))}
); } export function Header() { return (

Tech Talks

These are the audio and video recordings of past CSC and other university-related talks. Our public events can also be found on our YouTube channel.

); } export const getStaticProps: GetStaticProps = async () => { return { props: { talks: (await getTechTalks()).map(({ metadata }) => metadata) }, }; };