ajout de composants pour li'nterface admin

This commit is contained in:
2023-02-12 13:05:56 +01:00
parent 97c95f145c
commit 4e807430d1
11 changed files with 319 additions and 32 deletions

View File

@@ -0,0 +1,10 @@
import { useRouter } from 'next/router';
import React from 'react'
import Avis from '../../components/Avis';
export default function AvisPage() {
const router = useRouter();
const {id} = router.query;
return (
<Avis age={20} sex={"f"} text={"dfjlkmksgflkgsjmdf"} grade={9} date={"2023-10-12 12:34"} gradeOther={[{title: "Propreté", grade: 8},{title: "Lorem ipsum", grade: 8}]}/>
)
}