Generateurv2/frontend/components/room/HomePage.jsx

26 lines
783 B
React
Raw Normal View History

2022-06-11 23:39:03 +02:00
import Link from "next/link";
import Layout from "../../components/Layout.js";
2022-06-24 13:42:16 +02:00
import styles from "../../styles/Home.module.scss";
import { AiOutlineArrowRight } from "react-icons/ai";
2022-06-11 23:39:03 +02:00
export default function RoomHome() {
return (
2022-06-24 13:42:16 +02:00
<Layout page={"Salles"}>
<h1 className={styles.title}>Salles</h1>
<div className={styles["btn-container"]}>
<Link href="/room/join">
<a className={styles.btn + " exo-btn"}>
Rejoindre <AiOutlineArrowRight className={styles.icon} />
</a>
</Link>
<Link href="/room/create" className={styles.link}>
<a className={styles.btn + " exo-btn"}>
Creer <AiOutlineArrowRight className={styles.icon} />
</a>
</Link>
</div>
2022-06-11 23:39:03 +02:00
</Layout>
);
}