From 243528962fa8662cafc2f2a23ad599c09137936d Mon Sep 17 00:00:00 2001 From: Aidan Date: Thu, 27 Mar 2025 22:42:37 -0400 Subject: [PATCH] chore: framer-motion -> motion, tweaks --- app/account/dashboard/ai/page.tsx | 2 +- app/account/dashboard/downloads/page.tsx | 2 +- app/account/dashboard/exchange/page.tsx | 2 +- app/account/dashboard/page.tsx | 2 +- app/account/dashboard/settings/page.tsx | 2 +- app/account/dashboard/statistics/page.tsx | 2 +- app/account/dashboard/support/page.tsx | 2 +- app/account/dashboard/upgrades/page.tsx | 2 +- app/account/signup/page.tsx | 2 +- app/account/signup/success/page.tsx | 2 +- components/pages/main/AnimatedIcon.tsx | 2 +- components/pages/main/FeatureCard.tsx | 2 +- components/pages/main/Pricing.tsx | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/account/dashboard/ai/page.tsx b/app/account/dashboard/ai/page.tsx index a38f5e5..873b5ad 100644 --- a/app/account/dashboard/ai/page.tsx +++ b/app/account/dashboard/ai/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { motion } from "framer-motion" +import { motion } from "motion/react" import { SideMenu } from "@/components/pages/dashboard/SideMenu" import { Sparkles } from "lucide-react"; diff --git a/app/account/dashboard/downloads/page.tsx b/app/account/dashboard/downloads/page.tsx index 063efaf..23dccdb 100644 --- a/app/account/dashboard/downloads/page.tsx +++ b/app/account/dashboard/downloads/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { motion } from "framer-motion" +import { motion } from "motion/react" import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { HomeTab } from "@/components/pages/dashboard/downloads/HomeTab" import { EmailTab } from "@/components/pages/dashboard/downloads/EmailTab" diff --git a/app/account/dashboard/exchange/page.tsx b/app/account/dashboard/exchange/page.tsx index 3a9f200..c6f2723 100644 --- a/app/account/dashboard/exchange/page.tsx +++ b/app/account/dashboard/exchange/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { motion } from "framer-motion" +import { motion } from "motion/react" import { SideMenu } from "@/components/pages/dashboard/SideMenu" import { BadgeDollarSign } from "lucide-react" diff --git a/app/account/dashboard/page.tsx b/app/account/dashboard/page.tsx index bf770ff..aab027b 100644 --- a/app/account/dashboard/page.tsx +++ b/app/account/dashboard/page.tsx @@ -1,7 +1,7 @@ "use client" import { useState, useEffect } from "react" -import { motion } from "framer-motion" +import { motion } from "motion/react" import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { OverviewTab } from "@/components/pages/dashboard/OverviewTab" import { SecurityTab } from "@/components/pages/dashboard/SecurityTab" diff --git a/app/account/dashboard/settings/page.tsx b/app/account/dashboard/settings/page.tsx index c3715d7..bc935c9 100644 --- a/app/account/dashboard/settings/page.tsx +++ b/app/account/dashboard/settings/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { motion } from "framer-motion" +import { motion } from "motion/react" import { SideMenu } from "@/components/pages/dashboard/SideMenu" import { Switch } from "@/components/ui/switch" import { Label } from "@/components/ui/label" diff --git a/app/account/dashboard/statistics/page.tsx b/app/account/dashboard/statistics/page.tsx index 609b2c9..7132c98 100644 --- a/app/account/dashboard/statistics/page.tsx +++ b/app/account/dashboard/statistics/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { motion } from "framer-motion" +import { motion } from "motion/react" import { SideMenu } from "@/components/pages/dashboard/SideMenu" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Separator } from "@/components/ui/separator"; diff --git a/app/account/dashboard/support/page.tsx b/app/account/dashboard/support/page.tsx index 3433449..161d76c 100644 --- a/app/account/dashboard/support/page.tsx +++ b/app/account/dashboard/support/page.tsx @@ -1,6 +1,6 @@ "use client" -import { motion } from "framer-motion" +import { motion } from "motion/react" import { SideMenu } from "@/components/pages/dashboard/SideMenu" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { Input } from "@/components/ui/input" diff --git a/app/account/dashboard/upgrades/page.tsx b/app/account/dashboard/upgrades/page.tsx index 90032dc..32b8bf5 100644 --- a/app/account/dashboard/upgrades/page.tsx +++ b/app/account/dashboard/upgrades/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { motion } from "framer-motion" +import { motion } from "motion/react" import { SideMenu } from "@/components/pages/dashboard/SideMenu" const fadeIn = { diff --git a/app/account/signup/page.tsx b/app/account/signup/page.tsx index 0da18af..60124a7 100644 --- a/app/account/signup/page.tsx +++ b/app/account/signup/page.tsx @@ -9,7 +9,7 @@ import { Label } from "@/components/ui/label" import { Button } from "@/components/ui/button" import { Switch } from "@/components/ui/switch" import Link from "next/link" -import { motion, AnimatePresence } from "framer-motion" +import { motion, AnimatePresence } from "motion/react" import { UserPlus, UserCog, Heart, AlertCircle, CheckCircle2, Mail, Lock, User, Bot, Loader, ArrowLeft } from "lucide-react" import { useRouter } from "next/navigation" import { validateEmail, validatePassword } from "@/lib/utils" diff --git a/app/account/signup/success/page.tsx b/app/account/signup/success/page.tsx index 0ca80bf..1ad52d4 100644 --- a/app/account/signup/success/page.tsx +++ b/app/account/signup/success/page.tsx @@ -1,6 +1,6 @@ "use client" -import { motion } from "framer-motion" +import { motion } from "motion/react" import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card" import { Button } from "@/components/ui/button" import { ExternalLink, Mail, Sparkles, Lock, BadgeCheck, CircleArrowRight } from "lucide-react" diff --git a/components/pages/main/AnimatedIcon.tsx b/components/pages/main/AnimatedIcon.tsx index a564c2b..c8d5995 100644 --- a/components/pages/main/AnimatedIcon.tsx +++ b/components/pages/main/AnimatedIcon.tsx @@ -1,7 +1,7 @@ "use client" -import { motion } from "framer-motion" import React from "react" +import { motion } from "motion/react" import { Mail, Lock, Disc3, Headset } from "lucide-react" import { SiGitea, SiAuthentik } from "react-icons/si" diff --git a/components/pages/main/FeatureCard.tsx b/components/pages/main/FeatureCard.tsx index f107713..694bedf 100644 --- a/components/pages/main/FeatureCard.tsx +++ b/components/pages/main/FeatureCard.tsx @@ -2,7 +2,7 @@ import React from "react" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" -import { motion } from "framer-motion" +import { motion } from "motion/react" import AnimatedIcon from "./AnimatedIcon" interface FeatureCardProps { diff --git a/components/pages/main/Pricing.tsx b/components/pages/main/Pricing.tsx index f41125a..73e16c5 100644 --- a/components/pages/main/Pricing.tsx +++ b/components/pages/main/Pricing.tsx @@ -6,7 +6,7 @@ import { Separator } from "@/components/ui/separator" import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" import Link from "next/link" -import { motion, HTMLMotionProps } from "framer-motion" +import { motion } from "motion/react" interface PricingFeatures { everything: string[]