diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index bb40680..dcb26c9 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -1,4 +1,3 @@ -import { Layout } from "@/components/layout/Layout"; import { Github, Linkedin, @@ -121,7 +120,7 @@ export default function About() { ]; return ( - + <> {/* Hero */}
@@ -374,6 +373,6 @@ export default function About() {
-
+ ); } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5f84625..013e6c4 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,7 @@ import type { Metadata } from "next"; import "./globals.css"; +import { Navbar } from "@/components/layout/Navbar"; +import { Footer } from "@/components/layout/Footer"; export const metadata: Metadata = { title: "Selimaj.dev", @@ -13,7 +15,13 @@ export default function RootLayout({ }>) { return ( - {children} + +
+ +
{children}
+
+ ); } diff --git a/src/app/page.tsx b/src/app/page.tsx index 7bff87c..27944e3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,3 @@ -import { Layout } from "@/components/layout/Layout"; import { HeroSection } from "@/components/home/HeroSection"; import { ProjectsSection } from "@/components/home/ProjectsSection"; import { SkillsSection } from "@/components/home/SkillsSection"; @@ -6,11 +5,11 @@ import { CTASection } from "@/components/home/CTASection"; export default function Home() { return ( - + <> - + ); } diff --git a/src/app/pricing/page.tsx b/src/app/pricing/page.tsx index aa83145..9c247c0 100644 --- a/src/app/pricing/page.tsx +++ b/src/app/pricing/page.tsx @@ -1,8 +1,8 @@ "use client"; -import { Layout } from "@/components/layout/Layout"; import { Check, ArrowRight, Zap, Crown, Rocket } from "lucide-react"; import { useState } from "react"; +import { motion } from "framer-motion"; const plans = [ { @@ -95,11 +95,47 @@ const services = [ }, ]; +const pageVariants = { + hidden: { opacity: 0 }, + visible: { + opacity: 1, + transition: { + when: "beforeChildren", + staggerChildren: 0.08, + }, + }, +}; + +const sectionVariants = { + hidden: { opacity: 0, y: 24 }, + visible: { + opacity: 1, + y: 0, + transition: { + duration: 0.6, + ease: [0.22, 1, 0.36, 1], // premium ease + }, + }, +}; + +const cardVariants = { + hidden: { opacity: 0, y: 20, scale: 0.98 }, + visible: { + opacity: 1, + y: 0, + scale: 1, + transition: { + duration: 0.45, + ease: "easeOut", + }, + }, +}; + export default function Pricing() { const [hoveredPlan, setHoveredPlan] = useState(null); return ( - + <> {/* Hero */}
@@ -189,17 +225,34 @@ export default function Pricing() { ))} - {plan.cta} - - + + + + +
))} @@ -263,6 +316,6 @@ export default function Pricing() {
-
+ ); } diff --git a/src/components/layout/Layout.tsx b/src/components/layout/Layout.tsx deleted file mode 100644 index 3f5bbdf..0000000 --- a/src/components/layout/Layout.tsx +++ /dev/null @@ -1,19 +0,0 @@ -"use client"; - -import { ReactNode } from "react"; -import { Footer } from "./Footer"; -import { Navbar } from "./Navbar"; - -interface LayoutProps { - children: ReactNode; -} - -export function Layout({ children }: LayoutProps) { - return ( -
- -
{children}
-
- ); -}