QR code done

This commit is contained in:
BOTAlex 2024-06-06 01:29:44 +02:00
parent 87b2af3118
commit defabaeade
5 changed files with 1033 additions and 2 deletions

966
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,8 @@
"svelte-highlight": "^7.6.0", "svelte-highlight": "^7.6.0",
"svelte-parallax": "^0.6.0", "svelte-parallax": "^0.6.0",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"vite": "^5.0.3" "vite": "^5.0.3",
"vite-plugin-svgr": "^4.2.0"
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,24 @@
<script>
import QRCode from "$lib/zhen/cv-comps/LinkedInQrCode.svg?raw"
</script>
<div class="container">
<div>LinkedIn</div>
<span class="qrcode">{@html QRCode}</span>
</div>
<style lang="scss">
.qrcode {
transform: scale(0.9);
}
.container {
display: grid;
place-items: center;
& * {
font-size: 7.5mm;
}
}
</style>

View File

@ -2,6 +2,7 @@
import NameAndImage from "../Comps/NameAndImage.svelte"; import NameAndImage from "../Comps/NameAndImage.svelte";
import ShortProfile from "../Comps/ShortProfile.svelte" import ShortProfile from "../Comps/ShortProfile.svelte"
import CombinedContacts from "../Comps/CombinedContacts.svelte" import CombinedContacts from "../Comps/CombinedContacts.svelte"
import LinkedInQR from "../Comps/LinkedInQR.svelte";
</script> </script>
<div class="cv-container-container include-in-print"> <div class="cv-container-container include-in-print">
@ -10,6 +11,7 @@
<NameAndImage/> <NameAndImage/>
<ShortProfile/> <ShortProfile/>
<CombinedContacts/> <CombinedContacts/>
<LinkedInQR/>
</div> </div>
<div id="right-section"></div> <div id="right-section"></div>
</div> </div>