Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…GamingTools into overflow-bug
  • Loading branch information
SupratitDatta committed Oct 8, 2024
2 parents 2e0f31b + e8be1bc commit 42eb41a
Show file tree
Hide file tree
Showing 9 changed files with 187 additions and 76 deletions.
1 change: 0 additions & 1 deletion SignUp/signup.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,3 @@ input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focu
color: #ff80ab;
text-decoration: underline;
}

3 changes: 3 additions & 0 deletions SignUp/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<link rel="shortcut icon" href="../images/logo.png" type="image/x-icon">
</head>
<body>
<div class="linksHome">
<a href="../index.html">home</a>
</div>
<div class="signup-container">
<h1>Create Your Account</h1>
<form action="#" method="post">
Expand Down
22 changes: 22 additions & 0 deletions darkMode.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const checkbox = document.getElementById('checkbox')
const modeLabel = document.getElementById('mode-label')

// Check if dark mode is already enabled
if (localStorage.getItem('theme') === 'dark') {
document.documentElement.setAttribute('data-theme', 'dark')
checkbox.checked = true
modeLabel.textContent = 'Dark Mode'
}

// Add event listener for toggle switch
checkbox.addEventListener('change', () => {
if (checkbox.checked) {
document.documentElement.setAttribute('data-theme', 'dark')
localStorage.setItem('theme', 'dark')
modeLabel.textContent = 'Dark Mode'
} else {
document.documentElement.setAttribute('data-theme', 'light')
localStorage.setItem('theme', 'light')
modeLabel.textContent = 'Light Mode'
}
})
21 changes: 19 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

<body>
<div class="container">

<div class="navbar">
<a href="/"> <img src="images/logo.png" class="logo" alt="Logo"></a>
<a href="/"><span class="website-name">Collect your GamingTools</span></a>
Expand All @@ -29,15 +30,18 @@
<span class="slider"></span>
</label>
</ul>

</nav>


<!-- Search Bar (initially hidden) -->
<div class="search-bar hidden" id="searchBar">
<input type="text" id="search-input" placeholder="Search..." />
<button type="button" onclick="performSearch()">🔍</button>
</div>

<img src="images/menu.png" class="menu-icon" onclick="toggleMenu()">
<img src="images/menu.png" class="menu-icon" onclick="toggleMenu()">

</div>
<label class="switch">
<input type="checkbox" id="theme-toggle" onchange="toggleTheme()">
Expand Down Expand Up @@ -361,9 +365,22 @@ <h2>Contact Us</h2>

<!-- Scripts -->
<script src="script.js"></script>
<!-- Ionicons Scripts -->
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>

<script>
window.embeddedChatbotConfig = {
chatbotId: "PQ-VOcdM1R3PiYlZUrsTY",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="PQ-VOcdM1R3PiYlZUrsTY"
domain="www.chatbase.co"
defer>
</script>
</body>


</html>
41 changes: 37 additions & 4 deletions login/forgot.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,15 +226,15 @@ body{
font-size: 15px;
}

.links a:first-child: hover{
.links a:first-child:hover{
text-decoration: underline;
}

.links a:not(:last-child) {
margin-right: 20px;
}

.links a: hover {
.links a:hover {
color: #ff80ab;
}

Expand All @@ -258,14 +258,47 @@ body{
font-size: 15px;
}

.links a:first-child: hover{
.links a:first-child:hover{
text-decoration: underline;
}

.links a:not(:last-child) {
margin-right: 20px;
}

.links a: hover {
.links a:hover {
color: #ff80ab;
}


.linksHome{
position: absolute;
top: 20px;
left: 20px;
color: #fb5283;
background-color: rgb(255, 211, 211);
color: black;
padding: 15px;
text-decoration: none;
border-radius: 15px;
}
a{
text-decoration: none;
}


.linksHome{
position: absolute;
top: 20px;
left: 20px;
color: #eb6289;
background-color: rgb(255, 211, 211);
color: black;
padding: 15px;
font-size: large;
text-decoration: none;
border-radius: 15px;
}
a{
text-decoration: none;
}
3 changes: 3 additions & 0 deletions login/forgot.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
</head>

<body>
<div class="linksHome">
<a href="../index.html">home</a>
</div>
<div class="login-container">
<h1>Forgot Password</h1>
<form action="#" method="post">
Expand Down
41 changes: 36 additions & 5 deletions login/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ body{
font-size: 15px;
}

.links a:first-child: hover{
.links a:first-child:hover{
text-decoration: underline;
}

Expand Down Expand Up @@ -264,10 +264,9 @@ body{
}


.links a: hover {
.links a:hover {
color: #ff80ab;
}
}

.links {
margin-top: 18px;
Expand All @@ -288,14 +287,46 @@ body{
font-size: 15px;
}

.links a:first-child: hover{
.links a:first-child:hover{
text-decoration: underline;
}

.links a:not(:last-child) {
margin-right: 20px;
}

.links a: hover {
.links a:hover {
color: #ff80ab;
}

.linksHome{
position: absolute;
top: 20px;
left: 20px;
color: #fb5283;
background-color: rgb(255, 211, 211);
color: black;
padding: 15px;
text-decoration: none;
border-radius: 15px;
}
a{
text-decoration: none;
}


.linksHome{
position: absolute;
top: 20px;
left: 20px;
color: #eb6289;
background-color: rgb(255, 211, 211);
color: black;
padding: 15px;
font-size: large;
text-decoration: none;
border-radius: 15px;
}
a{
text-decoration: none;
}
4 changes: 4 additions & 0 deletions login/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
<link rel="shortcut icon" href="logo.png" type="image/x-icon">
</head>
<body>
<div class="linksHome">
<a href="../index.html">home</a>
</div>
<div class="login-container">

<h1>Login to Your Account</h1>
<form action="#" method="post">
<div class="input-group">
Expand Down
Loading

0 comments on commit 42eb41a

Please sign in to comment.