import { usePathname } from 'next/navigation' import { NavBar, NavLink, NavWrap } from './styles/navbar'; import { StyleSelector, StyleSelectorPlaceholder } from './themeselector'; import Links from '../public/data/navbar.json'; const PageNavbar = () => { const path = usePathname(); return ( {Links.links.map((item) => ( {item.name} ))} Mastodon ); } export default PageNavbar;