Skip to content

Commit 058fac4

Browse files
committed
Rename home landing page links
1 parent 2a34786 commit 058fac4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/components/reusable/HomeNavbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { useState, useRef, useEffect } from "react";
33
import { IoMdClose } from "react-icons/io";
44
import { GiHamburgerMenu } from "react-icons/gi";
5-
import { NAVBAR_LINKS } from "@/app/utils/constants";
5+
import { HOME_PAGE_NAVBAR_LINKS } from "@/app/utils/constants";
66
import { v4 as uuidv4 } from "uuid";
77
import Link from "next/link";
88
import { Zklogin, AccountData } from "@/app/utils/Zklogin";
@@ -48,7 +48,7 @@ const Navbar = () => {
4848
</Link>
4949
{/* large screen size nav links and login button */}
5050
<div className="hidden lg:flex md:gap-10 lg:gap-14">
51-
{NAVBAR_LINKS.map(({ label, link }) => (
51+
{HOME_PAGE_NAVBAR_LINKS.map(({ label, link }) => (
5252
<Link
5353
key={uuidv4()}
5454
href={link}

app/utils/constants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const LANDING_PAGE_BUTTON = [
106106
},
107107
];
108108

109-
export const NAVBAR_LINKS = [
109+
export const HOME_PAGE_NAVBAR_LINKS = [
110110
{
111111
label: "Meet new",
112112
link: "/",

0 commit comments

Comments
 (0)