Merge version_2_1781465360153 into main #2
@@ -5,15 +5,15 @@
|
||||
|
||||
:root {
|
||||
/* @colorThemes/lightTheme/grayNavyBlue */
|
||||
--background: #f5f4ef;
|
||||
--card: #dad6cd;
|
||||
--foreground: #2a2928;
|
||||
--primary-cta: #2a2928;
|
||||
--primary-cta-text: #f5f4ef;
|
||||
--secondary-cta: #ecebea;
|
||||
--secondary-cta-text: #2a2928;
|
||||
--accent: #ffffff;
|
||||
--background-accent: #c6b180;
|
||||
--background: #00ff00;
|
||||
--card: #ff00ff;
|
||||
--foreground: #ff0000;
|
||||
--primary-cta: #0000ff;
|
||||
--primary-cta-text: #ffff00;
|
||||
--secondary-cta: #00ffff;
|
||||
--secondary-cta-text: #ff00ff;
|
||||
--accent: #ff8800;
|
||||
--background-accent: #8800ff;
|
||||
|
||||
/* @layout/border-radius/rounded */
|
||||
--radius: 1.5rem;
|
||||
|
||||
@@ -1,140 +1,33 @@
|
||||
import AboutText from '@/components/sections/about/AboutText';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn';
|
||||
import FeaturesBorderGlow from '@/components/sections/features/FeaturesBorderGlow';
|
||||
import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid';
|
||||
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
|
||||
import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards';
|
||||
import { CheckCircle, Shield, Sparkles } from "lucide-react";
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
// AUTO-GENERATED shell by per-section-migrate.
|
||||
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
|
||||
// files directly. Non-block content (wrappers, non-inlinable sections) is
|
||||
// preserved inline; extracted section blocks become <XSection/> refs.
|
||||
|
||||
export default function HomePage() {
|
||||
import React from 'react';
|
||||
import HeroSection from './HomePage/sections/Hero';
|
||||
import AboutSection from './HomePage/sections/About';
|
||||
import FeaturesSection from './HomePage/sections/Features';
|
||||
import TestimonialsSection from './HomePage/sections/Testimonials';
|
||||
import MetricsSection from './HomePage/sections/Metrics';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroSplitMediaGrid
|
||||
tag="Welcome"
|
||||
title="Simple Design, Real Impact"
|
||||
description="We build websites that are clear, simple, and effective. Minimalist by design, powerful by function."
|
||||
primaryButton={{
|
||||
text: "Get Started", href: "#contact"}}
|
||||
secondaryButton={{
|
||||
text: "Learn More", href: "#about"}}
|
||||
items={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/taper-candle-holders-wooden-sideboard-table_53876-121600.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/texture-waving-brown-fibers_23-2148066656.jpg"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<>
|
||||
<HeroSection />
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutText
|
||||
title="We focus on the essentials, stripping away the noise to deliver a cleaner digital experience for your customers."
|
||||
primaryButton={{
|
||||
text: "Our Approach", href: "#features"}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<AboutSection />
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesBorderGlow
|
||||
tag="Capabilities"
|
||||
title="Designed for Clarity"
|
||||
description="Our features are built to guide your users effortlessly."
|
||||
features={[
|
||||
{
|
||||
icon: Sparkles,
|
||||
title: "Minimalist UI", description: "Focused layouts to reduce cognitive load."},
|
||||
{
|
||||
icon: CheckCircle,
|
||||
title: "Performance First", description: "Optimized code for faster loading times."},
|
||||
{
|
||||
icon: Shield,
|
||||
title: "Reliable Foundation", description: "Secure and scalable architecture."},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FeaturesSection />
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialMarqueeOverlayCards
|
||||
tag="Feedback"
|
||||
title="What People Say"
|
||||
description="Trust built through authentic experiences."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Anna Smith", role: "Creative Director", company: "Studio", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/studio-portrait-blond-female-dressed-white-shirt-red-eyeglasses_613910-3571.jpg"},
|
||||
{
|
||||
name: "Mark Jones", role: "CEO", company: "TechCo", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-successful-happy-smiling-young-woman-beige-jacket-glasses-standing-lobby-office-reception-greeting-business-client-with-pleasant-grin-inviting-company_197531-30568.jpg"},
|
||||
{
|
||||
name: "Elena Ross", role: "Manager", company: "Growth", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-cute-fashionable-african-american-looking-with-popped-eyes-lifting-eyebrows-camera-while-sitting-park-listening-music-via-headphones-expressing-excitement_176420-19809.jpg"},
|
||||
{
|
||||
name: "David Wu", role: "Designer", company: "Creative", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg"},
|
||||
{
|
||||
name: "Sarah Lee", role: "Founder", company: "Labs", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fashion-portrait-young-elegant-woman_1328-4107.jpg"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<TestimonialsSection />
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsMediaCards
|
||||
tag="Impact"
|
||||
title="Proven Results"
|
||||
description="We let the numbers speak for themselves."
|
||||
metrics={[
|
||||
{
|
||||
value: "99%", title: "Uptime", description: "Reliability you can count on.", imageSrc: "http://img.b2bpic.net/free-photo/modern-styled-entryway_23-2150695799.jpg"},
|
||||
{
|
||||
value: "50ms", title: "Latency", description: "Speed is our priority.", imageSrc: "http://img.b2bpic.net/free-photo/photo-wall-texture-pattern_58702-14953.jpg"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<MetricsSection />
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTwoColumn
|
||||
tag="Support"
|
||||
title="Common Questions"
|
||||
description="Everything you need to know about working with us."
|
||||
items={[
|
||||
{
|
||||
question: "What is the process?", answer: "Simple and collaborative."},
|
||||
{
|
||||
question: "How do you start?", answer: "We begin with a discovery call."},
|
||||
{
|
||||
question: "What is the timeline?", answer: "Typically 4-6 weeks for most projects."},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FaqSection />
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Get in touch"
|
||||
text="Ready to get started? Let’s talk about your project."
|
||||
primaryButton={{
|
||||
text: "Email Us", href: "mailto:hello@example.com"}}
|
||||
secondaryButton={{
|
||||
text: "Schedule Call", href: "#"}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
20
src/pages/HomePage/sections/About.tsx
Normal file
20
src/pages/HomePage/sections/About.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
// 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 AboutText from '@/components/sections/about/AboutText';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function AboutSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutText
|
||||
title="We focus on the essentials, stripping away the noise to deliver a cleaner digital experience for your customers."
|
||||
primaryButton={{
|
||||
text: "Our Approach", href: "#features"}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
23
src/pages/HomePage/sections/Contact.tsx
Normal file
23
src/pages/HomePage/sections/Contact.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "contact" section.
|
||||
|
||||
import React from 'react';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ContactSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Get in touch"
|
||||
text="Ready to get started? Let’s talk about your project."
|
||||
primaryButton={{
|
||||
text: "Email Us", href: "mailto:hello@example.com"}}
|
||||
secondaryButton={{
|
||||
text: "Schedule Call", href: "#"}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
28
src/pages/HomePage/sections/Faq.tsx
Normal file
28
src/pages/HomePage/sections/Faq.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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 FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FaqSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTwoColumn
|
||||
tag="Support"
|
||||
title="Common Questions"
|
||||
description="Everything you need to know about working with us."
|
||||
items={[
|
||||
{
|
||||
question: "What is the process?", answer: "Simple and collaborative."},
|
||||
{
|
||||
question: "How do you start?", answer: "We begin with a discovery call."},
|
||||
{
|
||||
question: "What is the timeline?", answer: "Typically 4-6 weeks for most projects."},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
32
src/pages/HomePage/sections/Features.tsx
Normal file
32
src/pages/HomePage/sections/Features.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "features" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesBorderGlow from '@/components/sections/features/FeaturesBorderGlow';
|
||||
import { CheckCircle, Shield, Sparkles } from "lucide-react";
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FeaturesSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesBorderGlow
|
||||
tag="Capabilities"
|
||||
title="Designed for Clarity"
|
||||
description="Our features are built to guide your users effortlessly."
|
||||
features={[
|
||||
{
|
||||
icon: Sparkles,
|
||||
title: "Minimalist UI", description: "Focused layouts to reduce cognitive load."},
|
||||
{
|
||||
icon: CheckCircle,
|
||||
title: "Performance First", description: "Optimized code for faster loading times."},
|
||||
{
|
||||
icon: Shield,
|
||||
title: "Reliable Foundation", description: "Secure and scalable architecture."},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
30
src/pages/HomePage/sections/Hero.tsx
Normal file
30
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,30 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "hero" section.
|
||||
|
||||
import React from 'react';
|
||||
import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroSplitMediaGrid
|
||||
tag="Welcome"
|
||||
title="Simple Design, Real Impact"
|
||||
description="We build websites that are clear, simple, and effective. Minimalist by design, powerful by function."
|
||||
primaryButton={{
|
||||
text: "Get Started", href: "#contact"}}
|
||||
secondaryButton={{
|
||||
text: "Learn More", href: "#about"}}
|
||||
items={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/taper-candle-holders-wooden-sideboard-table_53876-121600.jpg"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/texture-waving-brown-fibers_23-2148066656.jpg"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
26
src/pages/HomePage/sections/Metrics.tsx
Normal file
26
src/pages/HomePage/sections/Metrics.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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 MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function MetricsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsMediaCards
|
||||
tag="Impact"
|
||||
title="Proven Results"
|
||||
description="We let the numbers speak for themselves."
|
||||
metrics={[
|
||||
{
|
||||
value: "99%", title: "Uptime", description: "Reliability you can count on.", imageSrc: "http://img.b2bpic.net/free-photo/modern-styled-entryway_23-2150695799.jpg"},
|
||||
{
|
||||
value: "50ms", title: "Latency", description: "Speed is our priority.", imageSrc: "http://img.b2bpic.net/free-photo/photo-wall-texture-pattern_58702-14953.jpg"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
37
src/pages/HomePage/sections/Testimonials.tsx
Normal file
37
src/pages/HomePage/sections/Testimonials.tsx
Normal file
@@ -0,0 +1,37 @@
|
||||
// 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 TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TestimonialsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialMarqueeOverlayCards
|
||||
tag="Feedback"
|
||||
title="What People Say"
|
||||
description="Trust built through authentic experiences."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Anna Smith", role: "Creative Director", company: "Studio", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/studio-portrait-blond-female-dressed-white-shirt-red-eyeglasses_613910-3571.jpg"},
|
||||
{
|
||||
name: "Mark Jones", role: "CEO", company: "TechCo", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-successful-happy-smiling-young-woman-beige-jacket-glasses-standing-lobby-office-reception-greeting-business-client-with-pleasant-grin-inviting-company_197531-30568.jpg"},
|
||||
{
|
||||
name: "Elena Ross", role: "Manager", company: "Growth", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-cute-fashionable-african-american-looking-with-popped-eyes-lifting-eyebrows-camera-while-sitting-park-listening-music-via-headphones-expressing-excitement_176420-19809.jpg"},
|
||||
{
|
||||
name: "David Wu", role: "Designer", company: "Creative", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg"},
|
||||
{
|
||||
name: "Sarah Lee", role: "Founder", company: "Labs", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fashion-portrait-young-elegant-woman_1328-4107.jpg"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user