move from new.bocken.org to bocken.org

This commit is contained in:
Alexander Bocken 2023-10-05 10:09:50 +02:00
parent b70c236598
commit 4a2edd85a1
6 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
# 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
### General

View File

@ -165,8 +165,8 @@ div:has(div #image){
<a class="card {search}" href="/rezepte/{recipe.short_name}" data-tags=[{recipe.tags}]>
<div>
<div style="background-image:url({'https://new.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}/>
<div style="background-image:url({'https://bocken.org/static/rezepte/placeholder/' + recipe.short_name + '.webp'})">
<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>
{#if icon_override || recipe.season.includes(current_month)}

View File

@ -5,7 +5,7 @@
const el = document.querySelector("#options")
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( () => {
document.addEventListener("click", (e) => {
const el = document.querySelector("#button")

View File

@ -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>
</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>
</a>
</section>

View File

@ -14,8 +14,8 @@
export let data: PageData;
let hero_img_src = "https://new.bocken.org/static/rezepte/full/" + data.short_name + ".webp"
let placeholder_src = "https://new.bocken.org/static/rezepte/placeholder/" + data.short_name + ".webp"
let hero_img_src = "https://bocken.org/static/rezepte/full/" + 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"]
function season_intervals() {
let interval_arr = []
@ -53,8 +53,8 @@
export let season_iv = season_intervals();
afterNavigate(() => {
hero_img_src = "https://new.bocken.org/static/rezepte/full/" + data.short_name + ".webp"
placeholder_src = "https://new.bocken.org/static/rezepte/placeholder/" + data.short_name + ".webp"
hero_img_src = "https://bocken.org/static/rezepte/full/" + data.short_name + ".webp"
placeholder_src = "https://bocken.org/static/rezepte/placeholder/" + data.short_name + ".webp"
season_iv = season_intervals();
})
</script>

View File

@ -9,7 +9,7 @@
export let data: PageData;
let preamble = data.recipe.preamble
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
import { season } from '$lib/js/season_store';