BAM. Prettier and with QR codes
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
{#if qrCodeImage}
|
{#if qrCodeImage}
|
||||||
<div class="share-qr">
|
<div class="share-qr">
|
||||||
<img
|
<img
|
||||||
src="/assets/images/{qrCodeImage}.png"
|
src="/assets/images/{qrCodeImage}.svg"
|
||||||
alt="QR code for this page"
|
alt="QR code for this page"
|
||||||
width="160"
|
width="160"
|
||||||
height="160"
|
height="160"
|
||||||
|
|||||||
@@ -20,8 +20,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"linksHeading": "Professional Links and Profiles",
|
"linksHeading": "Professional Links and Profiles",
|
||||||
"showContact": true,
|
"qrCodeImage": "qr-mifi-dev"
|
||||||
"qrCodeImage": null
|
|
||||||
},
|
},
|
||||||
"bio": {
|
"bio": {
|
||||||
"title": "mifi.bio — the homepage of the human Mike Fitzpatrick",
|
"title": "mifi.bio — the homepage of the human Mike Fitzpatrick",
|
||||||
@@ -51,8 +50,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"linksHeading": "Links and Profiles",
|
"linksHeading": "Links and Profiles",
|
||||||
"showContact": false,
|
"qrCodeImage": "qr-mifi-bio"
|
||||||
"qrCodeImage": null
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"contactLinks": [
|
"contactLinks": [
|
||||||
|
|||||||
@@ -29,11 +29,7 @@ export interface Site {
|
|||||||
sameAs: string[];
|
sameAs: string[];
|
||||||
};
|
};
|
||||||
linksHeading?: 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[];
|
contactLinks?: ContactLink[];
|
||||||
/** Optional QR code image path (e.g. /assets/images/qr-mifi-dev.png) for Share panel. */
|
|
||||||
qrCodeImage?: string | null;
|
qrCodeImage?: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ export const load: LayoutServerLoad<LayoutServerDataOut> = (): LayoutServerDataO
|
|||||||
location: siteDef?.location,
|
location: siteDef?.location,
|
||||||
person: siteDef?.person,
|
person: siteDef?.person,
|
||||||
linksHeading: siteDef?.linksHeading,
|
linksHeading: siteDef?.linksHeading,
|
||||||
showContact: siteDef?.showContact,
|
|
||||||
contactLinks: siteDef?.contactLinks,
|
contactLinks: siteDef?.contactLinks,
|
||||||
qrCodeImage: siteDef?.qrCodeImage ?? undefined,
|
qrCodeImage: siteDef?.qrCodeImage ?? undefined,
|
||||||
};
|
};
|
||||||
|
|||||||
2
static/assets/images/qr-mifi-bio.svg
Normal file
2
static/assets/images/qr-mifi-bio.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 1.3 MiB |
2
static/assets/images/qr-mifi-dev.svg
Normal file
2
static/assets/images/qr-mifi-dev.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 1.0 MiB |
Reference in New Issue
Block a user