qr code dual language
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / Rebuild Signaller (push) Successful in 30s

This commit is contained in:
BOTAlex 2026-04-10 15:34:22 +02:00
parent ee9e26d0e3
commit 721684a57e
3 changed files with 13 additions and 3 deletions

View file

@ -29,7 +29,8 @@
"title": "Værktøjserfaring", "title": "Værktøjserfaring",
"ask": "Spørg mig", "ask": "Spørg mig",
"linked": "Projekter med links" "linked": "Projekter med links"
} },
"qrcode-text": "Interaktiv version"
} }
} }
} }

View file

@ -28,7 +28,8 @@
"title": "Tool experience", "title": "Tool experience",
"ask": "Ask me", "ask": "Ask me",
"linked": "Projects with link" "linked": "Projects with link"
} },
"qrcode-text": "Interactive version"
} }
} }
} }

View file

@ -1,5 +1,6 @@
<script lang="ts"> <script lang="ts">
import QrCode from "svelte-qrcode"; import QrCode from "svelte-qrcode";
import DeprivedLogo from "$lib/images/DeprivedLogo.svelte";
const cols = 9; const cols = 9;
const rows = 7; const rows = 7;
@ -138,10 +139,17 @@
{/each} {/each}
</div> </div>
<div class="absolute left-0 bottom-0">
<DeprivedLogo
Class="fill-[#121212]/6 px-4"
Style="width: 12.5cm; height: auto;"
/>
</div>
<div class="absolute right-0 bottom-0 px-4"> <div class="absolute right-0 bottom-0 px-4">
<div class="w-full flex justify-end"> <div class="w-full flex justify-end">
<div class="flex flex-col justify-center items-center"> <div class="flex flex-col justify-center items-center">
<div>Interactive version</div> <div>{m["zhen.cv.page2.qrcode-text"]()}</div>
<div class="w-[50px] h-[50px] overflow-hidden"> <div class="w-[50px] h-[50px] overflow-hidden">
<QrCode <QrCode
size={205} size={205}