mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
chakura clean up
This commit is contained in:
@@ -2,9 +2,7 @@ import type { NextConfig } from "next";
|
|||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
/* config options here */
|
/* config options here */
|
||||||
experimental: {
|
|
||||||
optimizePackageImports: ["@chakra-ui/react"],
|
|
||||||
},
|
|
||||||
/* module.exports = {
|
/* module.exports = {
|
||||||
images: {
|
images: {
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export default class Copyright extends Component {
|
|||||||
return (
|
return (
|
||||||
(<CopyStyled>
|
(<CopyStyled>
|
||||||
<div className="copyright">© {new Date().getFullYear()} {' '}
|
<div className="copyright">© {new Date().getFullYear()} {' '}
|
||||||
<Link href={COMPANY_URL}>
|
<Link href={COMPANY_URL} legacyBehavior>
|
||||||
{COMPANY_NAME}
|
{COMPANY_NAME}
|
||||||
</Link>{' '}
|
</Link>{' '}
|
||||||
<span>All Rights Reserved.</span>
|
<span>All Rights Reserved.</span>
|
||||||
|
|||||||
@@ -12,12 +12,11 @@ let linksArray = [
|
|||||||
export const Armory = (props:any) => {
|
export const Armory = (props:any) => {
|
||||||
return (
|
return (
|
||||||
(<div>
|
(<div>
|
||||||
|
|
||||||
<h4>{props.titleText}</h4>
|
<h4>{props.titleText}</h4>
|
||||||
<ul>
|
<ul>
|
||||||
{linksArray.map((link, index) => (
|
{linksArray.map((link, index) => (
|
||||||
<li key={index}>
|
<li key={index}>
|
||||||
<Link href={link.URL}>
|
<Link href={link.URL} legacyBehavior>
|
||||||
{link.TEXT}
|
{link.TEXT}
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export const GroundZero = (props) => {
|
|||||||
<ul>
|
<ul>
|
||||||
{linksArray.map((link, index) => (
|
{linksArray.map((link, index) => (
|
||||||
<li key={index}>
|
<li key={index}>
|
||||||
<Link href={link.URL}>
|
<Link href={link.URL} legacyBehavior>
|
||||||
{link.TEXT}
|
{link.TEXT}
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export const Information = (props) => {
|
|||||||
<ul>
|
<ul>
|
||||||
{linksArray.map((link, index) => (
|
{linksArray.map((link, index) => (
|
||||||
<li key={index}>
|
<li key={index}>
|
||||||
<Link href={link.URL}>
|
<Link href={link.URL} legacyBehavior>
|
||||||
{link.TEXT}
|
{link.TEXT}
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -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 (
|
|
||||||
<html lang="en">
|
|
||||||
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`} >
|
|
||||||
{/* <Providers>{children}</Providers> */}
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -2,26 +2,35 @@ import NextLink from 'next/link';
|
|||||||
|
|
||||||
const Header: React.FC = () => {
|
const Header: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
<header style={{ backgroundColor: '#7C8C58', color: 'white', padding: '16px 24px', boxShadow: '0 4px 6px rgba(0, 0, 0, 0.1)' }}>
|
(<header style={{ backgroundColor: '#7C8C58', color: 'white', padding: '16px 24px', boxShadow: '0 4px 6px rgba(0, 0, 0, 0.1)' }}>
|
||||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', maxWidth: '80rem', margin: '0 auto' }}>
|
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', maxWidth: '80rem', margin: '0 auto' }}>
|
||||||
<h1 style={{ fontSize: '1.5rem' }}>
|
<h1 style={{ fontSize: '1.5rem', }}>
|
||||||
<NextLink href="/" passHref>
|
<NextLink href="/" passHref style={{ color: '#FFFFFF', textDecoration: 'none' }}>
|
||||||
<a style={{ color: '#374151', textDecoration: 'none' }}>Ballistic Builder</a>
|
Ballistic Builder
|
||||||
</NextLink>
|
</NextLink>
|
||||||
</h1>
|
</h1>
|
||||||
<nav style={{ display: 'flex', gap: '24px' }}>
|
<nav style={{ display: 'flex', gap: '24px' }}>
|
||||||
<NextLink href="/builder" passHref>
|
<NextLink
|
||||||
<a style={{ color: '#374151', textDecoration: 'underline' }}>Builder</a>
|
href="/Builder"
|
||||||
|
passHref
|
||||||
|
style={{ color: '#FFFFFF', textDecoration: 'underline' }}>
|
||||||
|
Builder
|
||||||
</NextLink>
|
</NextLink>
|
||||||
<NextLink href="/products" passHref>
|
<NextLink
|
||||||
<a style={{ color: '#374151', textDecoration: 'underline' }}>Products</a>
|
href="/Products"
|
||||||
|
passHref
|
||||||
|
style={{ color: '#FFFFFF', textDecoration: 'underline' }}>
|
||||||
|
Products
|
||||||
</NextLink>
|
</NextLink>
|
||||||
<NextLink href="/auth/signin" passHref>
|
<NextLink
|
||||||
<a style={{ color: '#374151', textDecoration: 'underline' }}>Sign In</a>
|
href="/auth/signin"
|
||||||
|
passHref
|
||||||
|
style={{ color: '#FFFFFF', textDecoration: 'underline' }}>
|
||||||
|
Sign In
|
||||||
</NextLink>
|
</NextLink>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import Image from "next/image";
|
|||||||
const navigation = [
|
const navigation = [
|
||||||
{ name: "Home", href: "/", current: true },
|
{ name: "Home", href: "/", current: true },
|
||||||
{ name: "Builder", href: "/Builder", current: false },
|
{ 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: "Completed Builds", href: "#", current: false },
|
||||||
{ name: "Brands", href: "/Brands", current: false },
|
{ name: "Brands", href: "/Brands", current: false },
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user