diff --git a/frontend/app/signin/forgot-password-modal.tsx b/frontend/app/signin/forgot-password-modal.tsx index 5275b91..7a2e20a 100644 --- a/frontend/app/signin/forgot-password-modal.tsx +++ b/frontend/app/signin/forgot-password-modal.tsx @@ -18,7 +18,7 @@ export default function ForgotPasswordModal() {
- diff --git a/frontend/app/signin/page.tsx b/frontend/app/signin/page.tsx index 70d9d03..c831f87 100644 --- a/frontend/app/signin/page.tsx +++ b/frontend/app/signin/page.tsx @@ -1,6 +1,7 @@ import { Input } from "@/components/ui/input"; import { Button } from "@/components/ui/button"; import ForgotPasswordModal from "./forgot-password-modal"; +import WaterDrop from "./waterdrop"; import Link from "next/link"; import Image from "next/image"; @@ -8,9 +9,26 @@ import Image from "next/image"; export default function Signin() { return (
-
-
-
+
+
+
+ Water Pot +
+ +
+
+ +
+
+
+
+ +
{/* login box */}
@@ -57,7 +75,7 @@ export default function Signin() {
- +
diff --git a/frontend/app/signin/waterdrop.tsx b/frontend/app/signin/waterdrop.tsx new file mode 100644 index 0000000..b06bb2f --- /dev/null +++ b/frontend/app/signin/waterdrop.tsx @@ -0,0 +1,12 @@ +import React from "react"; + +const WaterDrop = () => { + return ( +
+ {/* Water Drop animation */} +
+
+ ); +}; + +export default WaterDrop; diff --git a/frontend/public/water-pot.png b/frontend/public/water-pot.png new file mode 100644 index 0000000..71f4db5 Binary files /dev/null and b/frontend/public/water-pot.png differ diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts index 18e8cd5..a73d96a 100644 --- a/frontend/tailwind.config.ts +++ b/frontend/tailwind.config.ts @@ -56,6 +56,25 @@ export default { md: "calc(var(--radius) - 2px)", sm: "calc(var(--radius) - 4px)", }, + keyframes: { + dropAnimation: { + "0%": { + transform: "translateY(-50px)", + borderRadius: "50%", + width: "1.5rem", + height: "1.5rem", + }, + "100%": { + transform: "translateY(100vh)", + borderRadius: "50% 50% 50% 50%", + width: "1rem", + height: "2rem", + }, + }, + }, + animation: { + drop: "dropAnimation 2s ease-in-out infinite", + }, }, }, plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],