-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1434 from Palmistry2310/Revamp-the-disclaimer-page
revamp: Created a responsive disclaimer page which looks consistent with other legal pages
- Loading branch information
Showing
2 changed files
with
209 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,77 +4,207 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>Disclaimer</title> | ||
<link rel="stylesheet" href="disclaimer.css"> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="stylesheet" href="terms.css" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet"> | ||
<title>Disclaimer - BuddyTrail</title> | ||
<style> | ||
/* Resetting margin and padding */ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
/* Body styling */ | ||
body { | ||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | ||
background-color: #f8f9fa; | ||
color: #333; | ||
line-height: 1.6; | ||
} | ||
|
||
/* Full-width container for page */ | ||
.container { | ||
display: flex; | ||
width: 100%; | ||
|
||
margin: 20px auto; | ||
padding: 20px; | ||
background-color: #fff; | ||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | ||
border-radius: 8px; | ||
} | ||
|
||
/* Table of contents styling */ | ||
.toc { | ||
flex-basis: 25%; | ||
background-color: #e9ecef; | ||
padding: 20px; | ||
border-radius: 8px; | ||
margin-right: 20px; | ||
height: fit-content; | ||
position: sticky; | ||
top: 20px; | ||
} | ||
|
||
.toc h2 { | ||
font-size: 1.5rem; | ||
color: #004085; | ||
} | ||
|
||
.toc ul { | ||
list-style: none; | ||
padding: 0; | ||
} | ||
|
||
.toc ul li { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.toc ul li a { | ||
text-decoration: none; | ||
color: #007bff; | ||
font-weight: bold; | ||
} | ||
|
||
.toc ul li a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
/* Main content styling */ | ||
.main-content { | ||
flex-basis: 75%; | ||
} | ||
|
||
h1, h2 { | ||
color: #004085; | ||
} | ||
|
||
h1 { | ||
font-size: 2.2rem; | ||
text-align: center; | ||
margin-bottom: 30px; | ||
border-bottom: 2px solid #004085; | ||
padding-bottom: 10px; | ||
} | ||
|
||
h2 { | ||
font-size: 1.8rem; | ||
margin-top: 40px; | ||
margin-bottom: 20px; | ||
border-bottom: 1px solid #ddd; | ||
padding-bottom: 10px; | ||
} | ||
|
||
p { | ||
font-size: 1rem; | ||
color: #555; | ||
margin-bottom: 20px; | ||
} | ||
|
||
ul { | ||
margin-left: 20px; | ||
padding-left: 20px; | ||
list-style: disc; | ||
} | ||
|
||
li { | ||
margin-bottom: 10px; | ||
} | ||
|
||
/* Button styling for links */ | ||
a { | ||
color: #007bff; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
/* Smooth scrolling for anchor links */ | ||
html { | ||
scroll-behavior: smooth; | ||
} | ||
|
||
/* Responsive adjustments */ | ||
@media (max-width: 768px) { | ||
.container { | ||
flex-direction: column; | ||
} | ||
|
||
.toc { | ||
margin-bottom: 20px; | ||
margin-right: 0; | ||
width: 100%; | ||
position: relative; /* Changed to relative to make TOC non-sticky */ | ||
} | ||
|
||
.main-content { | ||
width: 100%; | ||
} | ||
|
||
h1 { | ||
font-size: 1.8rem; | ||
} | ||
|
||
h2 { | ||
font-size: 1.4rem; | ||
} | ||
|
||
p { | ||
font-size: 0.95rem; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<header> | ||
body> | ||
<header> | ||
<div class="container3"> | ||
<nav> | ||
<div class="logo"> | ||
<img src="img/logo.png" id="logo-web" alt="BuddyTrail Logo" /> | ||
<h1 id="logo">BuddyTrail</h1> | ||
</div> | ||
<button class="hamburger" id="hamburger">☰</button> | ||
<ul class="nav-links" id="nav-links"> | ||
<button class="dropdown-close-btn" id="closeBtn">✖</button> | ||
<li><a href="index.html" class="nav-link">Home</a></li> | ||
<li><a href="about.html" class="nav-link active">About Us</a></li> | ||
<li><a href="team.html" class="nav-link">Team</a></li> | ||
<li><a href="contact.html" class="nav-link">Contact</a></li> | ||
<li><a href="auth.html" class="btn-primary">Sign In</a></li> | ||
</ul> | ||
<button class="mode-toggle" id="modeToggle"> | ||
<span class="sun-icon glow" | ||
><img src="day-mode.png" alt="Light mode" | ||
/></span> | ||
<span class="moon-icon glow" style="display: none" | ||
><img src="moon.png" alt="Dark mode" | ||
/></span> | ||
</button> | ||
</nav> | ||
</div> | ||
</header> | ||
</header> | ||
|
||
<main class="content-container " style="padding-top: 50px;"> | ||
<section class="disclaimer-section"> | ||
<h1>Disclaimer</h1> | ||
<p> | ||
The information provided by <strong>BuddyTrial</strong> is for general informational purposes only. | ||
All information on the site is provided in good faith; however, we make no representation or warranty | ||
of any kind, express or implied, regarding the accuracy, adequacy, validity, reliability, availability, | ||
or completeness of any information on the site. | ||
</p> | ||
<p> | ||
Under no circumstance shall we have any liability to you for any loss or damage of any kind incurred as | ||
a result of the use of the site or reliance on any information provided on the site. Your use of the site | ||
and your reliance on any information on the site is solely at your own risk. | ||
</p> | ||
<p> | ||
The site may contain links to other websites or content belonging to or originating from third parties or | ||
links to websites and features in banners or other advertising. Such external links are not investigated, | ||
monitored, or checked for accuracy, adequacy, validity, reliability, availability, or completeness by us. | ||
</p> | ||
<p> | ||
The information on this site does not constitute legal, financial, or professional advice. You should | ||
consult with an appropriate professional before making any decisions. | ||
</p> | ||
<p> | ||
If you have any questions about this Disclaimer, you can contact us via email at | ||
<a href="mailto:[email protected]">[email protected]</a>. | ||
</p> | ||
</section> | ||
</main> | ||
|
||
<footer> | ||
<p>© 2024 BuddyTrial. All Rights Reserved.</p> | ||
</footer> | ||
|
||
<div class="container"> | ||
|
||
<!-- Table of contents on the left side --> | ||
<div class="toc"> | ||
<h2>Table of Contents</h2> | ||
<ul> | ||
<li><a href="#section1">1. General Information</a></li> | ||
<li><a href="#section2">2. No Guarantees</a></li> | ||
<li><a href="#section3">3. External Links</a></li> | ||
<li><a href="#section4">4. Liability</a></li> | ||
<li><a href="#section5">5. Changes to This Disclaimer</a></li> | ||
<li><a href="#section6">6. Contact Us</a></li> | ||
</ul> | ||
</div> | ||
|
||
<!-- Main content on the right side --> | ||
<div class="main-content"> | ||
<h1>BuddyTrail - Disclaimer</h1> | ||
|
||
<!-- Disclaimer sections --> | ||
<h2 id="section1">1. General Information</h2> | ||
<p>The information provided by BuddyTrail is for general informational purposes only. All information on the Site is provided in good faith, however, we make no representation or warranty of any kind, express or implied, regarding the accuracy, adequacy, validity, or reliability of any information on the Site.</p> | ||
|
||
<h2 id="section2">2. No Guarantees</h2> | ||
<p>While we strive to provide accurate and up-to-date information, we make no guarantees about the completeness or accuracy of the information, and you should not rely solely on it. Your use of any information on the Site is at your own risk.</p> | ||
|
||
<h2 id="section3">3. External Links</h2> | ||
<p>Our Site may contain links to third-party websites or services that are not owned or controlled by BuddyTrail. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party websites or services. We strongly advise you to read the terms and conditions and privacy policies of any third-party websites that you visit.</p> | ||
|
||
<h2 id="section4">4. Liability</h2> | ||
<p>In no event shall BuddyTrail, nor its directors, employees, partners, agents, suppliers, or affiliates, be liable for any indirect, incidental, special, consequential, or punitive damages, including without limitation, loss of profits, data, use, goodwill, or other intangible losses, resulting from:</p> | ||
<ul> | ||
<li>Your access to or use of (or inability to access or use) the Site;</li> | ||
<li>Any conduct or content of any third party on the Site;</li> | ||
<li>Any content obtained from the Site; and</li> | ||
<li>Unauthorized access, use, or alteration of your transmissions or content.</li> | ||
</ul> | ||
|
||
<h2 id="section5">5. Changes to This Disclaimer</h2> | ||
<p>We reserve the right to modify this Disclaimer at any time. Any changes will be posted on this page, and the updated policy will take effect upon posting. We encourage you to check this page periodically to stay informed about our Disclaimer.</p> | ||
|
||
<h2 id="section6">6. Contact Us</h2> | ||
<p>If you have any questions or concerns about this Disclaimer, please contact us:</p> | ||
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p> | ||
<p>Phone: +1-800-555-1234</p> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |