stand2026_10_06
This commit is contained in:
1 parent
41f80ce947
commit
266f8c3b4f
199 files changed
+17061
-87
No files matched your search
@@ -0,0 +1,39 @@
|
||||
import { VisuElementsProvider } from "@/_context/visu/VisuElementsProvider";
|
||||
import { api_drawData } from "@/actions/draw/api-draw";
|
||||
import { drawGetSvg } from "@/actions/rk/api-draw";
|
||||
import { api_VisuElementsAll } from "@/actions/rk/api-visuElements";
|
||||
import { Card, CardContent, CardHeader } from "@/components/ui/card";
|
||||
import { SvgShow } from "@/components/visu/draw/svgShow";
|
||||
import VisuContent from "@/components/visu/visuContent";
|
||||
|
||||
export default async function PageShowDraw() {
|
||||
|
||||
const data = await api_drawData();
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<div className="bg-gray-200">
|
||||
<svg
|
||||
width="180%"
|
||||
height="180%"
|
||||
viewBox={`${0} ${0} ${1820} ${1120}`}
|
||||
>
|
||||
<rect x1={1} y1={0} width={1750} height={1500} fill="#fee0fe" stroke="#000" strokeWidth={1} />
|
||||
|
||||
<SvgShow svg={data.svg} />
|
||||
|
||||
</svg>
|
||||
|
||||
{true &&
|
||||
<Card positons={"start"}>
|
||||
<CardHeader variant={"danger"} >Debug</CardHeader>
|
||||
<CardContent className="ps-8">
|
||||
<pre>{JSON.stringify(data, null, 2)}</pre>
|
||||
|
||||
</CardContent>
|
||||
</Card>
|
||||
}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user