diff --git a/src/app/affiliation/page.tsx b/src/app/affiliation/page.tsx index 9b62ce0..36d3300 100644 --- a/src/app/affiliation/page.tsx +++ b/src/app/affiliation/page.tsx @@ -1,17 +1,14 @@ import { affiliations } from '@/app/db/data' +import cardEffects from '@/app/styles/cardEffects.module.css' import { Zilla_Slab } from 'next/font/google' import Image from 'next/image' +import Link from 'next/link' import { notFound } from 'next/navigation' import { Fragment } from 'react' import getAffiliations from './getAffiliations' const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500'] }) -export function generateStaticParams() { - const affiliationsList = Object.keys(affiliations) - return affiliationsList.map((shortName) => ({ shortName })) -} - const AffiliationCard = ({ params, }: Readonly<{ params: { shortName: string } }>) => { @@ -22,9 +19,12 @@ const AffiliationCard = ({ } return ( -