mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
footer fixed, added stub content
This commit is contained in:
@@ -4,7 +4,7 @@ import { brandType } from "src/types/brandType";
|
||||
import Brand from "./brand";
|
||||
import AddBrand from "./addBrand";
|
||||
import { addBrand, deleteBrand, editBrand } from "../../actions/brandActions";
|
||||
import Footer from "@components/site/Footer";
|
||||
import Footer from "@src/app/site/Footer/page";
|
||||
import constants from "@src/lib/constants";
|
||||
interface Props {
|
||||
brands: brandType[];
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import Header from "../Header";
|
||||
import Hero from "../Hero";
|
||||
import FeaturesSection from "../FeaturesSection";
|
||||
import About from "../site/About";
|
||||
import Contact from "../site/Contact";
|
||||
import Footer from "../site/Footer";
|
||||
import About from "../../app/site/About/page";
|
||||
import Contact from "../../app/site/Contact/page";
|
||||
import Footer from "../../app/site/Footer/page";
|
||||
|
||||
export default function HomeContent() {
|
||||
|
||||
|
||||
@@ -14,15 +14,16 @@ const navigation = {
|
||||
{ name: 'Guides', href: '/Guides' },
|
||||
],
|
||||
about: [
|
||||
{ name: 'About', href: '#' },
|
||||
{ name: 'Blog', href: '#' },
|
||||
{ name: 'Jobs', href: '#' },
|
||||
{ name: 'Press', href: '#' },
|
||||
{ name: 'About', href: '/site/About' },
|
||||
{ name: 'Blog', href: '/site/Blog' },
|
||||
{ name: 'Jobs', href: '/site/Jobs' },
|
||||
{ name: 'Press', href: '/site/Press' },
|
||||
{ name: 'Contact', href: '/site/Contact' },
|
||||
],
|
||||
legal: [
|
||||
{ name: 'Terms of service', href: '#' },
|
||||
{ name: 'Privacy policy', href: '#' },
|
||||
{ name: 'Affiliate Disclosure', href: '#' },
|
||||
{ name: 'Terms of service', href: '/site/TOS' },
|
||||
{ name: 'Privacy policy', href: '/site/PP' },
|
||||
{ name: 'Affiliate Disclosure', href: '/site/Disclosure' },
|
||||
],
|
||||
social: [
|
||||
{
|
||||
@@ -115,9 +116,9 @@ export default function Footer() {
|
||||
<ul role="list" className="mt-6 space-y-4">
|
||||
{navigation.about.map((item) => (
|
||||
<li key={item.name}>
|
||||
<a href={item.href} className="text-sm/6 text-gray-400 hover:text-white">
|
||||
<Link href={item.href} className="text-sm/6 text-gray-400 hover:text-white">
|
||||
{item.name}
|
||||
</a>
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
@@ -127,9 +128,9 @@ export default function Footer() {
|
||||
<ul role="list" className="mt-6 space-y-4">
|
||||
{navigation.legal.map((item) => (
|
||||
<li key={item.name}>
|
||||
<a href={item.href} className="text-sm/6 text-gray-400 hover:text-white">
|
||||
<Link href={item.href} className="text-sm/6 text-gray-400 hover:text-white">
|
||||
{item.name}
|
||||
</a>
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
import constants from "@src/lib/constants";
|
||||
|
||||
export default function About() {
|
||||
|
||||
return (
|
||||
|
||||
(
|
||||
<section id="about" className="bg-gray-200 py-20">
|
||||
<div className="container mx-auto px-6 text-center">
|
||||
<h3 className="text-3xl text-gray-700 font-bold mb-6 ">About Us</h3>
|
||||
<p className="text-gray-700">
|
||||
{constants.APP_NAME} is your go-to platform for customizing, building,
|
||||
and exploring firearm parts. Designed for enthusiasts by
|
||||
enthusiasts, we make firearm building easy and accessible.
|
||||
</p>
|
||||
<button className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Click me test</button>
|
||||
{/* <Button className="bg-gray-950 text-grey-100 hover:translate-y-[-2px] transition duration-300">Click me test</Button> */}
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
)
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
import Link from "next/link";
|
||||
|
||||
export default function Contact() {
|
||||
|
||||
return (
|
||||
(
|
||||
<section id="contact" className="py-20">
|
||||
<div className="container mx-auto px-6 text-center">
|
||||
<h3 className="text-3xl font-bold mb-6">Contact Us</h3>
|
||||
<p className="text-gray-700 mb-6">
|
||||
Have questions or feedback? We’d love to hear from you!
|
||||
</p>
|
||||
<span>
|
||||
<Link
|
||||
href="mailto:support@ballisticbuilder.com"
|
||||
className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
|
||||
|
||||
Email Us
|
||||
|
||||
</Link>
|
||||
</span>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
)
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
import constants from "@src/lib/constants";
|
||||
|
||||
export default function Footer() {
|
||||
|
||||
return (
|
||||
(
|
||||
<footer className="bg-gray-950 text-white py-4">
|
||||
<div className="container mx-auto px-6 text-center">
|
||||
<p>© {new Date().getFullYear()} {constants.APP_NAME}. All rights reserved.</p>
|
||||
<p>Built by Forward Group ⚡</p>
|
||||
|
||||
</div>
|
||||
</footer>
|
||||
)
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user