diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index f22e36d..5d058eb 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -18,22 +18,6 @@ export default function Layout() { { "name": "자주 묻는 질문", "href": "#faq" - }, - { - "name": "Hero", - "href": "#hero" - }, - { - "name": "Problem", - "href": "#problem" - }, - { - "name": "Why Us", - "href": "#why-us" - }, - { - "name": "Process", - "href": "#process" } ]; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index ef9e1f0..4fa874e 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,142 +1,33 @@ -import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; -import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; -import FeaturesBorderGlow from '@/components/sections/features/FeaturesBorderGlow'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroOverlay from '@/components/sections/hero/HeroOverlay'; -import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards'; -import { Search, Wrench, Zap } from "lucide-react"; -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 HeroSection from './HomePage/sections/Hero'; +import ProblemSection from './HomePage/sections/Problem'; +import ServicesSection from './HomePage/sections/Services'; +import WhyUsSection from './HomePage/sections/WhyUs'; +import CasesSection from './HomePage/sections/Cases'; +import ProcessSection from './HomePage/sections/Process'; +import FaqSection from './HomePage/sections/Faq'; + +export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/Cases.tsx b/src/pages/HomePage/sections/Cases.tsx new file mode 100644 index 0000000..83e6d65 --- /dev/null +++ b/src/pages/HomePage/sections/Cases.tsx @@ -0,0 +1,36 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "cases" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function CasesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..70cfdd3 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,30 @@ +// 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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..793325d --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,25 @@ +// 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 HeroOverlay from '@/components/sections/hero/HeroOverlay'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Problem.tsx b/src/pages/HomePage/sections/Problem.tsx new file mode 100644 index 0000000..fe0aea7 --- /dev/null +++ b/src/pages/HomePage/sections/Problem.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "problem" section. + +import React from 'react'; +import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ProblemSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Process.tsx b/src/pages/HomePage/sections/Process.tsx new file mode 100644 index 0000000..1067057 --- /dev/null +++ b/src/pages/HomePage/sections/Process.tsx @@ -0,0 +1,34 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "process" section. + +import React from 'react'; +import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ProcessSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Services.tsx b/src/pages/HomePage/sections/Services.tsx new file mode 100644 index 0000000..871ae3f --- /dev/null +++ b/src/pages/HomePage/sections/Services.tsx @@ -0,0 +1,32 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "services" section. + +import React from 'react'; +import FeaturesBorderGlow from '@/components/sections/features/FeaturesBorderGlow'; +import { Search, Wrench, Zap } from "lucide-react"; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ServicesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/WhyUs.tsx b/src/pages/HomePage/sections/WhyUs.tsx new file mode 100644 index 0000000..6fa0a1d --- /dev/null +++ b/src/pages/HomePage/sections/WhyUs.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "why-us" section. + +import React from 'react'; +import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function WhyUsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}