Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepika14145 authored Oct 26, 2024
2 parents 1ccff27 + 9bc9af1 commit f2a1c78
Show file tree
Hide file tree
Showing 38 changed files with 3,140 additions and 2,909 deletions.
174 changes: 172 additions & 2 deletions F&Q.html
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ <h1 id="logo"><a href="#home">BuddyTrail</a></h1>
<div
style="
width: 100%;
height: 110px;
height: 125px;
background-color: #333;
margin-top: -20px;
"
Expand All @@ -315,6 +315,7 @@ <h1 id="logo"><a href="#home">BuddyTrail</a></h1>
"
src="img/HELP-IMG.jpg"
alt="image"
id="clipart-img1"
/>
<img
style="
Expand All @@ -326,6 +327,7 @@ <h1 id="logo"><a href="#home">BuddyTrail</a></h1>
"
src="img/download.jpeg"
alt="image"
id="clipart-img2";
/>
<div class="faq-container">
<!-- About Our Website Section -->
Expand Down Expand Up @@ -385,6 +387,7 @@ <h2>Suggestions/Questions</h2>
<p style="color: white;">Thank you! Your suggestion has been submitted.</p>
</div>
</div>
</div>
</section>


Expand Down Expand Up @@ -433,12 +436,14 @@ <h2>Suggestions/Questions</h2>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
padding: 20px;
padding: 0px;
}

.faq-container {
max-width: 800px;
margin: 0 auto;
margin-top: 50px;
margin-bottom: 50px;
background-color: #fff;
padding: 20px;
border-radius: 10px;
Expand Down Expand Up @@ -627,4 +632,169 @@ <h2>Suggestions/Questions</h2>
});
</script>
</body>
=======


<footer id="footer">
<div class="footer-container">
<!-- About Us Section -->
<div class="footer-column">
<h3>About Us</h3>
<p>Discover and plan affordable trips with BuddyTrail's travel companion tools.</p>
</div>

<!-- Quick Links Section -->
<div class="footer-column">
<h3>Quick Links</h3>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="faq.html" class="faq-link">FAQs</a></li>
<li><a href="servicespage.html">Services</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="team.html">Team</a></li>
<li><a href="contributor/contributor.html">Our Contributor</a></li>
</ul>
</div>

<!-- Legal Links Section -->
<div class="footer-column">
<h3>Legal Links</h3>
<ul>
<li><a href="terms_of_service.html">Terms of Service</a></li>
<li><a href="privacypolicy.html">Privacy Policy</a></li>
<li><a href="copyright.html">Copyright Notice</a></li>
<li><a href="disclaimer.html">Disclaimer</a></li>
<li><a href="cookie_policy.html">Cookie Policy</a></li>



</ul>
</div>

<!-- Contact Us Section -->
<div class="footer-column">
<h3>Contact Us</h3>
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p>
<p>Phone: <a href="tel:+1234567890">+123 456 7890</a></p>
</div>

<!-- Follow Us Section -->
<div class="footer-column">
<h3>Follow Us</h3>
<div class="social-icons">
<a href="https://discord.com/invite/priyaghosal" target="_blank"><i class="fab fa-discord"></i></a>
<a href="https://x.com/https://twitter.com/PriyaGhosa39968" target="_blank"><i class="fa-brands fa-x-twitter"></i></a>
<a href="https://github.com/PriyaGhosal/BuddyTrail" target="_blank"><i class="fab fa-github"></i></a>
<a href="https://www.linkedin.com/in/priya-ghosal-785771286/" target="_blank"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>

<!-- Newsletter Form Section -->
<style>
.footer-column.newsletter {
max-width: 300px;
margin: 0 auto;
text-align: center;
}
#newsletter-form {
display: flex;
flex-direction: column;
align-items: center;
}
#email {
width: 100%;
margin-bottom: 10px;
padding: 8px;
box-sizing: border-box;
}
button[type="submit"] {
width: 100px;
padding: 6px;
font-size: 14px;
}
#subscription-message {
font-size: 14px;
margin-top: 10px;
}
</style>
<div class="footer-column newsletter" id="newsletter">
<h3>Subscribe to Our Newsletter</h3>
<form id="newsletter-form">
<input type="email" id="email" placeholder="Enter your email" required />
<button type="submit">Subscribe</button>
</form>
<p id="subscription-message"></p>
</div>
</div>

<!-- Footer Bottom Section -->
<div class="footer-bottom">
<p class="copyright-b">&copy; 2024 BuddyTrail. All rights reserved.</p>
</div>
</footer>
<script>
document.addEventListener("DOMContentLoaded", function () {
const hamburger = document.getElementById("hamburger");
const navList = document.getElementById("nav-links");
const closeBtn = document.getElementById("closeBtn");

hamburger.addEventListener("click", function () {
navList.classList.toggle("active");
});

closeBtn.addEventListener("click", function () {
navList.classList.remove("active");
});
});

document.addEventListener("DOMContentLoaded", function() {
const modeToggle = document.getElementById("modeToggle");
const sunIcon = document.querySelector(".sun-icon");
const moonIcon = document.querySelector(".moon-icon");

// Check saved theme in localStorage and apply it
const currentTheme = localStorage.getItem("theme") || "light";
if (currentTheme === "dark") {
document.body.classList.add("dark-mode");
sunIcon.style.display = "none";
moonIcon.style.display = "inline-block";

} else {
sunIcon.style.display = "inline-block";
moonIcon.style.display = "none";
}

// Toggle between light and dark mode on button click
modeToggle.addEventListener("click", () => {
const isDarkMode = document.body.classList.toggle("dark-mode");

// Apply dark mode styles to relevant sections
const sections = document.querySelectorAll('.about, .core-values, .team');
sections.forEach(section => {
if (isDarkMode) {
section.classList.add('dark-mode');
} else {
section.classList.remove('dark-mode');
}
});

// Update icons and local storage
if (isDarkMode) {
sunIcon.style.display = "none";
moonIcon.style.display = "inline-block";
localStorage.setItem("theme", "dark");
document.getElementById("clipart-img1").style.visibility = "hidden";
document.getElementById("clipart-img2").style.visibility = "hidden";
} else {
sunIcon.style.display = "inline-block";
moonIcon.style.display = "none";
localStorage.setItem("theme", "light");
document.getElementById("clipart-img1").style.visibility = "visible";
document.getElementById("clipart-img2").style.visibility = "visible";
}
});
});
</script>
</body>
</html>
90 changes: 67 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,7 @@ https://github.com/user-attachments/assets/35baa356-0d03-4aa8-9f79-db78244397ee
<!--Line-->
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900">

⚙️ Getting Started with the Code:
1. Fork this Repository 🍴
2. Clone to your local machine 🧩 using:
git clone https://github.com/Your-Username/BuddyTrail.git
3. Create a new branch:
git branch -c "Feature-Name"
4. Navigate to the branch:
git checkout Feature-Name
5. Add changes and Commit:
git commit -m "Add Changes message"
6. Push to the branch:
git push origin Feature-Name
7. Submit Pull Request



## 🛠️ Technologies Used
Expand All @@ -133,16 +121,57 @@ https://github.com/user-attachments/assets/35baa356-0d03-4aa8-9f79-db78244397ee
<!--Line-->
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900">

## 📡 API Documentation

### Overview
The BuddyTrail API allows you to interact with travel data, including destinations, hotels, and flights.

### Endpoints

#### 🌍 Get Destinations
- **URL:** `/api/destinations`
- **Method:** `GET`
- **Description:** Fetch a list of popular travel destinations.

#### 🏨 Get Hotels
- **URL:** `/api/hotels`
- **Method:** `GET`
- **Description:** Retrieve available hotels for a specified destination.

#### ✈️ Book Flight
- **URL:** `/api/book-flight`
- **Method:** `POST`
- **Description:** Book a flight with the provided travel details.

### Usage Example
```bash
curl -X GET "https://api.buddytrail.com/api/destinations"
```
### 📜 Response Format
All responses are in JSON format. Ensure to handle errors appropriately.


<!--Line-->
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900">


## 🎉 Welcome Contributors!! 👨‍💻👋

Join the list. **We are waiting** <br/>
Here's how you can contribute to the repository:

1. **Fork the repository.**
2. **Create a new feature branch.**
3. **Commit your changes.**
4. **Push to the branch.**
5. **Open a Pull Request.**
1. Fork this Repository 🍴
2. Clone to your local machine 🧩 using:
git clone https://github.com/Your-Username/BuddyTrail.git
3. Create a new branch:
git branch -c "Feature-Name"
4. Navigate to the branch:
git checkout Feature-Name
5. Add changes and Commit:
git commit -m "Add Changes message"
6. Push to the branch:
git push origin Feature-Name
7. Submit Pull Request

We welcome all contributions to improve **BuddyTrail**! If you would like to contribute, please follow the [Contributing.md](./Contributing.md) for more details on how to get started.

Expand All @@ -163,13 +192,26 @@ You can find the project structure in the [Project Structure](project-structure.
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900">

<div>
<h2 align = "center"><img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Smilies/Red%20Heart.png" width="35" height="35">Our Contributors</h2>
<div align = "center">
<h3>Thank you for contributing to our repository</h3>
<h2 align="center"><img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Smilies/Red%20Heart.png" width="35" height="35"> Our Contributors</h2>
<div align="center">
<h3>Thank you for contributing to our repository</h3



<p align="center">
<a href="https://github.com/PriyaGhosal/BuddyTrail/graphs/contributors">
<img src="https://api.vaunt.dev/v1/github/entities/PriyaGhosal/repositories/BuddyTrail/contributors?format=svg&limit=54" width="700" height="250" />
</a>
</p>
<a href="https://github.com/PriyaGhosal/BuddyTrail/graphs/contributors">
<img src="https://contrib.rocks/image?repo=PriyaGhosal/BuddyTrail&max=300" />
</a>



</div>
</div>


### &#8627; Stargazers
Expand Down Expand Up @@ -202,7 +244,9 @@ You can find the project structure in the [Project Structure](project-structure.
| ![Priya Ghosal](https://avatars.githubusercontent.com/u/162816363?v=4&s=80) |
|:--:|
| **Priya Ghosal** <br> <sub>Project Admin</sub> |
| [![LinkedIn](https://img.icons8.com/fluency/32/000000/linkedin.png)](https://www.linkedin.com/in/priya-ghosal-785771286/) |
| [![LinkedIn](https://img.icons8.com/fluency/32/000000/linkedin.png)](https://www.linkedin.com/in/priya-ghosal-785771286/) [![Discord](https://img.icons8.com/fluency/32/000000/discord.png)](https://discord.com/invite/priyaghosal) [![Twitter](https://img.icons8.com/fluency/32/000000/twitter.png)](https://twitter.com/PriyaGhosa39968) [![GitHub](https://img.icons8.com/fluency/32/000000/github.png)](https://github.com/PriyaGhosal/BuddyTrail) |



For any inquiries or feedback, please contact. Happy Contributing 🫡

Expand All @@ -215,4 +259,4 @@ If you find this project helpful, please consider giving it a ⭐ on GitHub! You
<!--Line-->
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="900">

# Thanks for reading!!!
# Thanks for reading!!!
Loading

0 comments on commit f2a1c78

Please sign in to comment.