-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DaisyUI and build new navbar with links with it (#45)
* Add DaisyUI * Add NavBar
- Loading branch information
1 parent
54f135a
commit b4a7e9b
Showing
5 changed files
with
79 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
export const NavBar = () => { | ||
return ( | ||
<div className="navbar bg-gray-700"> | ||
<div className="flex-1"> | ||
<a className="btn btn-ghost text-xl">Mayhem Hub</a> | ||
</div> | ||
<div className="flex-none"> | ||
<ul className="menu menu-horizontal px-1"> | ||
<li> | ||
<a href="https://wiki.hackrf.app" target="_blank"> | ||
Wiki | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://repo.hackrf.app" target="_blank"> | ||
Repo | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://release.hackrf.app" target="_blank"> | ||
Firmware Releases | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,6 @@ const config: Config = { | |
}, | ||
}, | ||
}, | ||
plugins: [], | ||
plugins: [require("daisyui")], | ||
}; | ||
export default config; |