Update program title styling
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { FiExternalLink } from 'react-icons/fi';
|
import { FiExternalLink } from 'react-icons/fi';
|
||||||
import shared from '../styles/Shared.module.scss';
|
import shared from '../styles/Shared.module.scss';
|
||||||
import program from '../styles/Program.module.scss';
|
import styles from '../styles/Program.module.scss';
|
||||||
|
|
||||||
interface DayToggles {
|
interface DayToggles {
|
||||||
wed: boolean;
|
wed: boolean;
|
||||||
@@ -30,25 +30,37 @@ const Program = () => {
|
|||||||
<section className={shared.page}>
|
<section className={shared.page}>
|
||||||
<h1 id='program-start'>Ohjelma</h1>
|
<h1 id='program-start'>Ohjelma</h1>
|
||||||
|
|
||||||
<h2>
|
<h2 className={styles.programTitle}>
|
||||||
20.7. Laituri{' '}
|
<div>20.7.</div>
|
||||||
<a href='https://www.cafelaituri.fi'>
|
<div>
|
||||||
<FiExternalLink fontSize={20} />
|
<span className={styles.placeName}>Laituri</span>
|
||||||
</a>
|
<a href='https://www.cafelaituri.fi'>
|
||||||
|
<FiExternalLink fontSize={20} />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div />
|
||||||
</h2>
|
</h2>
|
||||||
<p>Café Laituri, Voiponlahdentie 37, Palva</p>
|
<p>Café Laituri, Voiponlahdentie 37, Palva</p>
|
||||||
<h2>
|
<h2 className={styles.programTitle}>
|
||||||
21.7. Vaihela{' '}
|
<div>21.7.</div>
|
||||||
<a href='https://vaihela.fi/'>
|
<div>
|
||||||
<FiExternalLink fontSize={20} />
|
<span className={styles.placeName}>Vaihela</span>
|
||||||
</a>
|
<a href='https://vaihela.fi/'>
|
||||||
|
<FiExternalLink fontSize={20} />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div />
|
||||||
</h2>
|
</h2>
|
||||||
<p>Saaristohotelli Vaihela, Velkuanmaantie 168, Palva</p>
|
<p>Saaristohotelli Vaihela, Velkuanmaantie 168, Palva</p>
|
||||||
<h2>
|
<h2 className={styles.programTitle}>
|
||||||
22.7. Sinervo{' '}
|
<div>22.7.</div>
|
||||||
<a href='https://www.prosinervo.com/'>
|
<div>
|
||||||
<FiExternalLink fontSize={20} />
|
<span className={styles.placeName}>Sinervo</span>
|
||||||
</a>
|
<a href='https://www.prosinervo.com/'>
|
||||||
|
<FiExternalLink fontSize={20} />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div />
|
||||||
</h2>
|
</h2>
|
||||||
<p style={{ marginBottom: 50 }}>
|
<p style={{ marginBottom: 50 }}>
|
||||||
Sinervon talo, Sauniementie 5, Teersalo
|
Sinervon talo, Sauniementie 5, Teersalo
|
||||||
|
|||||||
@@ -21,9 +21,10 @@
|
|||||||
|
|
||||||
.programTitle {
|
.programTitle {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: baseline;
|
||||||
justify-content: space-between;
|
justify-content: space-evenly;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
max-width: 25rem;
|
||||||
padding-left: 1.5rem;
|
padding-left: 1.5rem;
|
||||||
padding-right: 1.5rem;
|
padding-right: 1.5rem;
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
@@ -38,3 +39,8 @@
|
|||||||
transition: color 0.3s;
|
transition: color 0.3s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.placeName {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user