Skip to content

Commit

Permalink
Hide off season content
Browse files Browse the repository at this point in the history
  • Loading branch information
niemisami committed Oct 23, 2023
1 parent a9801a8 commit 83319ef
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import {
NavigationItem,
Show,
} from 'contentful/client';
import { contentfulImageLoader } from 'contentful/contentfulImageLoader';
import RichText from 'components/richtext';
// import { contentfulImageLoader } from 'contentful/contentfulImageLoader';
// import RichText from 'components/richtext';
import Hero from 'components/hero';
import { IndexDocument, IndexQuery } from 'contentful/graphql/index.graphql';
import Footer from 'components/footer';
import Image from 'next/image';
import Calendar from 'components/calendar';
// import Image from 'next/image';
// import Calendar from 'components/calendar';
import Sponsors, { ISponsorData } from 'components/sponsors';
import { Showlist } from 'components/showlist';
// import Player from 'components/player';
Expand Down Expand Up @@ -65,11 +65,11 @@ const Index: NextPage<IndexProps & PlayerControls> = ({
navigationItems,
showsByDate,
weekKeys,
firstDecorativeImage,
secondDecorativeImage,
firstContent,
secondContent,
thirdContent,
// firstDecorativeImage,
// secondDecorativeImage,
// firstContent,
// secondContent,
// thirdContent,
sponsors,
// playing,
// onPlayPause,
Expand Down Expand Up @@ -104,7 +104,7 @@ const Index: NextPage<IndexProps & PlayerControls> = ({
<Showlist showsByDate={showsByDate} weekKeys={weekKeys} />

{/* First section */}
<main className="flex flex-wrap-reverse items-center justify-center py-4 md:py-8">
{/* <main className="flex flex-wrap-reverse items-center justify-center py-4 md:py-8">
<div className="relative m-10 h-48 w-128 max-w-full md:m-8 md:h-96">
<Image
src={firstDecorativeImage.url}
Expand All @@ -118,18 +118,18 @@ const Index: NextPage<IndexProps & PlayerControls> = ({
<section className="m-4 w-128 max-w-full text-lg text-white md:m-8">
<RichText content={firstContent} />
</section>
</main>
</main> */}

{/* Second section */}
<div className="min-h-32 flex w-full flex-wrap items-center justify-center bg-purple-darkest py-4 md:py-8">
{/* <div className="min-h-32 flex w-full flex-wrap items-center justify-center bg-purple-darkest py-4 md:py-8">
<section className="m-4 w-128 max-w-full text-base text-white md:m-8">
<RichText content={secondContent} />
</section>
<Calendar />
</div>
</div> */}

{/* Third section */}
<div className="flex flex-wrap items-center justify-center py-4 md:py-8">
{/* <div className="flex flex-wrap items-center justify-center py-4 md:py-8">
<section className="m-4 w-128 max-w-full text-base text-white md:m-8">
<RichText content={thirdContent} />
</section>
Expand All @@ -143,7 +143,7 @@ const Index: NextPage<IndexProps & PlayerControls> = ({
alt=""
/>
</div>
</div>
</div> */}
<Sponsors sponsors={sponsors} />
<Footer navigationItems={navigationItems} />
</div>
Expand Down

0 comments on commit 83319ef

Please sign in to comment.