Added feather-icons
This commit is contained in:
parent
415f75d29f
commit
1d1211cb3b
5 changed files with 21 additions and 6 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -26,6 +26,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@eslint/js": "^9.1.1",
|
||||
"feather-icons": "^4.29.1",
|
||||
"sharp": "^0.33.3",
|
||||
"typescript-eslint": "^7.7.1",
|
||||
"vite-plugin-image-optimizer": "^1.1.7",
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
<title>{{ template "title" . }}</title>
|
||||
{{ block "scripts" . }}{{end}}
|
||||
{{ viteAsset "/styles/app.css" }}
|
||||
<script type="module">
|
||||
import feather from "feather-icons";
|
||||
|
||||
feather.replace();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg-slate-600 w-full">
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
.editor-control-selected {
|
||||
|
||||
}
|
|
@ -25,10 +25,22 @@
|
|||
</ul>
|
||||
</div>
|
||||
<div class="navbar-end">
|
||||
<div tabindex="0" role="button" class="btn btn-ghost btn-circle avatar">
|
||||
<div class="w-10 rounded-full">
|
||||
{{ viteAsset "/assets/download.png" `alt="user profile image"` }}
|
||||
<div class="dropdown dropdown-end">
|
||||
<div tabindex="0" role="button" class="btn btn-ghost btn-circle avatar">
|
||||
<div class="w-10 rounded-full">
|
||||
{{ viteAsset "/assets/download.png" `alt="user profile image"` }}
|
||||
</div>
|
||||
</div>
|
||||
<ul tabindex="0" class="dropdown-content z-[1] menu border border-slate-600 rounded-box p-2 bg-slate-800 w-52">
|
||||
<li><a href="/user/settings">User Settings</a></li>
|
||||
<li><a href="/shadow/admin">Admin Panel</a></li>
|
||||
<li>
|
||||
<a href="/user/logout">
|
||||
<i data-feather="log-out" class="stroke-red-400 w-[16px]"></i>
|
||||
Logout
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in a new issue