Skip to content

Commit

Permalink
perf: Set appropriate logo dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Oct 22, 2023
1 parent 29607a0 commit 519e302
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion components/Logo/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ withDefaults(defineProps<{ width?: number, height?:number }>(), {
height: 50
})
const src = computed(() => colorMode.value === 'light' ? '/logos/light.svg' : '/logos/dark.svg')
const src = computed(() => colorMode.value === 'light' ? '/logos/light.png' : '/logos/dark.png')
</script>
Binary file added public/logos/dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 0 additions & 10 deletions public/logos/dark.svg

This file was deleted.

Binary file added public/logos/light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 0 additions & 10 deletions public/logos/light.svg

This file was deleted.

0 comments on commit 519e302

Please sign in to comment.