mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 11:41:23 +00:00
.github
.vscode
app
components
cart
layout
modules
pages
category-page-preview.tsx
category-page.tsx
home-page-preview.tsx
home-page.tsx
product-page-preview.tsx
product-page.tsx
search-page-preview.tsx
search-page.tsx
single-page-preview.tsx
single-page.tsx
preview
product
search
ui
loading-dots.tsx
price.tsx
prose.tsx
helpers
lib
messages
plugins
public
.env.example
.eslintrc.js
.gitignore
.npmrc
.nvmrc
.prettierignore
README.md
components.json
i18n-config.ts
license.md
middleware.ts
next.config.js
package.json
playwright.config.ts
pnpm-lock.yaml
postcss.config.js
prettier.config.js
sanity.config.ts
tailwind.config.js
tsconfig.json
15 lines
391 B
TypeScript
15 lines
391 B
TypeScript
import DynamicContentManager from '@/components/layout/dynamic-content-manager/dynamic-content-manager';
|
|
import type { HomePagePayload } from '@/lib/sanity/sanity.types';
|
|
|
|
export type IndexPageParams = {
|
|
data: HomePagePayload | null;
|
|
};
|
|
|
|
export default function HomePage({ data }: IndexPageParams) {
|
|
return (
|
|
<>
|
|
<DynamicContentManager content={data?.content} />
|
|
</>
|
|
);
|
|
}
|