most redacted. searching for more
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Successful in 16s

This commit is contained in:
BOTAlex 2025-10-09 05:51:41 +02:00
parent 4205712d32
commit 2f5aa50c84
11 changed files with 240 additions and 228 deletions

View file

@ -2,10 +2,11 @@
export let logo: string;
export let logoWidths: string = "35%";
import onMount from "@e/onMount";
import env, { initEnv } from "@src/ts/EnvHandler";
onMount(() => {
imageCaption = logo.split(/(\\|\/)/g).pop();
initEnv();
});
let imageCaption: undefined | string; // Not a high piority, you get the file name and thats it
@ -14,18 +15,15 @@
<div class=" h-full container flex">
<div class="flex h-full w-6 items-center overflow-hidden rounded">
<img
src={logo}
class=" w-6 h-6 object-cover shadow"
alt={imageCaption}
width={logoWidths}
src={logo.replace("[PB]", env.POCKETBASE_URL) ?? ""}
class=" w-6 h-6 object-cover shadow"
alt={imageCaption}
width={logoWidths}
/>
</div>
<div class="px-1 ml-1 h-full text-[0.5rem]" >
<span class="inline " >
<div class="px-1 ml-1 h-full text-[0.5rem]">
<span class="inline">
<slot />
</span>
</div>
</div>