diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 33177b8..ef625c6 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,13 +1,12 @@ -//import { Provider } from "../components/ui/provider" import "../styles/globals.css"; import Navbar from "../components/Navbar"; import PopNav from "@src/components/PopNav/page"; import { Roboto } from 'next/font/google' - +import constants from "@src/lib/constants"; export const metadata = { - title: 'Ballistic Builder', - description: 'Freedom On', + title: constants.APP_NAME, + description: constants.DESCRIPTION, } const roboto = Roboto({ diff --git a/src/app/signin/layout.tsx b/src/app/signin/layout.tsx index 74476b0..b7963bb 100644 --- a/src/app/signin/layout.tsx +++ b/src/app/signin/layout.tsx @@ -1,6 +1,7 @@ +import constants from "@src/lib/constants" export const metadata = { - title: 'Ballistic Bu8ilder', - description: 'Generated by Forward Group, LLC', + title: constants.APP_NAME, + description: constants.DESCRIPTION, } export default function RootLayout({ diff --git a/src/app/signin/page.tsx b/src/app/signin/page.tsx index d445b88..e86bdc6 100644 --- a/src/app/signin/page.tsx +++ b/src/app/signin/page.tsx @@ -1,6 +1,7 @@ 'use client'; import React, { useState } from 'react'; import { useRouter } from 'next/navigation'; +import constants from '@src/lib/constants'; export default function SignupPage() { const router = useRouter(); @@ -49,7 +50,7 @@ export default function SignupPage() {
Ballistic Builder diff --git a/src/components/Brand/BrandsList.tsx b/src/components/Brand/BrandsList.tsx index 8e30d24..a795623 100644 --- a/src/components/Brand/BrandsList.tsx +++ b/src/components/Brand/BrandsList.tsx @@ -5,7 +5,7 @@ import Brand from "./brand"; import AddBrand from "./addBrand"; import { addBrand, deleteBrand, editBrand } from "../../actions/brandActions"; import Footer from "@components/site/Footer"; - +import constants from "@src/lib/constants"; interface Props { brands: brandType[]; } @@ -38,7 +38,7 @@ const BrandsList: FC = ({ brands }) => { // Rendering the brand List component return (
-
Ballistic Builder Brand
+
{constants.APP_NAME} Brand
{/* Mapping through brand items and rendering brand component for each */} {brandItems.map((brand) => ( diff --git a/src/components/ComponentType/ComponentTypeList.tsx b/src/components/ComponentType/ComponentTypeList.tsx index 085fe7a..bb4bad0 100644 --- a/src/components/ComponentType/ComponentTypeList.tsx +++ b/src/components/ComponentType/ComponentTypeList.tsx @@ -4,6 +4,7 @@ import { componentTypeType } from "src/types/componentTypeType"; import { componentType } from './componentType' // import AddBrand from "./addBrand"; import { getData } from "src/actions/componentTypeActions"; +import constants from "@src/lib/constants"; interface Props { componentType: componentType[]; @@ -37,7 +38,7 @@ const ComponentTypeList: FC = ({ componentType }) => { // Rendering the brand List component return (
-
Ballistic Builder Brand
+
{constants.APP_NAME} Brand
{/* Mapping through brand items and rendering brand component for each */} {brandItems.map((brand) => ( diff --git a/src/components/Header/index-no-chakura.tsx b/src/components/Header/index-no-chakura.tsx index 737b26d..03747e9 100644 --- a/src/components/Header/index-no-chakura.tsx +++ b/src/components/Header/index-no-chakura.tsx @@ -1,4 +1,5 @@ import Link from "next/link"; +import constants from '@lib/constants'; export default function Header() { {/* Header Section */ } @@ -6,7 +7,7 @@ export default function Header() { (
-

Ballistic Builder

+

{constants.APP_NAME}