+
Ohjelmakartta
diff --git a/pages/index.tsx b/pages/index.tsx
index edb5bce..b62897f 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -7,15 +7,15 @@ 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 { Showlist } from 'components/showlist';
import Player from 'components/player';
import { fetchShowlist } from 'google/client';
@@ -33,8 +33,8 @@ interface IndexProps {
heroButtonText: string;
heroButtonLink: string;
navigationItems: NavigationItem[];
- showsByDate: Record
;
- weekKeys: Record;
+ // showsByDate: Record;
+ // weekKeys: Record;
firstDecorativeImage: {
url?: string;
width?: number;
@@ -63,18 +63,18 @@ const Index: NextPage = ({
heroButtonText,
heroButtonLink,
navigationItems,
- showsByDate,
- weekKeys,
- // firstDecorativeImage,
- // secondDecorativeImage,
- // firstContent,
- // secondContent,
- // thirdContent,
+ // showsByDate,
+ // weekKeys,
+ firstDecorativeImage,
+ secondDecorativeImage,
+ firstContent,
+ secondContent,
+ thirdContent,
sponsors,
- playing,
- onPlayPause,
- muted,
- onMute,
+ // playing,
+ // onPlayPause,
+ // muted,
+ // onMute,
}) => {
return (
@@ -97,7 +97,7 @@ const Index: NextPage
= ({
navigationItems={navigationItems}
isCompact={isPlayerLive}
/>
- {isPlayerLive && (
+ {/* {isPlayerLive && (
= ({
onMute={onMute}
showsByDate={showsByDate}
/>
- )}
+ )} */}
-
+ {/* */}
{/* First section */}
- {/*
+
= ({
- */}
+
{/* Second section */}
- {/*
{/* Third section */}
- {/*
+
@@ -149,7 +149,7 @@ const Index: NextPage = ({
alt=""
/>
-
*/}
+
@@ -176,7 +176,7 @@ export const getStaticProps: GetStaticProps = async () => {
const navigationItems = await fetchNavigationItems();
- const { showsByDate, weekKeys } = await fetchShowlist();
+ // const { showsByDate, weekKeys } = await fetchShowlist();
return {
props: {
@@ -186,8 +186,8 @@ export const getStaticProps: GetStaticProps = async () => {
heroButtonText,
heroButtonLink,
navigationItems,
- showsByDate,
- weekKeys,
+ // showsByDate,
+ // weekKeys,
firstDecorativeImage,
secondDecorativeImage,
firstContent,
diff --git a/tailwind.config.js b/tailwind.config.js
index f7fc65b..f93b439 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -19,6 +19,9 @@ module.exports = {
orange: {
DEFAULT: '#db8841',
},
+ orange: {
+ DEFAULT: '#db8841',
+ },
purple: {
light: '#58265d',
dark: '#9b3970',