Compare commits
No commits in common. "6aaf4ecfb42b676ab9cd1f569c83304d91fa3aa9" and "2ae789e6a64461b3ad4802007308148e5294e8e2" have entirely different histories.
6aaf4ecfb4
...
2ae789e6a6
1
src/lib/components/.jukit/.jukit_info.json
Normal file
1
src/lib/components/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"display_param": "0", "terminal": "nvimterm"}
|
@ -11,14 +11,6 @@ if(icon_override){
|
||||
}
|
||||
|
||||
let isloaded = false
|
||||
|
||||
import { onMount } from "svelte";
|
||||
onMount(() => {
|
||||
const el = document.querySelector("img")
|
||||
if(el.complete){
|
||||
isloaded = true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
.card{
|
||||
|
@ -2,14 +2,6 @@
|
||||
export let src
|
||||
export let placeholder_src
|
||||
let isloaded=false
|
||||
import { onMount } from "svelte";
|
||||
onMount(() => {
|
||||
const el = document.querySelector("img")
|
||||
if(el.complete){
|
||||
isloaded = true
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
<style>
|
||||
:root {
|
||||
@ -68,7 +60,7 @@
|
||||
object-fit: cover;
|
||||
object-position: 50% 20%;
|
||||
backdrop-filter: blur(20px);
|
||||
transition: 50ms;
|
||||
transition: 200ms;
|
||||
filter: blur(20px);
|
||||
z-index: -10;
|
||||
}
|
||||
@ -114,7 +106,7 @@ div:has(.placeholder){
|
||||
<div>
|
||||
<div class=placeholder style="background-image:url({placeholder_src})" >
|
||||
<div class=placeholder_blur>
|
||||
<img class:unblur={isloaded} id=image {src} on:load={() => {isloaded=true}} alt=""/>
|
||||
<img class:unblur={isloaded} id=image {src} on:load={() => isloaded=true} alt=""/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
1
src/routes/rezepte/.jukit/.jukit_info.json
Normal file
1
src/routes/rezepte/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "nvimterm"}
|
1
src/routes/rezepte/[name]/.jukit/.jukit_info.json
Normal file
1
src/routes/rezepte/[name]/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "nvimterm"}
|
1
src/routes/rezepte/add/.jukit/.jukit_info.json
Normal file
1
src/routes/rezepte/add/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "nvimterm"}
|
1
src/routes/rezepte/edit/.jukit/.jukit_info.json
Normal file
1
src/routes/rezepte/edit/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "nvimterm"}
|
1
src/routes/rezepte/icon/.jukit/.jukit_info.json
Normal file
1
src/routes/rezepte/icon/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "nvimterm"}
|
1
src/routes/rezepte/season/.jukit/.jukit_info.json
Normal file
1
src/routes/rezepte/season/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "nvimterm"}
|
1
src/routes/rezepte/tag/.jukit/.jukit_info.json
Normal file
1
src/routes/rezepte/tag/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "nvimterm"}
|
1
src/routes/rezepte/tag/[tag]/.jukit/.jukit_info.json
Normal file
1
src/routes/rezepte/tag/[tag]/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "nvimterm"}
|
Loading…
Reference in New Issue
Block a user