Import repositories from gitlab
This commit is contained in:
15
next/components/empty/index.jsx
Normal file
15
next/components/empty/index.jsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import Button from "../button";
|
||||
import styles from "./style.module.scss";
|
||||
|
||||
export default function Empty({message, ...props}) {
|
||||
return <section className={styles.empty}>
|
||||
<h2 {...props}>{message ?? "Il n'y a rien ici."}</h2>
|
||||
<Button
|
||||
as="a"
|
||||
type="secondary"
|
||||
href="/"
|
||||
>
|
||||
Retour à la page d'accueil
|
||||
</Button>
|
||||
</section>
|
||||
}
|
||||
Reference in New Issue
Block a user