mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-23 04:30:11 +09:00
24 lines
668 B
JavaScript
24 lines
668 B
JavaScript
import "tailwindcss/tailwind.css";
|
|
import Popper from "popper.js";
|
|
import Link from 'next/link';
|
|
import LangSelector from "./LangSelector"
|
|
|
|
const Navbar = () => {
|
|
return (
|
|
<>
|
|
<nav className='flex items-center flex-wrap p-3'>
|
|
<Link href='/'>
|
|
<a className='inline-flex items-center p-2 mr-4'>
|
|
<span className='text-xl text-black font-bold tracking-wide dark:text-white'>
|
|
yude.jp
|
|
</span>
|
|
</a>
|
|
</Link>
|
|
<div className="origin-top-right absolute right-0">
|
|
<LangSelector />
|
|
</div>
|
|
</nav>
|
|
</>
|
|
);
|
|
};
|
|
export default Navbar |