3 Commits

Author SHA1 Message Date
7718acda3f Merge version_2_1783120246366 into main
Merge version_2_1783120246366 into main
2026-07-03 23:12:19 +00:00
kudinDmitriyUp
171aca6db9 Bob AI (stub): Add a new page called "Shop". On this page, add a section ti 2026-07-03 23:12:16 +00:00
kudinDmitriyUp
816d400d7c Bob AI: Add shop page 2026-07-03 23:11:16 +00:00
5 changed files with 71 additions and 1 deletions

View File

@@ -2,11 +2,13 @@ import { Routes, Route } from 'react-router-dom';
import Layout from './components/Layout';
import HomePage from './pages/HomePage';
import ShopPage from "@/pages/ShopPage";
export default function App() {
return (
<Routes>
<Route element={<Layout />}>
<Route path="/" element={<HomePage />} />
<Route path="/shop" element={<ShopPage />} />
</Route>
</Routes>
);

View File

@@ -34,7 +34,9 @@ export default function Layout() {
{
"name": "Contact",
"href": "#contact"
}
},
{ name: "Shop", href: "/shop" },
];
return (

View File

@@ -7,6 +7,9 @@ import HeroCenteredLogos from '@/components/sections/hero/HeroCenteredLogos';
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
{/* webild-stub @2026-07-03T23:12:15.552Z: Add a new page called "Shop". On this page, add a section titled "Our Collection" in large bold text. Below the title, embed an iframe using the provided Airtable source link with full width and 800px height. Ensure the background of this s */}
export default function HomePage() {
return (
<>

62
src/pages/ShopPage.tsx Normal file
View File

@@ -0,0 +1,62 @@
import React from "react";
import { routes } from "@/routes";
import NavbarCentered from "@/components/ui/NavbarCentered";
import FooterSimple from "@/components/sections/footer/FooterSimple";
export default function ShopPage() {
return (
<div className="min-h-screen bg-background text-foreground flex flex-col">
<NavbarCentered
logo="Brand"
navItems={routes.map((r) => ({ name: r.label, href: r.path }))}
ctaButton={{ text: "Get Started", href: "/contact" }}
/>
<main className="flex-grow flex flex-col items-center pt-32 pb-24 px-4 sm:px-6 lg:px-8">
<div className="w-full max-w-7xl mx-auto">
<div className="text-center mb-12">
<h1 className="text-5xl md:text-7xl font-bold tracking-tight text-foreground mb-6">
Our Collection
</h1>
<p className="text-lg text-muted-foreground max-w-2xl mx-auto">
Browse our curated selection of premium items directly from our catalog.
</p>
</div>
<div className="w-full rounded-2xl overflow-hidden border border-border bg-card shadow-2xl">
<iframe
className="w-full h-[800px] bg-transparent"
src="https://airtable.com/embed/appXXXXXXXX/shrYYYYYYYY?backgroundColor=dark"
title="Airtable Collection Embed"
/>
</div>
</div>
</main>
<FooterSimple
brand="Brand"
columns={[
{
title: "Shop",
items: [
{ label: "Collection", href: "/shop" },
{ label: "New Arrivals", href: "/shop" },
],
},
{
title: "Company",
items: [
{ label: "About", href: "/about" },
{ label: "Contact", href: "/contact" },
],
},
]}
copyright="© 2024 Brand Inc. All rights reserved."
links={[
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
]}
/>
</div>
);
}

View File

@@ -6,4 +6,5 @@ export interface Route {
export const routes: Route[] = [
{ path: '/', label: 'Home', pageFile: 'HomePage' },
{ path: '/shop', label: 'Shop', pageFile: 'ShopPage' },
];