1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 22:53:03 +05:30

(feat): implemented basic shareviaqr div styling

This commit is contained in:
2023-11-24 23:57:53 +05:30
parent fb190abe20
commit 60e3cfc9be
2 changed files with 42 additions and 5 deletions

View File

@@ -100,13 +100,18 @@
</div>
</div>
</div>
<div id="sharewindow" class="sharewindow w-[90vw] md:w-[50vw] mx-auto h-[45vh] md:h-[60vh] fixed inset-x-0 top-[20vh] z-40 justify-center items-center bg-bg_secondary rounded-xl hidden">
<div class="shareviaqr flex flex-col items-center">
<div class="qrwrapper">
<img src="https://api.qrserver.com/v1/create-qr-code/?data=https://neosubhamoy.dev&size=200x200&&color=38BDF8&format=svg" alt="shareqrcode">
<div id="sharewindow" class="sharewindow w-[90vw] md:w-[50vw] mx-auto h-[45vh] md:h-[60vh] p-4 fixed inset-x-0 top-[20vh] z-40 justify-between items-center bg-bg_secondary rounded-xl hidden">
<div class="shareviaqr w-fit h-full flex flex-col items-center p-3">
<p class="self-start">Scan to Share</p>
<div class="bg-bg_primary p-5 rounded-lg my-3">
<div class="qrwrapper w-[150px] h-[150px]">
<img src="https://api.qrserver.com/v1/create-qr-code/?data=https://neosubhamoy.dev&color=38BDF8&bgcolor=0F172A" alt="shareqrcode">
</div>
</div>
</div>
<div class="extrashareopt"></div>
<div class="extrashareopt w-full h-full flex flex-col items-center p-3 border-l-[1px] border-accent_secondary_transparent">
<p class="self-start">Other Sharing Options</p>
</div>
</div>
<div id="floating-bar" class="fixed inset-x-0 bottom-[7vh] z-[50] flex justify-center items-center">
<div id="searchbar" class="searchbar bg-bg_secondary rounded-full p-[0.30rem] flex items-center cursor-pointer mx-2 hover:shadow-[0px_0px_30px] hover:shadow-accent_primary_extratransparent transition transform duration-300">