diff --git a/apps/web/components/Appbar.tsx b/apps/web/components/Appbar.tsx
index db35b7e..e1ed6af 100644
--- a/apps/web/components/Appbar.tsx
+++ b/apps/web/components/Appbar.tsx
@@ -1,5 +1,6 @@
"use client";
+import { useState, useEffect } from "react";
import { SignInButton, SignedIn, SignedOut, UserButton } from "@clerk/nextjs";
import { Button } from "./ui/button";
import { Credits } from "./navbar/Credits";
@@ -8,106 +9,141 @@ import { motion } from "framer-motion";
import { ThemeToggle } from "./ThemeToggle";
export function Appbar() {
+ const [isScrolled, setIsScrolled] = useState(false);
+
+ useEffect(() => {
+ const handleScroll = () => {
+ if (window.scrollY > 0) {
+ setIsScrolled(true);
+ } else {
+ setIsScrolled(false);
+ }
+ };
+
+ window.addEventListener("scroll", handleScroll);
+ return () => window.removeEventListener("scroll", handleScroll);
+ }, []);
+
return (
-
-
+
-
-
- {/* Logo */}
-
-
+
+
+
+
+
+
+ 100xPhoto
+
+
+
- {/* Auth & Pricing */}
-
-
-
-
-
-
-
-
+ {/* Auth & Pricing */}
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
-
-
-
+
+
+
);
}
diff --git a/apps/web/components/Footer.tsx b/apps/web/components/Footer.tsx
index 06a5f20..d26977c 100644
--- a/apps/web/components/Footer.tsx
+++ b/apps/web/components/Footer.tsx
@@ -3,12 +3,12 @@ import { Button } from "./ui/button";
export function Footer() {
return (
-