drfeely.com/website/components/Navbar/NavPages.tsx

30 lines
775 B
TypeScript

import { useState } from "react";
import NavLink from "./NavLink";
interface Props {
currentPageClasses: string;
}
const NavPages = ({ currentPageClasses }: Props) => {
return (
<>
<NavLink page="/" currentPageClasses={currentPageClasses}>
Home
</NavLink>
<NavLink page="/osteopathy" currentPageClasses={currentPageClasses}>
Osteopathy
</NavLink>
<NavLink page="/accupuncture" currentPageClasses={currentPageClasses}>
Accupuncture
</NavLink>
<NavLink page="/articles" currentPageClasses={currentPageClasses}>
Articles
</NavLink>
<NavLink page="/nor" currentPageClasses={currentPageClasses}>
Neuro Ocular Release
</NavLink>
</>
);
};
export default NavPages;