This commit is contained in:
2024-12-11 23:26:14 -05:00
parent 972ec4f026
commit 1691c60d96
11 changed files with 39316 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
export const metadata = {
title: 'Next.js',
description: 'Generated by Next.js',
title: 'Ballistic Bu8ilder',
description: 'Generated by Forward Group, LLC',
}
export default function RootLayout({

View File

@@ -1,6 +1,6 @@
export const metadata = {
title: 'Next.js',
description: 'Generated by Next.js',
title: 'Ballistic Builder',
description: 'Generated by Forward Group, LLC',
}
export default function RootLayout({

View File

@@ -1,17 +1,18 @@
import { Button } from "@components/ui/button";
import { getPSA } from "@/db/queries/PSA";
import { psa } from '@/db/schema/Psa';
import styles from '../styles.module.css'
export default async function LowerReceiverPage() {
const psa = await getPSA();
return (
<div className="container mx-auto">
<table className="table-auto border-separate border-spacing-2 border border-slate-500">
<table className={"table-auto border-separate border-spacing-4 border border-slate-500"}>
<thead>
<tr>
<tr className={styles.tr}>
<th>Component</th>
<th>Manufacturer</th>
<th>Color</th>
<th>Model #</th>
<th>Price</th>
</tr>
</thead>
@@ -21,8 +22,8 @@ export default async function LowerReceiverPage() {
<td>
{psa.category}
</td>
<td>manufacturer</td>
<td>color</td>
<td>{psa.brandName}</td>
<td>{psa.modelnumber}</td>
<td className="flex items-center gap-2">
${Number(psa.salePrice).toFixed(2)}
<Button variant="outline">Buy</Button>

View File

@@ -0,0 +1,9 @@
.table {
border-collapse: collapse;
}
.tr {
text-align: left;
font-weight: bold;
background-color: cadetblue;
}