Skip to content

Commit

Permalink
removed icons from sidebars
Browse files Browse the repository at this point in the history
  • Loading branch information
jhilker98 committed Mar 11, 2024
1 parent 30e3d27 commit 3bf267e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
8 changes: 1 addition & 7 deletions src/components/FixedSidebar.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import { SITE_META } from "@consts";
import type { SocialLink } from "@types";
import { Icon } from "astro-icon";
//import { Icon } from "astro-icon";
import { Image } from "astro:assets";
import sidebar from "@assets/img/sidebar.svg";
import SearchWidget from "@components/SearchWidget.astro";
Expand All @@ -26,12 +26,6 @@ import SearchWidget from "@components/SearchWidget.astro";
href={link.href}
class="text-branding-white hover:text-blue-400 transition-colors duration-75 group"
title={link.name}>
<Icon
name={link.icon}
class="h-5 w-5 fill-branding-white hover:fill-blue-400"
aria-hidden="true"
focusable="false"
/>
<span class="sr-only">{link.name}</span>
</a>
))}
Expand Down
7 changes: 0 additions & 7 deletions src/components/MobileSidebar.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import { SITE_META } from "@consts";
import { Icon } from "astro-icon";
import { Image } from "astro:assets";
import { type SocialLink } from "@types";
import "@fontsource/ibm-plex-sans/600.css";
Expand Down Expand Up @@ -42,12 +41,6 @@ import SearchWidget from "@components/SearchWidget.astro";
class="text-branding-white hover:text-blue-400 transition-colors duration-75 group"
aria-label={link.name}
title={link.name}>
<Icon
name={link.icon}
class="h-5 w-5 fill-branding-white hover:fill-blue-400"
focusable="false"
aria-hidden="true"
/>
<span class="sr-only">{link.name}</span>
</a>
))}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ const { title, description } = Astro.props;
<slot />
</main>
</div>
<MobileSidebar />
<!-- <MobileSidebar /> -->
</body>
</html>

0 comments on commit 3bf267e

Please sign in to comment.