refactor: improve UI components

This commit is contained in:
--remove-section committed 2026-01-17 20:20:20 +05:30
1 parent 79c70e6d46
commit 690070207b
14 files changed
+220 -246

No files matched your search

+5 -5
View File
@@ -130,11 +130,11 @@ export const AppBar = () => {
>
<div className="flex flex-row" style={{ gap: "0.6em" }}>
<IconButton onClick={handleDrawerOpen}>
<div className="material-symbols-rounded">menu</div>
<span className="material-symbols-rounded">menu</span>
</IconButton>
<MemoizeBackButton />
<IconButton onClick={handleNavigateToHome}>
<div
<span
className={
location.pathname === "/home"
? "material-symbols-rounded fill"
@@ -142,16 +142,16 @@ export const AppBar = () => {
}
>
home
</div>
</span>
</IconButton>
</div>
<div className="flex flex-row" style={{ gap: "0.6em" }}>
<IconButton onClick={toggleSearchDialog}>
<div className="material-symbols-rounded">search</div>
<span className="material-symbols-rounded">search</span>
</IconButton>
<IconButton onClick={handleNavigateToFavorite}>
<div className="material-symbols-rounded">favorite</div>
<span className="material-symbols-rounded">favorite</span>
</IconButton>
<UserAvatarMenu />
</div>