Skip to content

Commit

Permalink
refactor: 删除IconComponents,改用tailwindcss icon class
Browse files Browse the repository at this point in the history
  • Loading branch information
SadWood committed Apr 2, 2024
1 parent 38b6b53 commit 8f38898
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 52 deletions.
10 changes: 5 additions & 5 deletions src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<template>
<WelcomeItem>
<template #icon>
<IconDocumentation />
<span class="icon-vue-documentation size-5" />
</template>
<template #heading>
Documentation
Expand All @@ -17,7 +17,7 @@

<WelcomeItem>
<template #icon>
<IconTooling />
<span class="icon-vue-tooling size-5" />
</template>
<template #heading>
Tooling
Expand All @@ -39,7 +39,7 @@

<WelcomeItem>
<template #icon>
<IconEcosystem />
<span class="icon-vue-ecosystem size-5" />
</template>
<template #heading>
Ecosystem
Expand All @@ -57,7 +57,7 @@

<WelcomeItem>
<template #icon>
<IconCommunity />
<span class="icon-vue-community size-5" />
</template>
<template #heading>
Community
Expand All @@ -75,7 +75,7 @@

<WelcomeItem>
<template #icon>
<IconSupport />
<span class="icon-vue-support size-5" />
</template>
<template #heading>
Support Vue
Expand Down
7 changes: 0 additions & 7 deletions src/components/icons/IconCommunity.vue

This file was deleted.

7 changes: 0 additions & 7 deletions src/components/icons/IconDocumentation.vue

This file was deleted.

7 changes: 0 additions & 7 deletions src/components/icons/IconEcosystem.vue

This file was deleted.

7 changes: 0 additions & 7 deletions src/components/icons/IconSupport.vue

This file was deleted.

19 changes: 0 additions & 19 deletions src/components/icons/IconTooling.vue

This file was deleted.

1 change: 1 addition & 0 deletions src/icons/vue/community.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/icons/vue/documentation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/icons/vue/ecosystem.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/icons/vue/support.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/icons/vue/tooling.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8f38898

Please # to comment.