test tableau

This commit is contained in:
Victor
2024-03-27 16:33:24 +01:00
8 changed files with 166 additions and 31 deletions

View File

@@ -1,9 +1,11 @@
import React from "react";
import { useAuth } from "../hooks";
import { DatePicker } from "antd";
import { FormCreateItem } from "../components/form/formCreateItem";
import { FormCreateRoom } from "../components/form/formCreateRoom";
import { ItemPage } from "../components/item/ItemPage";
export const Home = () => {
const { user } = useAuth();
return (
@@ -11,23 +13,9 @@ export const Home = () => {
<h1>Home page</h1>
{user && <h2>Hello {user.user.username}</h2>}
<ItemPage items={
[
{
brandName:"GlubGlub GabGalab"
},{
brandName:"GlubGlub GabGalab2"
},{
brandName:"GlubGlub GabGalab"
},{
brandName:"GlubGlub GabGalab2"
},{
brandName:"GlubGlub GabGalab"
},{
brandName:"GlubGlub GabGalab2"
}
]
}></ItemPage>
<FormCreateRoom></FormCreateRoom>
<FormCreateItem></FormCreateItem>
</div>
);
};