From 01c0b22bc4726a5592ceccd5c11756393bcd8ffc Mon Sep 17 00:00:00 2001 From: Sean S Date: Fri, 13 Dec 2024 14:58:08 -0500 Subject: [PATCH] new tailwindui table on bulder page --- src/app/Builder/page.tsx | 133 +++++++++++++++++++++++++++++---------- src/app/page.tsx | 15 ++--- 2 files changed, 106 insertions(+), 42 deletions(-) diff --git a/src/app/Builder/page.tsx b/src/app/Builder/page.tsx index 3b280ab..03f8340 100644 --- a/src/app/Builder/page.tsx +++ b/src/app/Builder/page.tsx @@ -1,37 +1,106 @@ +import { ChevronDownIcon } from "@heroicons/react/20/solid"; +import { getPSA, getLowerBuildKits, getGrips } from "@queries/PSA"; +import { psa } from "@db/schema/Psa"; +import partTypes from "src/data/parts_cats.json"; - -export default function BuilderPage() { +export default async function BuilderPage() { + const psa = await getGrips(); return ( -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ComponentSelectionBase PriceSale PriceShippingTaxTotal PriceSourceOrder
Part 1Part99.9989.9912.99Palmetto State101.99
+
+
+
+

Users

+

+ A list of all the Grips We Could Find{" "} +

+
+
+
+
+
+ + + + + + + + + + + {psa.map((psa) => ( + + + + + + + ))} + +
+ + Component + + + + + + Manufacturer + + + + + + Price + + + + + + Purchase + + + +
+ {psa.productName} + + {psa.brandName} + + {psa.retailPrice} + + {psa.salePrice} +
+
+
+
); } diff --git a/src/app/page.tsx b/src/app/page.tsx index e69dd19..fe19844 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,14 +1,8 @@ -import About from "@components/site/About"; -import Contact from "@components/site/Contact"; -import FeaturesSection from "@components/FeaturesSection"; -import Footer from "@components/site/Footer"; -import Header from "@components/Header"; -import Hero from "@components/Hero"; -import { ChevronRightIcon } from "@heroicons/react/24/outline"; + export default async function Home() { return ( -
+