Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: icon changes on sidebar #427

Merged
merged 5 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 3 additions & 57 deletions src/app/NavBarSidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -91,48 +91,6 @@ const permittedPages = RolePermissions.find(
</>
)
}

<!-- Search mobile -->

<!-- <button
id="toggleSidebarMobileSearch"
type="button"
class="p-2 text-gray-500 rounded-lg lg:hidden hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
> -->
<!-- <span class="sr-only">Search</span> -->

<!-- Search icon -->
<!-- <svg
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
clip-rule="evenodd"></path>
</svg> -->
<!-- </button> -->
<!-- Notifications -->
<!-- <button
type="button"
data-dropdown-toggle="notification-dropdown"
class="p-2 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700"
>
<span class="sr-only">View notifications</span> -->
<!-- Bell icon -->
<!-- <svg
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
><path
d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"
></path></svg
>
</button> -->
<!-- Dropdown menu -->
<div
id="dropdownNavbar"
class="z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600"
Expand Down Expand Up @@ -434,21 +392,9 @@ const permittedPages = RolePermissions.find(
>
<span class="sr-only">View</span>
<!-- Icon -->
<svg
xmlns="http://www.w3.org/2000/svg"
width="22"
height="22"
fill="none"
viewBox="0 0 30 30"
>
<path
stroke="#6B7280"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2.5"
d="M14 2.219c2.289 0 4.484.814 6.102 2.265C21.721 5.934 22.63 7.9 22.63 9.95c0 3.173.711 5.548 1.634 7.295 1.178 2.232 1.768 3.347 1.735 3.602-.038.298-.087.38-.33.553-.208.15-1.242.15-3.31.15H5.64c-2.068 0-3.102 0-3.31-.15-.243-.173-.291-.255-.33-.553-.032-.255.557-1.37 1.735-3.602.923-1.747 1.634-4.122 1.634-7.295 0-2.05.91-4.017 2.528-5.467C9.516 3.034 11.71 2.219 14 2.219Zm0 0v.003M9.771 26.383a6.35 6.35 0 0 0 4.235 1.614 6.35 6.35 0 0 0 4.235-1.614"
></path></svg
>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
<path stroke="#6B7280" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M20.047 16.473c-1.204-1.473-2.053-2.223-2.053-6.285 0-3.72-1.9-5.044-3.463-5.688a.835.835 0 0 1-.466-.495C13.79 3.072 13.022 2.25 12 2.25s-1.791.823-2.063 1.756a.827.827 0 0 1-.466.494c-1.565.645-3.463 1.965-3.463 5.688-.002 4.062-.852 4.812-2.056 6.285-.499.61-.062 1.527.81 1.527h14.48c.867 0 1.301-.92.805-1.527ZM15 18v.75a3 3 0 0 1-6 0V18"/>
</svg>
</button>
<!-- Dropdown menu -->
<div
Expand Down
Loading