From 54462af1d5ef7a5ca94755107d8432dacd810c64 Mon Sep 17 00:00:00 2001 From: Sean S Date: Wed, 11 Dec 2024 14:29:02 -0500 Subject: [PATCH] chakura clean up --- next.config.ts | 4 +-- .../GunBuilder/GB_Info/Copyright/index.tsx | 2 +- src/Fragments/Armory/index.tsx | 3 +- src/Fragments/GroundZero/index.tsx | 2 +- src/Fragments/Information/index.tsx | 2 +- src/app/layout-test.tsx | 34 ------------------- src/components/Header/index.tsx | 31 +++++++++++------ src/components/Navbar/index.tsx | 2 +- 8 files changed, 26 insertions(+), 54 deletions(-) delete mode 100644 src/app/layout-test.tsx diff --git a/next.config.ts b/next.config.ts index fb0b978..57d5b3c 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,9 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { /* config options here */ - experimental: { - optimizePackageImports: ["@chakra-ui/react"], - }, + /* module.exports = { images: { remotePatterns: [ diff --git a/src/Example Code/GunBuilder/GB_Info/Copyright/index.tsx b/src/Example Code/GunBuilder/GB_Info/Copyright/index.tsx index 46f411d..2a143e7 100644 --- a/src/Example Code/GunBuilder/GB_Info/Copyright/index.tsx +++ b/src/Example Code/GunBuilder/GB_Info/Copyright/index.tsx @@ -12,7 +12,7 @@ export default class Copyright extends Component { return ( (
©  {new Date().getFullYear()} {' '} - + {COMPANY_NAME} {' '} All Rights Reserved. diff --git a/src/Fragments/Armory/index.tsx b/src/Fragments/Armory/index.tsx index 4303d18..cdb39d5 100644 --- a/src/Fragments/Armory/index.tsx +++ b/src/Fragments/Armory/index.tsx @@ -12,12 +12,11 @@ let linksArray = [ export const Armory = (props:any) => { return ( (
-

{props.titleText}

    {linksArray.map((link, index) => (
  • - + {link.TEXT}
  • diff --git a/src/Fragments/GroundZero/index.tsx b/src/Fragments/GroundZero/index.tsx index 61a14b8..8a90cf3 100644 --- a/src/Fragments/GroundZero/index.tsx +++ b/src/Fragments/GroundZero/index.tsx @@ -15,7 +15,7 @@ export const GroundZero = (props) => {
      {linksArray.map((link, index) => (
    • - + {link.TEXT}
    • diff --git a/src/Fragments/Information/index.tsx b/src/Fragments/Information/index.tsx index 84c3623..3bf328f 100644 --- a/src/Fragments/Information/index.tsx +++ b/src/Fragments/Information/index.tsx @@ -15,7 +15,7 @@ export const Information = (props) => {
        {linksArray.map((link, index) => (
      • - + {link.TEXT}
      • diff --git a/src/app/layout-test.tsx b/src/app/layout-test.tsx deleted file mode 100644 index 021eb01..0000000 --- a/src/app/layout-test.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import type { Metadata } from "next"; -import localFont from "next/font/local"; -import { Providers } from './providers' -import "./globals.css"; - -const geistSans = localFont({ - src: "./fonts/GeistVF.woff", - variable: "--font-geist-sans", - weight: "100 900", -}); -const geistMono = localFont({ - src: "./fonts/GeistMonoVF.woff", - variable: "--font-geist-mono", - weight: "100 900", -}); - -export const metadata: Metadata = { - title: "Ballistic Builder", - description: "Freedom On", -}; - -export default function RootLayout({ - children, -}: Readonly<{ - children: React.ReactNode; -}>) { - return ( - - - {/* {children} */} - - - ); -} diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index df9c64d..e373024 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -2,26 +2,35 @@ import NextLink from 'next/link'; const Header: React.FC = () => { return ( -
        + (
        -

        - - Ballistic Builder +

        + + Ballistic Builder

        -
        +
        ) ); }; diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index 3fe55aa..73c3bc7 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -13,7 +13,7 @@ import Image from "next/image"; const navigation = [ { name: "Home", href: "/", current: true }, { name: "Builder", href: "/Builder", current: false }, - { name: "Products", href: "/products", current: false }, + { name: "Products", href: "/Products", current: false }, { name: "Completed Builds", href: "#", current: false }, { name: "Brands", href: "/Brands", current: false }, ];