'use client';
import '@/app/globals.css'
import { usePathname } from 'next/navigation'
import Links from '@/public/routes.json'; // move to api again but use this for inital hydration
import Link from 'next/link';
import React from 'react';
export const PageNavbar = (props: {links: any}) => {
const path = usePathname();
let navbar: JSX.Element
if (props.links.length != 0) {
navbar = (
);
}
else {
navbar = (
);
}
return navbar;
}