update design
This commit is contained in:
21
app/page.tsx
21
app/page.tsx
@@ -1,18 +1,11 @@
|
||||
import Header from '@/components/Header';
|
||||
import Footer from '@/components/Footer';
|
||||
import ProductDetail from '@/components/product-detail/ProductDetail';
|
||||
import React from 'react';
|
||||
import ProductDetail from '@/components/shopify/product-detail';
|
||||
import config from '@/lib/config.json';
|
||||
|
||||
export default function Page() {
|
||||
const productHandle = config.data.product;
|
||||
|
||||
const Home: React.FC = () => {
|
||||
return (
|
||||
<div className="flex flex-col min-h-screen">
|
||||
<Header />
|
||||
<main className="flex-1">
|
||||
<ProductDetail handle={productHandle} />
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
<ProductDetail handle={config.data.product} />
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export default Home;
|
||||
|
||||
Reference in New Issue
Block a user