From eb783a987f03fa36527ad762973e3bc18b11c109 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sat, 13 Jun 2026 21:03:25 +0000 Subject: [PATCH] Bob AI: Replaced hero, pricing, and contact sections with custom des --- src/index.css | 18 +- src/pages/HomePage.tsx | 306 ++----------------- src/pages/HomePage/sections/About.tsx | 22 ++ src/pages/HomePage/sections/Contact.tsx | 73 +++++ src/pages/HomePage/sections/Faq.tsx | 35 +++ src/pages/HomePage/sections/Hero.tsx | 50 +++ src/pages/HomePage/sections/Metrics.tsx | 49 +++ src/pages/HomePage/sections/Pricing.tsx | 94 ++++++ src/pages/HomePage/sections/Product.tsx | 57 ++++ src/pages/HomePage/sections/Testimonials.tsx | 57 ++++ 10 files changed, 470 insertions(+), 291 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/Contact.tsx create mode 100644 src/pages/HomePage/sections/Faq.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Metrics.tsx create mode 100644 src/pages/HomePage/sections/Pricing.tsx create mode 100644 src/pages/HomePage/sections/Product.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx diff --git a/src/index.css b/src/index.css index 1b9cebe..a8e8940 100644 --- a/src/index.css +++ b/src/index.css @@ -5,15 +5,15 @@ :root { /* @colorThemes/lightTheme/grayNavyBlue */ - --background: #f5faff; - --card: #ffffff; - --foreground: #001122; - --primary-cta: #15479c; - --primary-cta-text: #f5faff; - --secondary-cta: #ffffff; - --secondary-cta-text: #001122; - --accent: #a8cce8; - --background-accent: #7ba3cf; + --background: #050012; + --card: #16002b; + --foreground: #f8f0ff; + --primary-cta: #8b5cf6; + --primary-cta-text: #ffffff; + --secondary-cta: #3b82f6; + --secondary-cta-text: #ffffff; + --accent: #facc15; + --background-accent: #5b21b6; /* @layout/border-radius/rounded */ --radius: 1.5rem; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 57dabc8..f4ab87b 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,294 +1,36 @@ -import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; -import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards'; -import PricingCenteredCards from '@/components/sections/pricing/PricingCenteredCards'; -import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in .//sections/.tsx. Edit the section +// files directly. Non-block content (wrappers, non-inlinable sections) is +// preserved inline; extracted section blocks become refs. -export default function HomePage() { +import React from 'react'; +import AboutSection from './HomePage/sections/About'; +import ProductSection from './HomePage/sections/Product'; +import MetricsSection from './HomePage/sections/Metrics'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import FaqSection from './HomePage/sections/Faq'; + + +import HeroSection from './HomePage/sections/Hero'; +import PricingSection from './HomePage/sections/Pricing'; +import ContactSection from './HomePage/sections/Contact';export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> -
- - - -
+ -
- - - -
+ + -
- - - -
-
- - - -
+ -
- - - -
+ -
- - - -
+ + -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/About.tsx b/src/pages/HomePage/sections/About.tsx new file mode 100644 index 0000000..1ea578c --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,22 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "about" section. + +import React from 'react'; +import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..5eeeac5 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,73 @@ +import { motion } from 'motion/react'; +import Button from '@/components/ui/Button'; + +export default function ContactSection() { + return ( +
+
+
+
+ +
+
+ Get in Touch +

Ask any question / Reserve your iPhone now

+ +
+
+
+ +
+
+

Phone

+ +7 (985) 791-00-99 +
+
+ +
+
+ +
+
+

Telegram

+ @big_mard +
+
+
+
+ +
+
+

Visit Us

+
+
+ +
+
+

Moscow, Barklaya street 8,
1st floor, pavilion 138

+
+
+
+ +
+

Working Hours

+
+
+ +
+
+

Every day
10:00–21:00

+
+
+
+ +
+
+
+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..e320896 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,35 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "faq" section. + +import React from 'react'; +import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..da43e1b --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,50 @@ +import { motion } from 'motion/react'; +import Button from '@/components/ui/Button'; + +export default function HeroSection() { + return ( +
+
+ +
+ + + BIG MARD Store + + +

+ iPhone 17 Series Available +

+ +

+ Best prices in Moscow. Experience the future of mobile technology with our premium Apple devices. +

+ +
+
+
+ + +
+ iPhone 17 Pro Max + +
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..d02ae58 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,49 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "metrics" section. + +import React from 'react'; +import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Pricing.tsx b/src/pages/HomePage/sections/Pricing.tsx new file mode 100644 index 0000000..933fa4f --- /dev/null +++ b/src/pages/HomePage/sections/Pricing.tsx @@ -0,0 +1,94 @@ +import { motion } from 'motion/react'; +import Button from '@/components/ui/Button'; + +export default function PricingSection() { + const products = [ + { + model: "iPhone 17E", + storage: "256GB", + color: "Pink", + version: "🇮🇳 India", + sim: "1SIM", + price: "58,500 ₽", + image: "http://img.b2bpic.net/free-photo/rainbow-colored-smartphone-design-with-gradient-effect-isolated-white-background_187299-47164.jpg" + }, + { + model: "iPhone 17", + storage: "256GB", + color: "Black", + version: "🇯🇵 Japan", + sim: "eSIM", + price: "67,000 ₽", + image: "http://img.b2bpic.net/free-photo/phone-16-pro-max-gold-mockup_187299-45926.jpg" + }, + { + model: "iPhone 17 Air", + storage: "256GB", + color: "White", + version: "🇯🇵 Japan", + sim: "eSIM", + price: "78,000 ₽", + image: "http://img.b2bpic.net/free-photo/rainbow-colored-smartphone-design-with-gradient-effect-isolated-white-background_187299-47164.jpg" + }, + { + model: "iPhone 17 Pro", + storage: "From", + color: "All Colors", + version: "Global", + sim: "Dual", + price: "102,000 ₽", + image: "http://img.b2bpic.net/free-photo/phone-16-pro-max-gold-mockup_187299-45926.jpg" + }, + { + model: "iPhone 17 Pro Max", + storage: "From", + color: "All Colors", + version: "Global", + sim: "Dual", + price: "109,500 ₽", + image: "http://img.b2bpic.net/free-photo/phone-16-pro-max-gold-mockup_187299-45926.jpg" + } + ]; + + return ( +
+
+
+

Digital Catalog

+

Swipe through our premium selection

+
+ +
+ {products.map((product, idx) => ( + +
+
+
+ {product.model} +
+

{product.model}

+
+ {product.storage} + {product.color} + {product.version} + {product.sim} +
+
+
{product.price}
+
+
+ + ))} +
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Product.tsx b/src/pages/HomePage/sections/Product.tsx new file mode 100644 index 0000000..2c9b4d9 --- /dev/null +++ b/src/pages/HomePage/sections/Product.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "product" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ProductSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx new file mode 100644 index 0000000..ee0b290 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "testimonials" section. + +import React from 'react'; +import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1