BAM. Prettier and with QR codes
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
2026-02-07 23:59:49 -03:00
parent 9bc51ff408
commit 3130661e65
8 changed files with 52 additions and 55 deletions

View File

@@ -50,7 +50,7 @@
{#if qrCodeImage}
<div class="share-qr">
<img
src="/assets/images/{qrCodeImage}.png"
src="/assets/images/{qrCodeImage}.svg"
alt="QR code for this page"
width="160"
height="160"

View File

@@ -20,8 +20,7 @@
]
},
"linksHeading": "Professional Links and Profiles",
"showContact": true,
"qrCodeImage": null
"qrCodeImage": "qr-mifi-dev"
},
"bio": {
"title": "mifi.bio — the homepage of the human Mike Fitzpatrick",
@@ -51,8 +50,7 @@
]
},
"linksHeading": "Links and Profiles",
"showContact": false,
"qrCodeImage": null
"qrCodeImage": "qr-mifi-bio"
}
},
"contactLinks": [

View File

@@ -29,11 +29,7 @@ export interface Site {
sameAs: string[];
};
linksHeading?: string;
/** If false, hide Contact button and panel for this variant. Default true. */
showContact?: boolean;
/** Contact panel links; if omitted, first section links are used. */
contactLinks?: ContactLink[];
/** Optional QR code image path (e.g. /assets/images/qr-mifi-dev.png) for Share panel. */
qrCodeImage?: string | null;
}

View File

@@ -57,7 +57,6 @@ export const load: LayoutServerLoad<LayoutServerDataOut> = (): LayoutServerDataO
location: siteDef?.location,
person: siteDef?.person,
linksHeading: siteDef?.linksHeading,
showContact: siteDef?.showContact,
contactLinks: siteDef?.contactLinks,
qrCodeImage: siteDef?.qrCodeImage ?? undefined,
};

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.3 MiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.0 MiB