mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-23 11:01:03 +00:00
chore: Bump deps to latest (#213)
This commit is contained in:
2
src/app.d.ts
vendored
2
src/app.d.ts
vendored
@@ -10,7 +10,7 @@ declare namespace App {
|
||||
// interface Stuff {}
|
||||
}
|
||||
|
||||
declare module '*&picture' {
|
||||
declare module '*&as=picture' {
|
||||
/**
|
||||
* actual types
|
||||
* taken from https://github.com/JonasKruckenberg/imagetools/issues/160#issuecomment-1009292026
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import Picture from '$lib/components/Picture.svelte';
|
||||
import manager_screenshot from '$images/manager.png?w=1233;822;411&format=avif;webp;png&picture';
|
||||
import manager_screenshot from '$images/manager.png?w=1233;822;411&format=avif;webp;png&as=picture';
|
||||
</script>
|
||||
|
||||
<div class="hero-img">
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
</script>
|
||||
|
||||
<picture>
|
||||
{#each Object.entries(data.sources) as [format, images]}
|
||||
<source srcset={images.map((img) => `${img.src} ${img.w}w`).join(', ')} type="image/{format}" />
|
||||
{#each Object.entries(data.sources) as [format, srcset]}
|
||||
<source {srcset} type="image/{format}" />
|
||||
{/each}
|
||||
<img {alt} src={data.fallback.src} />
|
||||
<img {alt} src={data.img.src} />
|
||||
</picture>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
import { createQuery } from '@tanstack/svelte-query';
|
||||
|
||||
import manager_screenshot from '$images/manager.png?format=avif;webp;png&picture';
|
||||
import manager_screenshot from '$images/manager.png?format=avif;webp;png&as=picture';
|
||||
|
||||
import Head from '$lib/components/Head.svelte';
|
||||
import Query from '$lib/components/Query.svelte';
|
||||
|
||||
Reference in New Issue
Block a user