forked from www/www-new
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
312 B
11 lines
312 B
import { GetStaticProps } from "next";
|
|
|
|
import { getCurrentTerm, getEventsPageProps } from "@/lib/events";
|
|
|
|
import Term, { Props } from "./[year]/[term]";
|
|
|
|
export default Term;
|
|
|
|
export const getStaticProps: GetStaticProps<Props> = async () => {
|
|
return { props: await getEventsPageProps(getCurrentTerm()) };
|
|
};
|
|
|