Optimize images (PNG → AVIF)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import sky from '~/assets/images/textures/sky.png'
|
||||
import particles from '~/assets/images/textures/particles.png'
|
||||
import sky from 'assets/images/textures/sky.png'
|
||||
import particles from 'assets/images/textures/particles.png'
|
||||
|
||||
const { $local } = useNuxtApp()
|
||||
const config = useAppConfig()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { usePageStore } from '~/stores/pages'
|
||||
|
||||
import logo from '~/assets/images/logo.gif'
|
||||
import logo from 'assets/images/logo.avif'
|
||||
|
||||
const pageStore = usePageStore()
|
||||
const { pages } = storeToRefs(pageStore)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import cogIcon from '~/assets/images/icons/cog.png'
|
||||
import pearlIcon from '~/assets/images/icons/pearl.gif'
|
||||
import cogIcon from 'assets/images/icons/cog.avif'
|
||||
import pearlIcon from 'assets/images/icons/pearl.avif'
|
||||
|
||||
const config = useAppConfig()
|
||||
const { animate } = storeToRefs(usePageStore())
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
import type { PropType } from 'vue'
|
||||
|
||||
import warningIcon from '~/assets/images/icons/accent/warning.png'
|
||||
import errorIcon from '~/assets/images/icons/accent/error.png'
|
||||
import infoIcon from '~/assets/images/icons/accent/info.png'
|
||||
import helpIcon from '~/assets/images/icons/accent/help.png'
|
||||
import checkIcon from '~/assets/images/icons/accent/checkmark.png'
|
||||
import ideaIcon from '~/assets/images/icons/accent/idea.png'
|
||||
import warningIcon from 'assets/images/icons/accent/warning.avif'
|
||||
import errorIcon from 'assets/images/icons/accent/error.avif'
|
||||
import infoIcon from 'assets/images/icons/accent/info.avif'
|
||||
import helpIcon from 'assets/images/icons/accent/help.avif'
|
||||
import checkIcon from 'assets/images/icons/accent/checkmark.avif'
|
||||
import ideaIcon from 'assets/images/icons/accent/idea.avif'
|
||||
|
||||
type IconOptions = 'warning' | 'error' | 'info' | 'help' | 'checkmark' | 'idea'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user