diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-08-15 02:12:16 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-08-15 02:12:16 +0200 |
| commit | 7f91c9ca00cd51bea1cd1e97eeb3c58b7e7a1bae (patch) | |
| tree | 25c6cddf67e3227d99c2c28f71496851962f1f45 /apps/web/src/app/animation | |
| parent | 5e8a489a147c148b6495a6a25fb4dd9725e6fca6 (diff) | |
| parent | c3f3345d7b1ac820b411a5adbca3172378642953 (diff) | |
| download | opencut-7f91c9ca00cd51bea1cd1e97eeb3c58b7e7a1bae.tar.gz | |
Merge branch 'staging' of https://github.com/mazeincoding/AppCut into staging
Diffstat (limited to 'apps/web/src/app/animation')
| -rw-r--r-- | apps/web/src/app/animation/page.tsx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/web/src/app/animation/page.tsx b/apps/web/src/app/animation/page.tsx new file mode 100644 index 00000000..37be1ef0 --- /dev/null +++ b/apps/web/src/app/animation/page.tsx @@ -0,0 +1,24 @@ +"use client"; + +import { InputWithBack } from "@/components/ui/input-with-back"; +import { useState } from "react"; + +export default function AnimationPage() { + const [isExpanded, setIsExpanded] = useState(false); + + return ( + <div className="h-dvh flex"> + <div className="bg-panel p-6 w-[20rem]"> + <InputWithBack isExpanded={isExpanded} setIsExpanded={setIsExpanded} /> + </div> + <div className="p-6 flex items-end justify-end"> + <p + onClick={() => setIsExpanded(!isExpanded)} + className="cursor-pointer hover:opacity-75 transition-opacity" + > + {isExpanded ? "Collapse" : "Expand"} + </p> + </div> + </div> + ); +} |
