Merge version_2 into main #2

Merged
bender merged 2 commits from version_2 into main 2026-03-09 22:43:07 +00:00
2 changed files with 46 additions and 29 deletions

View File

@@ -1,40 +1,39 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Tag } from "@/components/ui/tag";
import { ServiceWrapper } from "@/providers/serviceWrapper/ServiceWrapper";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const metadata: Metadata = {
title: "Sports Cards Co | Buy & Sell Premium Sports Cards", description: "Your trusted marketplace for buying and selling sports cards including case hits, autographs, RPAs, and any card $5+. We specialize in authenticated collectibles."};
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Buy & Sell Sports Cards | Sports Cards Co", description: "We buy and sell premium sports cards including case hits, autographs, RPAs, and any card $5+. Authenticated collectibles with fast payouts.", keywords: "sports cards, buy cards, sell cards, case hits, autographs, RPA, trading cards", openGraph: {
title: "Buy & Sell Sports Cards | Sports Cards Co", description: "We buy and sell premium sports cards including case hits, autographs, RPAs, and any card $5+.", siteName: "Sports Cards Co", type: "website"},
twitter: {
card: "summary_large_image", title: "Buy & Sell Sports Cards", description: "Premium sports cards marketplace for case hits, autographs, and RPAs"},
};
export { metadata };
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
<head>
<Tag />
</head>
<body className="">
<ServiceWrapper>
{children}
</ServiceWrapper>
<script
dangerouslySetInnerHTML={{
__html: `
if (localStorage.getItem('theme') === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark')
} else {
document.documentElement.classList.remove('dark')
}
`,
}}
/>
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1402,7 +1401,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}

View File

@@ -6,7 +6,8 @@ import HeroBillboard from "@/components/sections/hero/HeroBillboard";
import FeatureBento from "@/components/sections/feature/FeatureBento";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Sparkles, CheckCircle, Zap, Award, Star, Coins, Instagram, Mail, Video } from "lucide-react";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import { Sparkles, CheckCircle, Zap, Award, Star, Coins, Instagram, Mail, Video, Camera } from "lucide-react";
export default function SportsCardsPage() {
return (
@@ -28,6 +29,7 @@ export default function SportsCardsPage() {
navItems={[
{ name: "Home", id: "hero" },
{ name: "We Buy", id: "features" },
{ name: "Gallery", id: "gallery" },
{ name: "Contact", id: "contact" },
]}
button={{ text: "Get in Touch", href: "contact" }}
@@ -76,6 +78,23 @@ export default function SportsCardsPage() {
/>
</div>
<div id="gallery" data-section="gallery">
<SocialProofOne
title="Example Sports Cards We Buy"
description="Check out some of the premium sports cards we acquire. Each card is carefully evaluated for authenticity and quality."
tag="Gallery"
tagIcon={Camera}
names={[
"Rookie Autographed Jersey", "Graded PSA 10 Vintage", "Modern Case Hit Gold", "Rare Insert Rookie Patch"]}
logos={[
"http://img.b2bpic.net/free-vector/basketball-poster-template-design_742173-32022.jpg", "http://img.b2bpic.net/free-vector/basketball-poster-template-design_742173-32022.jpg", "http://img.b2bpic.net/free-vector/basketball-poster-template-design_742173-32022.jpg", "http://img.b2bpic.net/free-vector/basketball-poster-template-design_742173-32022.jpg"]}
textboxLayout="default"
useInvertedBackground={false}
speed={40}
showCard={true}
/>
</div>
<div id="contact" data-section="contact">
<ContactSplit
tag="Get in Touch"