Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some functionality in nav bar for better better user experience #154

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@
<a href="/"><span class="website-name">Collect your GamingTools</span></a>
<nav>
<ul id="menuList">

<li><a href="#controller">Game Controllers</a></li>
<li><a href="#vrsection">VR Accessories</a></li>
<li><a href="#keyboard">Gaming Keyboard</a></li>
<li><a href="#others">Others</a></li>
<li><a href="#other">Others</a></li>

<li class="login"><a href="login/login.html">Login</a></li>
<label class="switch">
<input type="checkbox" id="theme-toggle" onchange="toggleTheme()">
Expand Down Expand Up @@ -61,7 +63,9 @@ <h1>Welcome to GamingTools</h1>
</section>

<!-- PS4 Controller Section -->

<div class="row" id="controller">

<div class="col-1">
<h2>PS4 V2 Dualshock 4</h2>
<h3>Wireless Controllers for PlayStation 4</h3>
Expand Down Expand Up @@ -89,7 +93,7 @@ <h3>Wireless Controllers for PlayStation 4</h3>
<div class="color-box"></div>
</div>
</div>

<!-- Xbox Controller Section -->
<div class="row">
<div class="col-1">
Expand Down Expand Up @@ -152,6 +156,7 @@ <h3>Wireless Controllers for Nintendo Switch</h3>
</div>
</div>


<!-- VR Headset Section -->
<div class="row" id="vrsection">
<div class="col-1">
Expand Down Expand Up @@ -184,6 +189,7 @@ <h3>VR Headset from Meta</h3>
</div>

<!-- VR Headset Section 2 -->

<div class="row">
<div class="col-1">
<h2>Apple Vision Pro</h2>
Expand Down Expand Up @@ -306,8 +312,9 @@ <h3>Wireless Gaming Headset</h3>

</div>
</div>

</section>
<!-- Gaming Chair Section -->
<section id="other">
<div class="row">
<div class="col-1">
<h2>Secretlab Omega</h2>
Expand Down Expand Up @@ -338,6 +345,7 @@ <h3>Ergonomic Gaming Chair</h3>
</div>
</div>
</div>

<section id="contact us">

<div class="card pb-5 pt-1">
Expand Down Expand Up @@ -439,7 +447,12 @@ <h2>Contact Us</h2>
<div class="scroll-top" onclick="scrollToTop()">
<ion-icon name="arrow-up-outline"></ion-icon>
</div>

<script>
rohitsharma2610 marked this conversation as resolved.
Show resolved Hide resolved
var scroll = new SmoothScroll('a[href*="#"]', {
speed: 1000,
speedAsDuration: true
});</script>
</body>
<!-- this script is for twitter icon starts -->
<script src="https://kit.fontawesome.com/856f4a44d7.js" crossorigin="anonymous"></script>
<!-- this script is for twitter icon ends -->
Expand All @@ -449,6 +462,7 @@ <h2>Contact Us</h2>
<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",
Expand Down