0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-11-16 10:32:40 +09:00
yude.jp/pages/components/Navbar.js

24 lines
696 B
JavaScript
Raw Normal View History

import "tailwindcss/tailwind.css";
import Popper from "popper.js";
import Link from 'next/link';
import LangSelector from "./LangSelector"
const Navbar = () => {
return (
<>
2021-02-06 14:55:35 +09:00
<nav className='flex items-center flex-wrap p-3'>
<Link href='/'>
2021-02-06 14:55:35 +09:00
<a className='inline-flex items-center p-2 mr-4'>
2021-02-08 16:05:58 +09:00
<span className='text-xl text-white font-bold tracking-wide dark:text-white font-mono animate-heartbeat'>
yude.jp
</span>
</a>
</Link>
<div className="origin-top-right absolute right-0">
<LangSelector />
</div>
</nav>
</>
);
};
export default Navbar