1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 23:59:35 +05:30

(refactor): removed hardcoded domain name from all pages

This commit is contained in:
2024-02-03 20:53:20 +05:30
parent 9b84a72b2d
commit bcc13caa50
9 changed files with 18 additions and 18 deletions

View File

@@ -95,7 +95,7 @@
<p class="self-start text-xl hidden md:block">Scan to Share</p>
<div class="bg-bg_primary p-10 md:p-5 rounded-lg my-3">
<div class="qrwrapper aspect-square w-full md:w-[150px]">
<img class="w-full hidden" id="pageqrcode" src="https://api.qrserver.com/v1/create-qr-code/?data=https://neosubhamoy.dev&color=38BDF8&bgcolor=0F172A" alt="qrcode">
<img class="w-full hidden" id="pageqrcode" src="https://api.qrserver.com/v1/create-qr-code/?data=https://<?php echo $domain ?>&color=38BDF8&bgcolor=0F172A" alt="qrcode">
<div id="qrspinnercont" class="qrspinnercont w-full h-full flex justify-center items-center"><div class="spinner border-[3px] border-accent_secondary_transparent border-t-[3px] border-t-accent_primary rounded-[50%] h-[30px] w-[30px] animate-spin"></div></div>
</div>
</div>
@@ -105,7 +105,7 @@
<div class="extrashareopt w-full h-full flex flex-col py-3 px-7 border-t-[1px] md:border-t-[0px] md:border-l-[1px] border-[rgba(255,_255,_255,_0.15)]">
<p class="text-lg hidden md:block"><i class="fa-solid fa-user-group text-accent_primary"></i>&nbsp; Sharing Options</p>
<div class="urlinputbar w-full flex justify-between items-center py-2 px-3 my-3 bg-bg_primary rounded-full overflow-hidden">
<input id="pageurlinput" class="w-[85%] bg-bg_primary caret-accent_primary text-accent_four font-[300] outline-none" type="text" value="https://neosubhamoy.dev" readonly>
<input id="pageurlinput" class="w-[85%] bg-bg_primary caret-accent_primary text-accent_four font-[300] outline-none" type="text" value="https://<?php echo $domain ?>" readonly>
<button class="urlcopybtn px-3 border-l-[1px] border-accent_secondary_transparent" title="Copy link" onclick="copy_to_clipboard(document.location.href, 'Link')"><i class="fa-regular fa-copy"></i></button>
</div>
<p class="text-xs my-3 text-accent_three hidden md:block">SHARE ON</p>
@@ -119,7 +119,7 @@
<p class="text-xs my-3 text-accent_three hidden md:block">EMBED THIS PAGE</p>
<div class="group embedpagecode w-full bg-bg_primary p-4 rounded-lg relative hidden md:block">
<button class="copyembedcode absolute top-3 right-3 px-3 py-2 bg-bg_secondary rounded-lg hover:bg-bg_third transition transform duration-500 hidden group-hover:block" title="Copy code snippet" onclick="copy_to_clipboard(document.getElementById('embedcodetag').innerHTML, 'Code Snippet')"><i class="fa-regular fa-copy"></i></button>
<pre class="text-accent_four text-xs whitespace-pre-wrap"><code id="embedcodetag">&lt;iframe&#13;&#10;src="https://neosubhamoy.com"&#13;&#10;height="720"&#13;&#10;width="1280"&#13;&#10;title="test iframe"&gt;&lt;/iframe&gt;</code></pre>
<pre class="text-accent_four text-xs whitespace-pre-wrap"><code id="embedcodetag">&lt;iframe&#13;&#10;src="https://<?php echo $domain ?>"&#13;&#10;height="720"&#13;&#10;width="1280"&#13;&#10;title="test iframe"&gt;&lt;/iframe&gt;</code></pre>
</div>
</div>
</div>

View File

@@ -50,7 +50,7 @@
</div>
<hr class="opacity-20 mt-16 mb-5">
<div class="copyrightsection w-full flex justify-between items-center mt-7 mb-12">
<a class="font-cormorant text-4xl font-bold hidden lg:block" href="https://neosubhamoy.com">Subhamoy Biswas</a>
<a class="font-cormorant text-4xl font-bold hidden lg:block" href="https://<?php echo $domain ?>">Subhamoy Biswas</a>
<p class="">&#169; <script>document.write(new Date().getFullYear())</script> - All Rights Reserved<br>Developed with &#10084; in <strong>India</strong></p>
</div>
</footer>

View File

@@ -14,7 +14,7 @@ write_dataset($conn);
<meta name="description" content="Explore my Blog Posts about the evolving Tech">
<meta property="og:title" content="<?php echo fetch_page_title($conn, "Blog");?>">
<meta property="og:description" content="Blog of Subhamoy Biswas (@neo_subhamoy) - Full-Stack Web, Android Developer and UI/UX Designer">
<meta property="og:image" content="https://neosubhamoy.com/assets/images/neosubhamoy.jpg">
<meta property="og:image" content="https://<?php echo $domain ?>/assets/images/neosubhamoy.jpg">
<title><?php echo fetch_page_title($conn, "Blog");?></title>
<?php require 'assets/_integrate.php';?>
</head>

View File

@@ -14,7 +14,7 @@ write_dataset($conn);
<meta name="description" content="Get in touch with me instantly, contact now">
<meta property="og:title" content="<?php echo fetch_page_title($conn, "Contact");?>">
<meta property="og:description" content="Contact with Subhamoy Biswas (@neo_subhamoy) - Full-Stack Web, Android Developer and UI/UX Designer">
<meta property="og:image" content="https://neosubhamoy.com/assets/images/neosubhamoy.jpg">
<meta property="og:image" content="https://<?php echo $domain ?>/assets/images/neosubhamoy.jpg">
<title><?php echo fetch_page_title($conn, "Contact");?></title>
<?php require 'assets/_integrate.php';?>
</head>
@@ -51,7 +51,7 @@ write_dataset($conn);
</div>
<div class="flex items-center my-4">
<span class="w-[40px] h-[40px] bg-accent_primary text-bg_primary flex justify-center items-center rounded-full mr-5" title="Contact via Email"><i class="fa-solid fa-envelope"></i></span>
<p class="text-lg font-light cursor-pointer" onclick="location.href='mailto:hey@neosubhamoy.com'">hey@neosubhamoy.com</p>
<p class="text-lg font-light cursor-pointer" onclick="location.href='mailto:hey@<?php echo $domain ?>'">hey@<?php echo $domain ?></p>
</div>
<div class="flex items-center my-4">
<span class="w-[40px] h-[40px] bg-accent_primary text-bg_primary flex justify-center items-center rounded-full mr-5" title="Chat with me on Telegram"><i class="fa-brands fa-telegram"></i></span>

View File

@@ -14,7 +14,7 @@ write_dataset($conn);
<meta name="description" content="DMCA Notice for Subhamoy Biswas Portfolio">
<meta property="og:title" content="DMCA Notice - @neo_subhamoy">
<meta property="og:description" content="DMCA Notice for Subhamoy Biswas Portfolio">
<meta property="og:image" content="https://neosubhamoy.com/assets/images/neosubhamoy.jpg">
<meta property="og:image" content="https://<?php echo $domain ?>/assets/images/neosubhamoy.jpg">
<title>DMCA Notice - @neo_subhamoy</title>
<?php require 'assets/_integrate.php';?>
</head>
@@ -34,12 +34,12 @@ write_dataset($conn);
<p class="text-lg text-accent_three mt-12">Last Updated On: 11th of December 2023</p>
<div class="dmcacontent w-full bg-bg_secondary rounded-xl px-5 py-7 mt-7">
<div class="dmcacont1 text-accent_three pb-5 mb-10 border-b-[1px] border-b-accent_secondary_transparent">
<p>If you require any more information or have any questions regarding this site&#39;s disclaimer, please feel free to contact us by email at <a href="mailto:hey@neosubhamoy.com">hey@neosubhamoy.com</a>.</p>
<p>If you require any more information or have any questions regarding this site&#39;s disclaimer, please feel free to contact us by email at <a href="mailto:hey@<?php echo $domain ?>">hey@<?php echo $domain ?></a>.</p>
</div>
<div class="dmcacont2 text-accent_three">
<h2 class="text-2xl text-accent_secondary my-3">Disclaimers for Subhamoy Biswas Portfolio</h2>
<p>All the information on this website - https://neosubhamoy.com - is published in good faith and for general information purpose only. Subhamoy Biswas Portfolio does not make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this website (Subhamoy Biswas Portfolio), is strictly at your own risk. Subhamoy Biswas Portfolio will not be liable for any losses and/or damages in connection with the use of our website.</p>
<p>All the information on this website - https://<?php echo $domain ?> - is published in good faith and for general information purpose only. Subhamoy Biswas Portfolio does not make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this website (Subhamoy Biswas Portfolio), is strictly at your own risk. Subhamoy Biswas Portfolio will not be liable for any losses and/or damages in connection with the use of our website.</p>
<p>From our website, you can visit other websites by following hyperlinks to such external sites. While we strive to provide only quality links to useful and ethical websites, we have no control over the content and nature of these sites. These links to other websites do not imply a recommendation for all the content found on these sites. Site owners and content may change without notice and may occur before we have the opportunity to remove a link which may have gone &#39;bad&#39;.</p>

View File

@@ -14,7 +14,7 @@ write_dataset($conn);
<meta name="description" content="Official Portfolio Website of Subhamoy Biswas - Full-Stack Web, Android Developer and UI/UX Designer - (Also Reknowned as @neo_subhamoy). | Know More About Him and His WorkExperince">
<meta property="og:title" content="<?php echo fetch_page_title($conn, "Home");?>">
<meta property="og:description" content="Official Portfolio Website of Subhamoy Biswas (@neo_subhamoy) - Full-Stack Web, Android Developer and UI/UX Designer">
<meta property="og:image" content="https://neosubhamoy.com/assets/images/neosubhamoy.jpg">
<meta property="og:image" content="https://<?php echo $domain ?>/assets/images/neosubhamoy.jpg">
<title><?php echo fetch_page_title($conn, "Home");?></title>
<?php require 'assets/_integrate.php';?>
</head>
@@ -210,7 +210,7 @@ write_dataset($conn);
<div class="relative tagline mt-[10rem] mb-[12rem]">
<h3 class="text-2xl lg:text-4xl">On a mission to!</h3>
<h4 class="text-4xl lg:text-6xl mb-6 mt-1">make the <span class="text-accent_primary font-bold">web</span> more <span class="text-accent_primary font-bold">interesting</span>.</h4>
<h5 class="text-base lg:text-xl text-accent_three my-3">Wanna join the journey with me? &nbsp; <span class="lg:hidden"><br></span>email to: <a class="border-b-[2px] border-accent_primary_transparent hover:border-accent_primary transition transform duration-300 cursor-pointer" href="mailto:hey@neosubhamoy.com">hey@neosubhamoy.com</a></h5>
<h5 class="text-base lg:text-xl text-accent_three my-3">Wanna join the journey with me? &nbsp; <span class="lg:hidden"><br></span>email to: <a class="border-b-[2px] border-accent_primary_transparent hover:border-accent_primary transition transform duration-300 cursor-pointer" href="mailto:hey@<?php echo $domain ?>">hey@<?php echo $domain ?></a></h5>
<div class="absolute w-[300px] top-[-2.5rem] left-2 lg:w-[330px] lg:top-[-3.7rem] lg:left-8">
<img src="./assets/images/endsec-bgpattern.svg" alt="patterns">
</div>

View File

@@ -14,7 +14,7 @@ write_dataset($conn);
<meta name="description" content="Privacy Policy for Subhamoy Biswas Portfolio">
<meta property="og:title" content="Privacy Policy - @neo_subhamoy">
<meta property="og:description" content="Privacy Policy for Subhamoy Biswas Portfolio">
<meta property="og:image" content="https://neosubhamoy.com/assets/images/neosubhamoy.jpg">
<meta property="og:image" content="https://<?php echo $domain ?>/assets/images/neosubhamoy.jpg">
<title>Privacy Policy - @neo_subhamoy</title>
<?php require 'assets/_integrate.php';?>
</head>
@@ -35,7 +35,7 @@ write_dataset($conn);
<div class="policycontent w-full bg-bg_secondary rounded-xl px-5 py-7 mt-7">
<div class="policycont1 text-accent_three pb-5 mb-10 border-b-[1px] border-b-accent_secondary_transparent">
<p>
At Subhamoy Biswas Portfolio, accessible from https://neosubhamoy.com,
At Subhamoy Biswas Portfolio, accessible from https://<?php echo $domain ?>,
one of our main priorities is the privacy of our visitors. This Privacy
Policy document contains types of information that is collected and
recorded by Subhamoy Biswas Portfolio and how we use it.

View File

@@ -16,7 +16,7 @@ $years = create_project_years_array($conn);
<meta name="description" content="View my Projects and Contributions in Tech">
<meta property="og:title" content="<?php echo fetch_page_title($conn, "Projects");?>">
<meta property="og:description" content="Projects of Subhamoy Biswas (@neo_subhamoy) - Full-Stack Web, Android Developer and UI/UX Designer">
<meta property="og:image" content="https://neosubhamoy.com/assets/images/neosubhamoy.jpg">
<meta property="og:image" content="https://<?php echo $domain ?>/assets/images/neosubhamoy.jpg">
<title><?php echo fetch_page_title($conn, "Projects");?></title>
<?php require 'assets/_integrate.php';?>
</head>

View File

@@ -14,7 +14,7 @@ write_dataset($conn);
<meta name="description" content="Terms Of Use for Subhamoy Biswas Portfolio">
<meta property="og:title" content="Terms Of Use - @neo_subhamoy">
<meta property="og:description" content="Terms Of Use for Subhamoy Biswas Portfolio">
<meta property="og:image" content="https://neosubhamoy.com/assets/images/neosubhamoy.jpg">
<meta property="og:image" content="https://<?php echo $domain ?>/assets/images/neosubhamoy.jpg">
<title>Terms Of Use - @neo_subhamoy</title>
<?php require 'assets/_integrate.php';?>
</head>
@@ -36,7 +36,7 @@ write_dataset($conn);
<div class="termscont1 text-accent_three pb-5 mb-10 border-b-[1px] border-b-accent_secondary_transparent">
<p class="text-xl text-accent_secondary mb-3">Version 1.0</p>
<p>The Subhamoy Biswas Portfolio website located at https://neosubhamoy.com is a copyrighted work belonging to Subhamoy Biswas. Certain features of the Site may be subject to additional guidelines, terms, or rules, which will be posted on the Site in connection with such features.</p>
<p>The Subhamoy Biswas Portfolio website located at https://<?php echo $domain ?> is a copyrighted work belonging to Subhamoy Biswas. Certain features of the Site may be subject to additional guidelines, terms, or rules, which will be posted on the Site in connection with such features.</p>
<p>All such additional terms, guidelines, and rules are incorporated by reference into these Terms.</p>
<p>These Terms of Use described the legally binding terms and conditions that oversee your use of the Site.&nbsp;BY LOGGING INTO THE SITE, YOU ARE BEING COMPLIANT THAT THESE TERMS and you represent that you have the authority and capacity to enter into these Terms.&nbsp;YOU SHOULD BE AT LEAST 18 YEARS OF AGE TO ACCESS THE SITE. IF YOU DISAGREE WITH ALL OF THE PROVISION OF THESE TERMS, DO NOT LOG INTO AND/OR USE THE SITE.</p>
@@ -179,7 +179,7 @@ write_dataset($conn);
<p>Address: Basirhat, North 24 Parganas, West Bengal, India</p>
<p>Email: <a href="mailto:hey@neosubhamoy.com">hey@neosubhamoy.com</a></p>
<p>Email: <a href="mailto:hey@<?php echo $domain ?>">hey@<?php echo $domain ?></a></p>
</div>
</div>
</div>