diff --git a/app/(main)/layout.tsx b/app/(main)/layout.tsx index f3cdcea..7aafaa2 100644 --- a/app/(main)/layout.tsx +++ b/app/(main)/layout.tsx @@ -15,7 +15,7 @@ export default function HomeLayout({ children: React.ReactNode; }>) { return ( -
+
{children}
diff --git a/app/(main)/page.tsx b/app/(main)/page.tsx index e51bd77..7f81236 100644 --- a/app/(main)/page.tsx +++ b/app/(main)/page.tsx @@ -1,22 +1,20 @@ import Hero from "@/components/landing-page/Hero"; -import TrendingCollections from '@/components/landing-page/trending-collections'; -import TrendingNft from '@/components/landing-page/trending-nft' -import YouMayAlsoLike from '@/components/landing-page/you-may-also-like' -import Newsletter from '@/components/newsletter'; -import LiveAuction from '@/components/landing-page/live-auction' - - +import TrendingCollections from "@/components/landing-page/trending-collections"; +import TrendingNft from "@/components/landing-page/trending-nft"; +import YouMayAlsoLike from "@/components/landing-page/you-may-also-like"; +import Newsletter from "@/components/newsletter"; +import LiveAuction from "@/components/landing-page/live-auction"; export default function Home() { return (
-
+
- - - - - + + + + +
); diff --git a/components/landing-page/Footer.tsx b/components/landing-page/Footer.tsx index dd67518..7ab583b 100644 --- a/components/landing-page/Footer.tsx +++ b/components/landing-page/Footer.tsx @@ -5,7 +5,7 @@ import * as z from "zod"; import Link from "next/link"; import Image from "next/image"; import { motion } from "framer-motion"; -import { links, socialLinks } from "@/constants/footer"; +import { links, socialLinks, mobileLinks } from "@/constants/footer"; const formSchema = z.object({ email: z.string().email("Please enter a valid email address"), @@ -28,6 +28,12 @@ export default function Footer() { const getLinks = (category: keyof typeof links) => links[category] || []; const linkKeys = Object.keys(links) as (keyof typeof links)[]; + + const getMobileLinks = (category: keyof typeof mobileLinks) => + mobileLinks[category] || []; + const mobileLinkKeys = Object.keys( + mobileLinks + ) as (keyof typeof mobileLinks)[]; const currentYear = new Date().getFullYear(); const containerVariants = { @@ -49,9 +55,9 @@ export default function Footer() { }; return ( -