Hibernate page until the next year
This commit is contained in:
5
data/performers/2024.ts
Normal file
5
data/performers/2024.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
import type Performer from '../../types/Performer';
|
||||||
|
|
||||||
|
const Performers: Array<Performer> = [];
|
||||||
|
|
||||||
|
export default Performers;
|
||||||
@@ -12,12 +12,12 @@ function Runosaari({ Component, pageProps }: AppProps) {
|
|||||||
<Head>
|
<Head>
|
||||||
<title>Runosaari</title>
|
<title>Runosaari</title>
|
||||||
</Head>
|
</Head>
|
||||||
<NavBar />
|
{/* <NavBar /> */}
|
||||||
<Logo />
|
<Logo />
|
||||||
<main>
|
<main>
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
</main>
|
</main>
|
||||||
<NavBar />
|
{/* <NavBar /> */}
|
||||||
<Footer />
|
<Footer />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -5,18 +5,24 @@ import Info from './info';
|
|||||||
import styles from '../styles/Index.module.scss';
|
import styles from '../styles/Index.module.scss';
|
||||||
import Lead from './components/Lead';
|
import Lead from './components/Lead';
|
||||||
import Collaboration from './components/Collaboration';
|
import Collaboration from './components/Collaboration';
|
||||||
|
import Workshops from './workshops';
|
||||||
// import Workshops from './workshops';
|
// import Workshops from './workshops';
|
||||||
|
|
||||||
const Home: NextPage = () => {
|
const Home: NextPage = () => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.indexContainer}>
|
<div className={styles.indexContainer}>
|
||||||
<h1>Runosaari 2023</h1>
|
<h1>Runosaari kiittää!</h1>
|
||||||
|
<h2>
|
||||||
|
Tervetuloa seuraavaan Runosaareen <span>13.—15.6.2024</span>
|
||||||
|
</h2>
|
||||||
|
{/* Pages hidden until next year
|
||||||
<Lead />
|
<Lead />
|
||||||
<Performers />
|
<Performers />
|
||||||
<Program />
|
<Program />
|
||||||
{/* <Workshops /> // No workshops on 2023 */}
|
<Workshops />
|
||||||
<Info />
|
<Info />
|
||||||
<Collaboration />
|
<Collaboration />
|
||||||
|
*/}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import styles from '../styles/Performers.module.scss';
|
|||||||
import shared from '../styles/Shared.module.scss';
|
import shared from '../styles/Shared.module.scss';
|
||||||
import Performer from '../types/Performer';
|
import Performer from '../types/Performer';
|
||||||
import { BiChevronDown, BiChevronLeft } from 'react-icons/bi';
|
import { BiChevronDown, BiChevronLeft } from 'react-icons/bi';
|
||||||
import PerformersData from '../data/performers/2023';
|
import PerformersData from '../data/performers/2024';
|
||||||
import { CSSTransition } from 'react-transition-group';
|
import { CSSTransition } from 'react-transition-group';
|
||||||
|
|
||||||
interface PerformerCard extends Performer {
|
interface PerformerCard extends Performer {
|
||||||
@@ -88,8 +88,6 @@ const Performers = () => {
|
|||||||
) : (
|
) : (
|
||||||
<i>Lisätietoja tulossa myöhemmin...</i>
|
<i>Lisätietoja tulossa myöhemmin...</i>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<i style={{ marginTop: '3rem' }}>Esiintyjälistaa päivitetään...</i>
|
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,4 +6,12 @@
|
|||||||
width: 47rem;
|
width: 47rem;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin-bottom: 4rem;
|
margin-bottom: 4rem;
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
|
||||||
|
span {
|
||||||
|
font-size: 3rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
|
|||||||
Reference in New Issue
Block a user