From f276af51f8cea1ae4264fc791ea1b51e323828bd Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 21 Oct 2024 17:46:54 +0800 Subject: [PATCH] apps/web: add /feat1 page --- apps/web/app/feat1/page.tsx | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 apps/web/app/feat1/page.tsx diff --git a/apps/web/app/feat1/page.tsx b/apps/web/app/feat1/page.tsx new file mode 100644 index 0000000..ba3d649 --- /dev/null +++ b/apps/web/app/feat1/page.tsx @@ -0,0 +1,30 @@ +"use client"; + +import { useState } from "react"; + +function ToggleContent({ children }: { children?: React.ReactNode }) { + const [show, setShow] = useState(false); + return ( +
+ + {show ? children : null} +
+ ); +} + +export default function Page() { + return ( + <> +

Feat 1

+ + +

+ Lorem, ipsum dolor sit amet consectetur adipisicing elit. Dolorem, + voluptatem mollitia suscipit odio eos fugiat eum in molestias itaque + ex magni fuga deleniti dolores. Accusamus blanditiis reiciendis ab + quibusdam saepe. +

+
+ + ); +}