Open hours to separate component

This commit is contained in:
2022-11-05 19:50:19 +02:00
parent dc0e77036e
commit 8aea619349
4 changed files with 37 additions and 25 deletions

15
components/OpenHours.tsx Normal file
View File

@@ -0,0 +1,15 @@
import React from 'react';
import styles from '../styles/OpenHours.module.scss';
export const OpenHours = () => {
return (
<>
<h2 className={styles.openHoursTitle}>Auki:</h2>
<p className={styles.openHoursText}>ma-la 12:00-19:00</p>
<p className={styles.openHoursDesc}>
kysynnän ja sään salliessa myös pidempään
</p>
<h2 className={styles.openHoursTitle}>Tervetuloa!</h2>
</>
);
};