diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 602d3d1..0ca2b57 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @next/next/no-img-element */ import { GetStaticProps } from "next"; import { Submission } from "../../types"; import submissions from "../../public/submissions.json"; @@ -15,11 +16,15 @@ export const getStaticProps: GetStaticProps = async () => { }; const Home: React.FC = ({ submissions }) => { + const assetPrefix = "/hackathon-tpac-2024"; // redundant path is workaround for gh pages to display images and submission routes correctly return (
{/* Hero Section */}
- Hackathon icon + Hackathon icon

TPAC Hackathon 2024

Join fellow W3C attendees for a fun and fast-paced HTML/CSS challenge! @@ -63,17 +68,17 @@ const Home: React.FC = ({ submissions }) => { {submissions.map(submission => (

{`${submission.title}

{submission.title}

by {submission.author}

View icon @@ -166,11 +171,11 @@ const Home: React.FC = ({ submissions }) => { providing snacks, drinks, and prizes!

- Adobe - Google - Holopin - Mozilla - W3C + Adobe + Google + Holopin + Mozilla + W3C