Skip to content

Commit

Permalink
fix: header view
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Oct 30, 2022
1 parent 180008c commit 80ea0f2
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@ function Header() {

return (
<nav className="navbar bg-neutral text-neutral-content mb-3">
<div className="flex-1 mx-auto px-4">
<Link to="/" className="btn btn-ghost normal-case text-xl">Local microblogging client</Link>
<div className="flex-1">
<Link to="/" className="btn btn-ghost normal-case text-xl">Microblogging</Link>
</div>
<div className="flex-none">
<div className="flex-none justify-between">
<input type="checkbox" className="toggle toggle-sm mr-6" data-toggle-theme="forest,winter" data-act-class="ACTIVECLASS" />
<div>
<form className="form-inline navbar-end">
<Link
to="/posts/new"
className="btn btn-outline btn-primary"
>
New post
</Link>
</form>
</div>
<form className="form-inline navbar-end">
<Link
to="/posts/new"
className="btn btn-outline btn-primary"
>
New post
</Link>
</form>
</div>
</nav>
);
Expand Down

0 comments on commit 80ea0f2

Please sign in to comment.