Skip to content

Commit

Permalink
Merge pull request #149 from RadhikaMalpani1702/main
Browse files Browse the repository at this point in the history
Enhanced UI for Privacy Policy and Licensing Pages
  • Loading branch information
MastanSayyad authored Oct 13, 2024
2 parents 81ac56d + a013a67 commit a58a023
Show file tree
Hide file tree
Showing 2 changed files with 436 additions and 363 deletions.
314 changes: 158 additions & 156 deletions licensing.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MIT License</title>
<title>Document</title>
<link rel="stylesheet" href="terms.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">

Expand Down Expand Up @@ -35,18 +36,20 @@
<link rel="stylesheet" href="css/bootstrap-datepicker.css">

<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
<link rel="stylesheet" href="Licensing.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

<link rel="stylesheet" href="css/aos.css">

<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="about.css">
<link href="https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap" rel="stylesheet">
<!-- Remix Icon -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet" />


<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />

<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
Expand All @@ -58,7 +61,6 @@
.hover-move:hover {
transform: translateX(20px);
}

#progress-container {
width: 100%;
height: 5px;
Expand All @@ -77,40 +79,36 @@
background-color: rgb(219, 127, 219);
}
</style>
<style>
body{
background-color: rgb(84, 84, 161);
}
</style>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>

<div id="progress-container">
<div id="progress-bar"></div>
</div>

<script>
let lastScrollPercentage = 0; // Keep track of the last scroll percentage
</head>

function updateProgressBar() {
const scrollTop = window.scrollY; // Current scroll position
const windowHeight = document.documentElement.scrollHeight - window.innerHeight; // Total scrollable height
const scrollPercentage = (scrollTop / windowHeight) * 100; // Calculate scroll percentage
<body>

// Smoothly transition to the new percentage
const progressBar = document.getElementById('progress-bar');
<div id="progress-container">
<div id="progress-bar"></div>
</div>

// Use a linear interpolation to gradually move towards the new percentage
lastScrollPercentage += (scrollPercentage - lastScrollPercentage) * 0.1; // Adjust the smoothing factor here
progressBar.style.width = lastScrollPercentage + '%'; // Update the progress bar width
}

// Listen for the scroll event
window.addEventListener('scroll', updateProgressBar);

</script>

<script>
let lastScrollPercentage = 0; // Keep track of the last scroll percentage

function updateProgressBar() {
const scrollTop = window.scrollY; // Current scroll position
const windowHeight = document.documentElement.scrollHeight - window.innerHeight; // Total scrollable height
const scrollPercentage = (scrollTop / windowHeight) * 100; // Calculate scroll percentage

// Smoothly transition to the new percentage
const progressBar = document.getElementById('progress-bar');

// Use a linear interpolation to gradually move towards the new percentage
lastScrollPercentage += (scrollPercentage - lastScrollPercentage) * 0.1; // Adjust the smoothing factor here
progressBar.style.width = lastScrollPercentage + '%'; // Update the progress bar width
}

// Listen for the scroll event
window.addEventListener('scroll', updateProgressBar);

</script>

<body data-spy="scroll" data-target=".site-navbar-target" data-offset="72">

<div id="Loader"></div>
Expand Down Expand Up @@ -146,135 +144,139 @@
</div>
</nav>

<main>
<section class="license-section">
<h1>MIT License</h1>
<p>Copyright &copy; 2024 Mastan Sayyad</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.</p>
</section>
</main>

<footer class="container py py-md px px-md" style="padding: 16px;">
<div class="row d-flex justify-content-center align-items-center text-center">

</div>
<div class="row mt">
<div class="col-md-4 mb-3">
<a class="d-inline-flex align-items-center mb-2 text-body-emphasis text-decoration-none footer-title"
href="/" aria-label="Visual Sort">
Visual Sort
</a>
<div class="vs" style="padding: 20px;">
<ul class="list-unstyled small">
<li class="mb-2" style="color: yellow;">Visual Sort is a web-based sorting algorithm visualization tool which provides an
interactive way to visualize various sorting algorithms in action, helping users understand how
different algorithms work and their efficiency in sorting data</li>
</ul>
</div>
</div>
<div class="col-6 col-md-2 mb-3">
<h5 style="color: aliceblue;">Home</h5>
<ul class="nav flex-column" style="padding: 20px;">
<li class="nav-item mb-2"><a href="#home-section" class="nav-link p-0 text-body-secondary">Home</a></li>
<li class="nav-item mb-2"><a href="#algorithm-section"
class="nav-link p-0 text-body-secondary">Algorithms</a></li>
<li class="nav-item mb-2"><a href="#programs-section"
class="nav-link p-0 text-body-secondary">Programs</a></li>
</ul>
</div>

<div class="col-6 col-md-2 mb-3">
<h5 style="color: aliceblue;">About</h5>
<ul class="nav flex-column" style="padding: 20px;">
<li class="nav-item mb-2"><a href="#about-us-section" class="nav-link p-0 text-body-secondary">About</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-body-secondary">Our Contributors</a></li>
</ul>
</div>

<div class="col-6 col-md-2 mb-3">
<h5 style="color: aliceblue;">Support</h5>
<ul class="nav flex-column" style="padding: 20px;">
<li class="nav-item mb-2"><a href="#faq" class="nav-link p-0 text-body-secondary">FAQs</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-body-secondary">Contact</a></li>
</ul>
</div>

<div class="col-6 col-md-2 mb-3">
<h5 style="color: aliceblue;">Legal</h5>
<ul class="nav flex-column" style="padding: 20px;">


<li class="nav-item mb-2"><a href="privacy-policy.html" class="nav-link p-0 text-body-secondary">Privacy Policy</a></li>

<li class="nav-item mb-2"><a href="Terms.html" class="nav-link p-0 text-body-secondary">Terms & Conditions</a></li>
<li class="nav-item mb-2"><a href="license.html" class="nav-link p-0 text-body-secondary">Licensing</a></li>
</ul>
</div>
<div class="wrapper flex_align_justify" style="background-color: rgba(219, 127, 219, 0.9);">
<div class="terms_service">
<div class="tc_item tc_head flex_align_justify">
<div class="icon flex_align_justify">
<ion-icon name="terminal-outline"></ion-icon>
</div>
<div class="text">
<h1>MIT License</h1>
<p>Welcome to Visual-sort!</p>
</div>
</div>

<div class="tc_item tc_body">
<h1>MIT License</h1><br>
<p>Copyright &copy; 2024 Mastan Sayyad</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.</p>

</div>

<div id="topbtn" class="topbtn">
<a class="gotopbtn" href="#"><i class="fa-solid fa-angles-up"></i></a>
</div>



<div class="foot">
<div class="icons">
<div class="linkedin">
<a href="https://www.linkedin.com/in/mastan-sayyad-126904223/"><i class="fa-brands fa-linkedin"></i></a>
</div>
<div class="github">
<a href="https://github.com/MastanSayyad"><i class="fa-brands fa-github"></i></a>
</div>
<div class="instagram">
<a href=""><i class="fa-brands fa-instagram"></i></a>
</div>
<div class="twitter">
<a href=""><i class="fa fa-twitter"></i></a>
</div>
</div>
</div>

</div>

<div class="d-flex flex-column flex-sm-row justify-content-center py-4 my-4 border-top">
<p>© 2024 Visual Sort - Mastan Sayyad, Inc. All rights reserved.</p>
</div>
</footer>

<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<section class="style">

<footer class="container py py-md px px-md footer">
<div class="row d-flex justify-content-center align-items-center text-center footer-header"></div>
<div class="row mt footer-content">
<div class="col-md-4 mb-3 footer-section">
<a class="d-inline-flex align-items-center mb-2 footer-title" href="/" aria-label="Visual Sort">
Visual Sort
</a>
<div class="vs">
<ul class="list-unstyled small">
<li class="mb-2 footer-description">Visual Sort is a web-based sorting algorithm visualization tool which provides an
interactive way to visualize various sorting algorithms in action, helping users understand how
different algorithms work and their efficiency in sorting data</li>
</ul>
</div>
</div>
<div class="col-6 col-md-2 mb-3 footer-section">
<h5 class="footer-header-title">Home</h5>
<ul class="nav flex-column">
<li class="nav-item mb-2"><a href="#home-section" class="nav-link p-0">Home</a></li>
<li class="nav-item mb-2"><a href="#algorithm-section" class="nav-link p-0">Algorithms</a></li>
<li class="nav-item mb-2"><a href="#programs-section" class="nav-link p-0">Programs</a></li>
</ul>
</div>

<div class="col-6 col-md-2 mb-3 footer-section">
<h5 class="footer-header-title">About</h5>
<ul class="nav flex-column">
<li class="nav-item mb-2"><a href="#about-us-section" class="nav-link p-0">About</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0">Our Contributors</a></li>
</ul>
</div>

<div class="col-6 col-md-2 mb-3 footer-section">
<h5 class="footer-header-title">Support</h5>
<ul class="nav flex-column">
<li class="nav-item mb-2"><a href="#faq" class="nav-link p-0">FAQs</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0">Contact</a></li>
</ul>
</div>

<div class="col-6 col-md-2 mb-3 footer-section">
<h5 class="footer-header-title">Legal</h5>
<ul class="nav flex-column">
<li class="nav-item mb-2"><a href="privacy-policy.html" class="nav-link p-0">Privacy Policy</a></li>
<li class="nav-item mb-2"><a href="Terms.html" class="nav-link p-0">Terms & Conditions</a></li>
<li class="nav-item mb-2"><a href="license.html" class="nav-link p-0">Licensing</a></li>
</ul>
</div>
</div>

<div id="topbtn" class="topbtn">
<a class="gotopbtn" href="#"><i class="fa-solid fa-angles-up"></i></a>
</div>

<div class="foot">
<div class="icons">
<div class="linkedin">
<a href="https://www.linkedin.com/in/mastan-sayyad-126904223/"><i class="fa-brands fa-linkedin"></i></a>
</div>
<div class="github">
<a href="https://github.com/MastanSayyad"><i class="fa-brands fa-github"></i></a>
</div>
<div class="instagram">
<a href=""><i class="fa-brands fa-instagram"></i></a>
</div>
<div class="twitter">
<a href=""><i class="fa fa-twitter"></i></a>
</div>
</div>
</div>

<div class="d-flex flex-column flex-sm-row justify-content-center py-4 my-4 border-top footer-bottom">
<p>© 2024 Visual Sort - Mastan Sayyad, Inc. All rights reserved.</p>
</div>
</footer>

</section>

<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script>
var loader = document.getElementById("Loader");
window.addEventListener("load", function () {
loader.style.display = "none";
})
</script>
<a href="chatbot.html">
<div class="fixed bottom-0 right-2 chatbot-container">
<button class="chatbot-button group">
<img class="h-20" src="./images/chatbot.gif" alt="chatbot">
<span class="tooltip-text">
Welcome to Visual Sort! <br>
How can I help You? ^_^
</span>
</button>
</div>
</a>
</body>

</script>
<a href="chatbot.html">
<div class="fixed bottom-0 right-2 chatbot-container">
<button class="chatbot-button group">
<img class="h-20" src="./images/chatbot.gif" alt="chatbot">
<span class="tooltip-text">
Welcome to Visual Sort! <br>
How can I help You? ^_^
</span>
</button>
</div>
</a>
</body>
</html>
</html>
Loading

0 comments on commit a58a023

Please sign in to comment.