File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed
(dashboard)/[storeId]/(routes)/colors/components
ecommerce-store/app/(routes) Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,12 @@ export const columns: ColumnDef<ColorColumn>[] = [
2121 header : "Value" ,
2222 cell : ( { row } ) => (
2323 < div className = "flex items-center gap-x-2" >
24- { row . original . value }
2524 < div
2625 className = "w-6 h-6 border rounded-full"
2726 style = { { backgroundColor : row . original . value } }
2827 />
28+
29+ { row . original . value }
2930 </ div >
3031 ) ,
3132 } ,
Original file line number Diff line number Diff line change @@ -23,7 +23,11 @@ export default async function RootLayout({
2323 < ClerkProvider >
2424 < html lang = "en" >
2525 < body className = { inter . className } >
26- < ThemeProvider attribute = "class" defaultTheme = "system" enableSystem >
26+ < ThemeProvider
27+ attribute = "class"
28+ defaultTheme = "light"
29+ enableSystem
30+ >
2731 < ToastProvider />
2832 < ModalProvider />
2933 { children }
Original file line number Diff line number Diff line change @@ -8,19 +8,25 @@ export const revalidate = 0;
88
99const HomePage = async ( ) => {
1010 const products = await getProducts ( { isFeatured : true } ) ;
11- const billboard = await getBillboard ( "9c184dda-2048-4e18-8197-81613833e7e6" ) ;
11+ const billboard = await getBillboard (
12+ "1cde391e-7ac3-46f3-8af6-2db1f9b56d3d"
13+ ) ;
1214
1315 return (
1416 < div >
1517 < div className = "m-0 space-y-10" >
1618 < Billboard
1719 data = { billboard }
20+ rounded = ""
1821 additionalProps = "transition aspect-[3.3/1] p-0 rounded-none"
1922 />
2023 </ div >
2124 < Container >
2225 < div className = "flex flex-col px-8 pb-8 gap-y-8 sm:px-6 lg:px-8" >
23- < ProductList title = "Featured Products" items = { products } />
26+ < ProductList
27+ title = "Featured Products"
28+ items = { products }
29+ />
2430 </ div >
2531 </ Container >
2632 </ div >
You can’t perform that action at this time.
0 commit comments