Skip to content

Commit

Permalink
perf(projects): remove system logo fill
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Oct 21, 2023
1 parent 88e6438 commit e02d025
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion src/assets/svg-icon/logo-fill.svg

This file was deleted.

12 changes: 1 addition & 11 deletions src/components/common/system-logo.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
<script lang="ts" setup>
defineOptions({ name: 'SystemLogo' });
interface Props {
/**
* Whether fill the logo.
*/
fill?: boolean;
}
defineProps<Props>();
</script>

<template>
<IconLocalLogoFill v-if="fill" />
<IconLocalLogo v-else />
<IconLocalLogo />
</template>

<style scoped></style>
1 change: 0 additions & 1 deletion src/typings/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ declare module 'vue' {
ExceptionBase: typeof import('./../components/common/exception-base.vue')['default']
HoverContainer: typeof import('./../components/common/hover-container.vue')['default']
IconLocalLogo: typeof import('~icons/local/logo')['default']
IconLocalLogoFill: typeof import('~icons/local/logo-fill')['default']
LookForward: typeof import('./../components/custom/look-forward.vue')['default']
MenuToggler: typeof import('./../components/custom/menu-toggler.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
Expand Down

0 comments on commit e02d025

Please sign in to comment.