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:
@@ -12,7 +12,7 @@ export default class Copyright extends Component {
|
||||
return (
|
||||
(<CopyStyled>
|
||||
<div className="copyright">© {new Date().getFullYear()} {' '}
|
||||
<Link href={COMPANY_URL}>
|
||||
<Link href={COMPANY_URL} legacyBehavior>
|
||||
{COMPANY_NAME}
|
||||
</Link>{' '}
|
||||
<span>All Rights Reserved.</span>
|
||||
|
||||
@@ -12,12 +12,11 @@ let linksArray = [
|
||||
export const Armory = (props:any) => {
|
||||
return (
|
||||
(<div>
|
||||
|
||||
<h4>{props.titleText}</h4>
|
||||
<ul>
|
||||
{linksArray.map((link, index) => (
|
||||
<li key={index}>
|
||||
<Link href={link.URL}>
|
||||
<Link href={link.URL} legacyBehavior>
|
||||
{link.TEXT}
|
||||
</Link>
|
||||
</li>
|
||||
|
||||
@@ -15,7 +15,7 @@ export const GroundZero = (props) => {
|
||||
<ul>
|
||||
{linksArray.map((link, index) => (
|
||||
<li key={index}>
|
||||
<Link href={link.URL}>
|
||||
<Link href={link.URL} legacyBehavior>
|
||||
{link.TEXT}
|
||||
</Link>
|
||||
</li>
|
||||
|
||||
@@ -15,7 +15,7 @@ export const Information = (props) => {
|
||||
<ul>
|
||||
{linksArray.map((link, index) => (
|
||||
<li key={index}>
|
||||
<Link href={link.URL}>
|
||||
<Link href={link.URL} legacyBehavior>
|
||||
{link.TEXT}
|
||||
</Link>
|
||||
</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 = () => {
|
||||
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' }}>
|
||||
<h1 style={{ fontSize: '1.5rem' }}>
|
||||
<NextLink href="/" passHref>
|
||||
<a style={{ color: '#374151', textDecoration: 'none' }}>Ballistic Builder</a>
|
||||
<h1 style={{ fontSize: '1.5rem', }}>
|
||||
<NextLink href="/" passHref style={{ color: '#FFFFFF', textDecoration: 'none' }}>
|
||||
Ballistic Builder
|
||||
</NextLink>
|
||||
</h1>
|
||||
<nav style={{ display: 'flex', gap: '24px' }}>
|
||||
<NextLink href="/builder" passHref>
|
||||
<a style={{ color: '#374151', textDecoration: 'underline' }}>Builder</a>
|
||||
<NextLink
|
||||
href="/Builder"
|
||||
passHref
|
||||
style={{ color: '#FFFFFF', textDecoration: 'underline' }}>
|
||||
Builder
|
||||
</NextLink>
|
||||
<NextLink href="/products" passHref>
|
||||
<a style={{ color: '#374151', textDecoration: 'underline' }}>Products</a>
|
||||
<NextLink
|
||||
href="/Products"
|
||||
passHref
|
||||
style={{ color: '#FFFFFF', textDecoration: 'underline' }}>
|
||||
Products
|
||||
</NextLink>
|
||||
<NextLink href="/auth/signin" passHref>
|
||||
<a style={{ color: '#374151', textDecoration: 'underline' }}>Sign In</a>
|
||||
<NextLink
|
||||
href="/auth/signin"
|
||||
passHref
|
||||
style={{ color: '#FFFFFF', textDecoration: 'underline' }}>
|
||||
Sign In
|
||||
</NextLink>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
</header>)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -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 },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user