[READ-ONLY] Mirror of https://github.com/mrgnw/morganwill.com. morganwill.com
0

Configure Feed

Select the types of activity you want to include in your feed.

/qr

+36 -1
+1 -1
src/components/QrGrid.svelte
··· 232 232 onmouseenter={() => internalHover = index} 233 233 onmouseleave={() => internalHover = null} 234 234 animate:flip={{ duration: 300 }} 235 - transition:scale={{ duration: 250, start: 0.8 }} 235 + transition:scale|global={{ duration: 250, start: 0.8 }} 236 236 > 237 237 <div 238 238 class="qr-card-code"
+8
src/routes/qr/+page.server.js
··· 1 + /** @type {import('./$types').PageServerLoad} */ 2 + export async function load({ parent }) { 3 + const data = await parent(); 4 + return { 5 + ...data, 6 + qrMode: true 7 + }; 8 + }
+27
src/routes/qr/+page.svelte
··· 1 + <script> 2 + import { fade } from "svelte/transition"; 3 + 4 + import Projects from "$components/Projects.svelte"; 5 + import LinkIcons from "$components/LinkIcons.svelte"; 6 + 7 + let { data } = $props(); 8 + </script> 9 + 10 + <svelte:head> 11 + <title>Morgan - QR Codes</title> 12 + <meta name="viewport" content="width=device-width, initial-scale=1" /> 13 + <meta 14 + name="description" 15 + content="QR codes for Morgan's links" 16 + /> 17 + </svelte:head> 18 + 19 + <div class="container"> 20 + <LinkIcons links={data.links} defaultTitle="Morgan" qrMode={data.qrMode} /> 21 + </div> 22 + 23 + <style> 24 + .container { 25 + height: 100%; 26 + } 27 + </style>