Skip to content

Commit d0a9e66

Browse files
Database update for production
1 parent 407ecae commit d0a9e66

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

ecommerce-admin/app/(dashboard)/[storeId]/(routes)/colors/components/columns.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
},

ecommerce-admin/app/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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}

ecommerce-store/app/(routes)/page.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,25 @@ export const revalidate = 0;
88

99
const 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>

0 commit comments

Comments
 (0)