Skip to content

Commit

Permalink
add all icons via iconfiy
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s committed Dec 18, 2024
1 parent 3f05656 commit 7240547
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions web/src/components/atomic/Icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,17 @@
<SvgIcon v-else-if="name === 'visibility-private'" :path="mdiLockOutline" size="24" />
<SvgIcon v-else-if="name === 'visibility-internal'" :path="mdiLockOpenOutline" size="24" />

<iconify-icon v-else-if="name === 'forgejo'" icon="devicon:forgejo" />
<!-- <i v-else-if="name === 'forgejo'" class="devicon-forgejo-plain" />
<i v-else-if="name === 'github'" class="devicon-github-plain" />
<i v-else-if="name === 'gitlab'" class="devicon-gitlab-plain" /> -->
<SvgIcon v-else-if="name === 'gitea'" :path="siGitea.path" size="32" color="#609926" />
<iconify-icon v-else-if="name === 'forgejo'" icon="devicon:forgejo" width="32" height="32" />
<iconify-icon v-else-if="name === 'gitlab'" icon="devicon:gitlab" width="32" height="32" />
<iconify-icon v-else-if="name === 'github'" icon="devicon:github" width="32" height="32" />
<iconify-icon
v-else-if="name === 'gitea'"
icon="simple-icons:gitea"
width="32"
height="32"
style="color: #609926"
;
/>

<svg v-else-if="name === 'spinner'" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path
Expand All @@ -83,7 +89,8 @@
</template>

<script lang="ts" setup>
import "iconify-icon";
import 'iconify-icon';

import {
mdiAlarm,
mdiAlertCircle,
Expand Down Expand Up @@ -125,7 +132,6 @@ import {
mdiTimerOutline,
mdiTrashCanOutline,
} from '@mdi/js';
import { siGitea } from 'simple-icons';

import SvgIcon from './SvgIcon.vue';

Expand Down

0 comments on commit 7240547

Please sign in to comment.