diff --git a/src/sections/Vendors.tsx b/src/sections/Vendors.tsx
new file mode 100644
index 0000000..5803dec
--- /dev/null
+++ b/src/sections/Vendors.tsx
@@ -0,0 +1,25 @@
+import { VendorCard } from '../components/VendorCard'
+
+interface Vendor {
+ name?: string
+ description?: string
+ products?: string[]
+}
+
+interface VendorsProps {
+ vendors?: Vendor[]
+}
+
+export function Vendors({ vendors }: VendorsProps) {
+ if (vendors && vendors.length > 0) {
+ return (
+
+
+ {vendors.map(({ name, description, products }, index) => (
+
+ ))}
+
+
+ )
+ }
+}
diff --git a/src/views/CategoryView.tsx b/src/views/CategoryView.tsx
index 2e036df..7875fb9 100644
--- a/src/views/CategoryView.tsx
+++ b/src/views/CategoryView.tsx
@@ -1,8 +1,17 @@
import type { ComponentProps } from 'react'
-import { CategoryPage } from '../components/CategoryPage'
+import { CategoryPageHero } from '../sections/CategoryPageHero'
+import { Vendors } from '../sections/Vendors'
-export type CategoryViewProps = Pick
, 'title' | 'description' | 'vendors'>
+export type CategoryViewProps = {
+ title?: string
+ description?: string
+} & ComponentProps
export function CategoryView({ title, description, vendors }: CategoryViewProps) {
- return
+ return (
+
+
+
+
+ )
}
diff --git a/src/views/HomePage.tsx b/src/views/HomePage.tsx
index d57299f..1a2bfd4 100644
--- a/src/views/HomePage.tsx
+++ b/src/views/HomePage.tsx
@@ -1,10 +1,10 @@
import { useEffect, useState } from 'react'
-import { Hero } from '../components/Hero'
-import { Services } from '../components/Services'
-import { Solutions } from '../components/Solutions'
-import { Cases } from '../components/Cases'
-import { About } from '../components/About'
-import { Contact } from '../components/Contact'
+import { Hero } from '../sections/Hero'
+import { Services } from '../sections/Services'
+import { Solutions } from '../sections/Solutions'
+import { Cases } from '../sections/Cases'
+import { About } from '../sections/About'
+import { Contact } from '../sections/Contact'
import { ContactModal } from '../components/ContactModal'
import { scrollToHashTarget } from '../lib/scrollToHash'