From ec3081fa10eaa2e1a74553e5909c139f30bc354a Mon Sep 17 00:00:00 2001 From: Ananth Venkatesh <46249765+quantum9Innovation@users.noreply.github.com> Date: Mon, 19 Feb 2024 13:31:31 -0800 Subject: [PATCH] chore: update styling and add link to affiliation page (#13) Co-authored-by: quantum9Innovation Co-authored-by: Youwen Wu <38934577+couscousdude@users.noreply.github.com> Co-authored-by: couscousdude Co-authored-by: Team 1280 Programming Laptop <59985235+Team1280Programming@users.noreply.github.com> Co-authored-by: Team 1280 Programming Co-authored-by: Team1280Programming --- src/app/affiliation/page.tsx | 16 ++++++++-------- src/app/page.tsx | 9 ++++++++- 2 files changed, 16 insertions(+), 9 deletions(-) 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 ( -
+
-
+
profile
{name}
-
+ ) } diff --git a/src/app/page.tsx b/src/app/page.tsx index 661481d..5f9720b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -88,7 +88,14 @@ export default function Home() { channels. Read more about us here. eeXiv can be accessed from its primary domain at{' '} eexiv.org or at our mirror at{' '} - eexiv.vercel.app. + eexiv.vercel.app. If this is your + first time here, check out the following pages in the eeXiv knowledge + base: +
    +
  • + Author affiliations +
  • +