drfeely.com/components/Navbar/NavPages.tsx

34 lines
876 B
TypeScript
Raw Normal View History

2023-07-23 22:26:35 +00:00
import { useState } from "react";
import NavLink from "./NavLink";
interface Props {
currentPageClasses: string;
}
2023-08-26 02:18:11 +00:00
const NavPages = ({ currentPageClasses }: Props) => {
2023-07-23 22:26:35 +00:00
return (
<>
2023-08-26 02:18:11 +00:00
<NavLink page="/" currentPageClasses={currentPageClasses}>
2023-07-23 22:26:35 +00:00
Home
</NavLink>
2024-08-02 19:42:31 +00:00
<NavLink page="/office" currentPageClasses={currentPageClasses}>
Office
</NavLink>
2023-08-26 02:18:11 +00:00
<NavLink page="/osteopathy" currentPageClasses={currentPageClasses}>
2023-07-23 22:26:35 +00:00
Osteopathy
</NavLink>
<NavLink page="/acupuncture" currentPageClasses={currentPageClasses}>
Acupuncture
2023-07-23 22:26:35 +00:00
</NavLink>
2023-08-26 02:18:11 +00:00
<NavLink page="/articles" currentPageClasses={currentPageClasses}>
2023-07-23 22:26:35 +00:00
Articles
</NavLink>
2023-08-26 02:18:11 +00:00
<NavLink page="/nor" currentPageClasses={currentPageClasses}>
2023-07-23 22:26:35 +00:00
Neuro Ocular Release
</NavLink>
</>
);
};
export default NavPages;