move from new.bocken.org to bocken.org
This commit is contained in:
parent
b70c236598
commit
4a2edd85a1
@ -1,6 +1,6 @@
|
|||||||
# Personal Homepage
|
# Personal Homepage
|
||||||
|
|
||||||
My own homepage, bocken.org (new.bocken.org for now), built with svelte-kit.
|
My own homepage, bocken.org, built with svelte-kit.
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
### General
|
### General
|
||||||
|
@ -165,8 +165,8 @@ div:has(div #image){
|
|||||||
|
|
||||||
<a class="card {search}" href="/rezepte/{recipe.short_name}" data-tags=[{recipe.tags}]>
|
<a class="card {search}" href="/rezepte/{recipe.short_name}" data-tags=[{recipe.tags}]>
|
||||||
<div>
|
<div>
|
||||||
<div style="background-image:url({'https://new.bocken.org/static/rezepte/placeholder/' + recipe.short_name + '.webp'})">
|
<div style="background-image:url({'https://bocken.org/static/rezepte/placeholder/' + recipe.short_name + '.webp'})">
|
||||||
<img class:unblur={isloaded} id=image src={'https://new.bocken.org/static/rezepte/thumb/' + recipe.short_name + '.webp'} loading=lazy alt="{recipe.alt}" on:load={() => isloaded=true}/>
|
<img class:unblur={isloaded} id=image src={'https://bocken.org/static/rezepte/thumb/' + recipe.short_name + '.webp'} loading=lazy alt="{recipe.alt}" on:load={() => isloaded=true}/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{#if icon_override || recipe.season.includes(current_month)}
|
{#if icon_override || recipe.season.includes(current_month)}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
const el = document.querySelector("#options")
|
const el = document.querySelector("#options")
|
||||||
el.hidden = !el.hidden
|
el.hidden = !el.hidden
|
||||||
}
|
}
|
||||||
let src="https://new.bocken.org/static/user/thumb/" + username + ".webp"
|
let src="https://bocken.org/static/user/thumb/" + username + ".webp"
|
||||||
onMount( () => {
|
onMount( () => {
|
||||||
document.addEventListener("click", (e) => {
|
document.addEventListener("click", (e) => {
|
||||||
const el = document.querySelector("#button")
|
const el = document.querySelector("#button")
|
||||||
|
@ -70,7 +70,7 @@ section:has(a:hover){
|
|||||||
<p>Die eigenen Rezepte für das ganze Jahr kann man hier finden. Von traditionell Kärntner Küche zu Schweizer Klassikern oder auch das ein oder andere Hipsterrezept findet man für das ganze Jahr Rezepte. An den Rezepten wird kontinuirlich gefeilscht. </p>
|
<p>Die eigenen Rezepte für das ganze Jahr kann man hier finden. Von traditionell Kärntner Küche zu Schweizer Klassikern oder auch das ein oder andere Hipsterrezept findet man für das ganze Jahr Rezepte. An den Rezepten wird kontinuirlich gefeilscht. </p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<img src="https://new.bocken.org/static/rezepte/thumb/al_ragu.webp" alt="">
|
<img src="https://bocken.org/static/rezepte/thumb/al_ragu.webp" alt="">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
export let data: PageData;
|
export let data: PageData;
|
||||||
|
|
||||||
let hero_img_src = "https://new.bocken.org/static/rezepte/full/" + data.short_name + ".webp"
|
let hero_img_src = "https://bocken.org/static/rezepte/full/" + data.short_name + ".webp"
|
||||||
let placeholder_src = "https://new.bocken.org/static/rezepte/placeholder/" + data.short_name + ".webp"
|
let placeholder_src = "https://bocken.org/static/rezepte/placeholder/" + data.short_name + ".webp"
|
||||||
export let months = ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"]
|
export let months = ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"]
|
||||||
function season_intervals() {
|
function season_intervals() {
|
||||||
let interval_arr = []
|
let interval_arr = []
|
||||||
@ -53,8 +53,8 @@
|
|||||||
export let season_iv = season_intervals();
|
export let season_iv = season_intervals();
|
||||||
|
|
||||||
afterNavigate(() => {
|
afterNavigate(() => {
|
||||||
hero_img_src = "https://new.bocken.org/static/rezepte/full/" + data.short_name + ".webp"
|
hero_img_src = "https://bocken.org/static/rezepte/full/" + data.short_name + ".webp"
|
||||||
placeholder_src = "https://new.bocken.org/static/rezepte/placeholder/" + data.short_name + ".webp"
|
placeholder_src = "https://bocken.org/static/rezepte/placeholder/" + data.short_name + ".webp"
|
||||||
season_iv = season_intervals();
|
season_iv = season_intervals();
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
export let data: PageData;
|
export let data: PageData;
|
||||||
let preamble = data.recipe.preamble
|
let preamble = data.recipe.preamble
|
||||||
let addendum = data.recipe.addendum
|
let addendum = data.recipe.addendum
|
||||||
let image_preview_url="https://new.bocken.org/static/rezepte/thumb/" + data.recipe.short_name + ".webp"
|
let image_preview_url="https://bocken.org/static/rezepte/thumb/" + data.recipe.short_name + ".webp"
|
||||||
let note = data.recipe.note
|
let note = data.recipe.note
|
||||||
|
|
||||||
import { season } from '$lib/js/season_store';
|
import { season } from '$lib/js/season_store';
|
||||||
|
Loading…
Reference in New Issue
Block a user