summaryrefslogtreecommitdiff
path: root/apps/web/src/app/animation
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-08-15 02:12:16 +0200
committerMaze Winther <mazewinther@gmail.com>2025-08-15 02:12:16 +0200
commit7f91c9ca00cd51bea1cd1e97eeb3c58b7e7a1bae (patch)
tree25c6cddf67e3227d99c2c28f71496851962f1f45 /apps/web/src/app/animation
parent5e8a489a147c148b6495a6a25fb4dd9725e6fca6 (diff)
parentc3f3345d7b1ac820b411a5adbca3172378642953 (diff)
downloadopencut-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.tsx24
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>
+ );
+}