Implement giveaway closure logic with new giveaway-gate.js, update .htaccess for redirection after giveaway ends, and modify index.html and styles to reflect giveaway status. Enhance script.js to manage giveaway timer and visibility of related elements.

This commit is contained in:
blake committed 2026-10-23 11:14:02 -05:00
1 parent e376355464
commit 4a7d0a2665
6 files changed
+57 -22

No files matched your search

+1 -2
View File
@@ -23,6 +23,7 @@
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/queries.css" />
<script src="giveaway-gate.js"></script>
<script src="script.js" defer></script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
@@ -44,7 +45,6 @@
<div class="page-transition"></div>
<header class="header">
<nav class="nav">
<!--
<a class="giveaway-banner" href="/giveaway">
<span class="giveaway-banner-label">Enter our giveaway</span>
<span class="giveaway-banner-dot" aria-hidden="true">·</span>
@@ -58,7 +58,6 @@
<span class="giveaway-timer-closed" hidden>Closed</span>
</span>
</a>
-->
<div class="nav-icons">
<a href="https://www.instagram.com/sioux_diamond_detailing/"
><img