Re-worked icons
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m48s

This commit is contained in:
2026-02-12 14:22:59 -07:00
parent 33dfea1802
commit 89c1c739c1
23 changed files with 10138 additions and 925 deletions

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { ref, computed, onMounted, onUnmounted } from "vue";
import { config } from "../config";
import type { Component } from "vue";
import Icon from "./Icon.vue";
const props = defineProps<{
currentPath: string;
@@ -109,10 +109,9 @@ onUnmounted(() => {
:data-tip="item.tooltip"
data-astro-prefetch="hover"
>
<component
:is="item.icon as Component"
:size="18"
class="sm:w-5 sm:h-5"
<Icon
:name="item.icon"
class="w-[18px] h-[18px] sm:w-5 sm:h-5"
/>
<span class="sr-only">{{ item.name }}</span>
</a>