30 lines
773 B
TypeScript
30 lines
773 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="/acupuncture" currentPageClasses={currentPageClasses}>
|
|
Acupuncture
|
|
</NavLink>
|
|
<NavLink page="/articles" currentPageClasses={currentPageClasses}>
|
|
Articles
|
|
</NavLink>
|
|
<NavLink page="/nor" currentPageClasses={currentPageClasses}>
|
|
Neuro Ocular Release
|
|
</NavLink>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default NavPages;
|