mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 10:46:44 -05:00
fixes, more fixes
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { getProductType } from "@queries/PSA";
|
||||
import partTypes from 'src/data/parts_cats.json';
|
||||
import styles from '../styles.module.css';
|
||||
import PageHero from "@src/components/PageHero";
|
||||
import ProductTable from "@src/components/ProductTable";
|
||||
import SortTable from "@src/components/SortTable";
|
||||
|
||||
export default async function BarrelsPage() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { getGrips } from "@queries/PSA";
|
||||
import partTypes from 'src/data/parts_cats.json';
|
||||
|
||||
import styles from '../styles.module.css';
|
||||
import PageHero from "@src/components/PageHero";
|
||||
import SortTable from "@src/components/SortTable";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { getARHandGuards } from "@queries/PSA";
|
||||
import styles from '../styles.module.css';
|
||||
import PageHero from "@src/components/PageHero";
|
||||
import ProductTable from "@src/components/ProductTable";
|
||||
import SortTable from "@src/components/SortTable";
|
||||
|
||||
export default async function HamdGuardsPage() {
|
||||
|
||||
@@ -14,11 +14,9 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
|
||||
<div className="flex min-h-full flex-col">
|
||||
<Navbar />
|
||||
<PopNav />
|
||||
|
||||
<PageHero title="Category" />
|
||||
<div className="mx-auto flex w-full max-w-7xl items-start gap-x-8 ">
|
||||
<aside className="sticky top-8 hidden w-44 shrink-0 lg:block pt-4">
|
||||
@@ -33,8 +31,5 @@ export default function RootLayout({
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
import { getARCompleteLowers, getProductType } from "@queries/PSA";
|
||||
import { getProductType } from "@queries/PSA";
|
||||
import partTypes from 'src/data/parts_cats.json';
|
||||
import { psa } from "@db/schema/Psa";
|
||||
import styles from "../styles.module.css";
|
||||
import PageHero from "@components/PageHero";
|
||||
import Link from "next/link";
|
||||
import SortTable from "@src/components/SortTable";
|
||||
|
||||
export default async function LowerReceiverPage() {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { getMags } from "@queries/PSA";
|
||||
import partTypes from 'src/data/parts_cats.json';
|
||||
import styles from '../styles.module.css';
|
||||
import PageHero from "@src/components/PageHero";
|
||||
import ProductTable from "@src/components/ProductTable";
|
||||
import SortTable from "@src/components/SortTable";
|
||||
|
||||
export default async function MagsPage() {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { getMuzzleDevices } from "@queries/PSA";
|
||||
import partTypes from 'src/data/parts_cats.json';
|
||||
import styles from '../styles.module.css';
|
||||
import PageHero from "@src/components/PageHero";
|
||||
import ProductTable from "@src/components/ProductTable";
|
||||
import SortTable from "@src/components/SortTable";
|
||||
|
||||
export default async function MuzzleDevices() {
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import { getARParts } from "@queries/PSA";
|
||||
import partTypes from 'src/data/parts_cats.json';
|
||||
import styles from '../styles.module.css';
|
||||
import ProductTable from "@src/components/ProductTable";
|
||||
import SortTable from "@src/components/SortTable";
|
||||
|
||||
export default async function PartsPage() {
|
||||
|
||||
@@ -1,19 +1,16 @@
|
||||
import { getARTriggers } from "@queries/PSA";
|
||||
import { psa } from '@db/schema/Psa';
|
||||
import partTypes from 'src/data/parts_cats.json';
|
||||
import styles from '../styles.module.css';
|
||||
import PageHero from "@src/components/PageHero";
|
||||
import ProductTable from "@src/components/ProductTable";
|
||||
import SortTable from "@src/components/SortTable";
|
||||
|
||||
export default async function TriggersPage() {
|
||||
const psa = await getARTriggers();
|
||||
const data = await getARTriggers();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<PageHero title="AR Triggers" />
|
||||
<div className="container mx-auto">
|
||||
<SortTable data={psa}></SortTable>
|
||||
<SortTable data={data}></SortTable>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
import { getPSA, getUpperReciever } from "@queries/PSA";
|
||||
import { psa } from '@db/schema/Psa';
|
||||
import { getUpperReciever } from "@queries/PSA";
|
||||
import styles from '../styles.module.css';
|
||||
import PageHero from "@src/components/PageHero";
|
||||
import ProductTable from "@src/components/ProductTable";
|
||||
|
||||
export default async function UpperReceiverPage() {
|
||||
const psa = await getUpperReciever();
|
||||
const data = await getUpperReciever();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<PageHero title="Upper Recievers" />
|
||||
<div className="container mx-auto">
|
||||
<ProductTable data={psa}></ProductTable>
|
||||
<ProductTable data={data}></ProductTable>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -12,7 +12,7 @@ export const metadata = {
|
||||
|
||||
const roboto = Roboto({
|
||||
weight: '400',
|
||||
subsets: ['latin'],
|
||||
subsets: ['latin'],git s
|
||||
display: 'swap',
|
||||
})
|
||||
|
||||
@@ -23,9 +23,9 @@ export default function RootLayout(props: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html suppressHydrationWarning className={roboto.className}>
|
||||
<body className="bg-slate-200 ">
|
||||
|
||||
<Navbar />
|
||||
<PopNav />
|
||||
|
||||
<Navbar />
|
||||
<PopNav />
|
||||
{children}
|
||||
<Footer />
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user