use constants.APP_NAME

This commit is contained in:
2024-12-13 12:16:29 -05:00
parent b4d91ea36a
commit 49cbc11a94
11 changed files with 30 additions and 28 deletions

View File

@@ -1,12 +1,12 @@
import Link from "next/link";
import constants from "@src/lib/constants";
export default function Home() {
return (
(<div className="bg-gray-100 min-h-screen flex flex-col">
{/* Header Section */}
<header className="bg-gray-800 text-white py-4 shadow-md">
<div className="container mx-auto px-6 flex justify-between items-center">
<h1 className="text-2xl font-bold">Ballistic Builder</h1>
<h1 className="text-2xl font-bold">{constants.APP_NAME}</h1>
<nav>
<ul className="flex space-x-4">
<li><Link href="#features" className="hover:underline">Features</Link></li>
@@ -64,7 +64,7 @@ export default function Home() {
<div className="container mx-auto px-6 text-center">
<h3 className="text-3xl font-bold mb-6">About Us</h3>
<p className="text-gray-700">
Ballistic Builderis your go-to platform for customizing, building,
{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>
@@ -89,7 +89,7 @@ export default function Home() {
{/* Footer Section */}
<footer className="bg-gray-800 text-white py-4">
<div className="container mx-auto px-6 text-center">
<p>&copy; {new Date().getFullYear()} Ballistic Builder. All rights reserved.</p>
<p>&copy; {new Date().getFullYear()} {constants.APP_NAME}. All rights reserved.</p>
</div>
</footer>
</div>)