-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.html
77 lines (67 loc) · 2.48 KB
/
install.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cozmo Remastered Installation Guide</title>
<!-- Link to the CSS file -->
<link rel="stylesheet" href="main.css">
</head>
<body>
<header>
<h1>Cozmo Remastered Installation Guide</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="features.html">Features</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li id="codeTab" class="hidden"><a href="code.html">Code</a></li> <!-- Hidden tab for code -->
</ul>
</nav>
</header>
<section>
<h2>Cozmo Remastered Installation Guide</h2>
<p>Follow the steps below to install Cozmo Remastered:</p>
<ol>
<li>Step 1: Download the Cozmo Remastered code from the provided link.</li>
<li>Step 2: Unzip the downloaded file.</li>
<li>Step 3: Open the unzipped folder.</li>
<li>Step 4: Follow the README file for installation instructions.</li>
</ol>
</section>
<footer id="contact">
<h3>Contact Us</h3>
<p>If you have any questions or suggestions, feel free to reach out to us via email or our discord (link on the contact page):</p>
<p>Email: [email protected]</p>
</footer>
<!-- JavaScript for Countdown Timer -->
<script>
// Function to calculate remaining time until target date
function calculateTimeDifference(targetDate) {
var now = new Date();
return targetDate - now;
}
// Function to update the countdown
function updateCountdown() {
var targetDate;
var savedTargetDate = localStorage.getItem('cozmoTargetDate');
if (savedTargetDate) {
targetDate = new Date(savedTargetDate);
} else {
targetDate = new Date();
targetDate.setDate(targetDate.getDate() + 21); // 3 weeks
targetDate.setMinutes(targetDate.getMinutes() + 17); // 17 minutes
targetDate.setDate(targetDate.getDate() + 1); // 1 day
localStorage.setItem('cozmoTargetDate', targetDate);
}
var timeDifference = calculateTimeDifference(targetDate);
if (timeDifference <= 0) {
document.getElementById("codeTab").classList.remove("hidden"); // Show code tab
}
}
// Update the countdown when the page loads
updateCountdown();
</script>
</body>
</html>