Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-848 authored Aug 10, 2024
2 parents f7427b8 + ab422e7 commit 5563131
Show file tree
Hide file tree
Showing 19 changed files with 958 additions and 460 deletions.
Binary file added chem.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions counter.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
@media screen and (max-width: 480px) {
.wrapper {
gap: 15px;
width: 100vw;
}
.countitem {
width: 100%;
Expand Down
10 changes: 5 additions & 5 deletions feed.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ <h3>How would you rate the following aspects?</h3>
</div>

<div class="icons">
<a href="">
<a href="https://www.linkedin.com/in/arpan-chowdhury-775294251/?original_referer=https%3A%2F%2Fin%2Esearch%2Eyahoo%2Ecom%2F&originalSubdomain=in">
<div class="icon">
<i
class="fab fa-linkedin"
Expand All @@ -162,13 +162,13 @@ <h3>How would you rate the following aspects?</h3>
</div>
</a>

<a href="">
<a href="https://x.com/ArpanCh40193288">
<div class="icon">
<i class="fab fa-twitter" title="X" style="cursor: pointer"></i>
</div>
</a>

<a href="#">
<a href="https://www.instagram.com/anuragbasu1973/">
<div class="icon">
<i
class="fab fa-instagram"
Expand All @@ -178,13 +178,13 @@ <h3>How would you rate the following aspects?</h3>
</div>
</a>

<a href="" title="YouTube">
<a href="https://www.youtube.com/@arpanchowdhury53" title="YouTube">
<div class="icon">
<i class="fab fa-youtube" style="cursor: pointer"></i>
</div>
</a>

<a href="" title="GitHub">
<a href="https://github.com/apu52" title="GitHub">
<div class="icon">
<i class="fab fa-github" style="cursor: pointer"></i>
</div>
Expand Down
139 changes: 139 additions & 0 deletions healt.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Health and Safety Alerts</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
}

/* Modal Container */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.7); /* Black background with opacity */
justify-content: center;
align-items: center;
}

/* Modal Content */
.modal-content {
background-color: #fff;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 90%;
max-width: 500px;
border-radius: 10px;
text-align: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.modal-header {
font-size: 24px;
margin-bottom: 20px;
}

.modal-body {
font-size: 18px;
margin-bottom: 20px;
}

.modal-body img {
max-width: 100%;
height: auto;
margin-bottom: 20px;
border-radius: 10px;
}

.btn {
padding: 10px 20px;
font-size: 16px;
color: white;
background-color: #f44336;
border: none;
border-radius: 5px;
cursor: pointer;
}

.btn:hover {
background-color: #d32f2f;
}
</style>
</head>
<body>

<h1>Health and Safety Alerts</h1>
<p>Click the buttons below to see different health and safety alerts.</p>

<button class="btn" onclick="showModal('Health Alert', 'High temperature detected! Take immediate action to cool down.', 'saf.png')">Show Health Alert</button>
<button class="btn" onclick="showModal('Safety Alert', 'Unsafe chemical detected! Evacuate the area immediately.', 'chem.jpg')">Show Safety Alert</button>

<!-- The Modal -->
<div id="alertModal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeModal()">&times;</span>
<div class="modal-header" id="modalHeader">Alert Title</div>
<div class="modal-body">
<img id="modalImage" src="" alt="Alert Image">
<p id="modalMessage">This is the alert message.</p>
</div>
<button class="btn" onclick="closeModal()">Close Alert</button>
</div>
</div>

<script>
function showModal(title, message, imageUrl) {
const modal = document.getElementById('alertModal');
const modalHeader = document.getElementById('modalHeader');
const modalMessage = document.getElementById('modalMessage');
const modalImage = document.getElementById('modalImage');

modalHeader.textContent = title;
modalMessage.textContent = message;
modalImage.src = imageUrl;

modal.style.display = 'flex';
}

function closeModal() {
const modal = document.getElementById('alertModal');
modal.style.display = 'none';
}

// Close the modal if the user clicks outside the modal content
window.onclick = function(event) {
const modal = document.getElementById('alertModal');
if (event.target === modal) {
closeModal();
}
}
</script>
</body>
</html>
Binary file added hs.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 47 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,16 @@
}


@media (max-width: 725px) {
.circle-container{
display: none;
}
}
@media (max-width: 725px) {
.circle-container{
display: none;
}
.header__image{
margin-right: 1rem;
}
}
/* testimonials */
.card1 {
.card1 {
width: 330px;
height: 450px;
transition: opacity 0.5s ease;
Expand Down Expand Up @@ -1215,6 +1218,10 @@ <h2 class="section__title" data-aos="zoom-in" style="text-align: center;">
<button class="btn btn-style" id="prev">Prev</button>
<button class="btn btn-style" id="next">Next</button>
</div>
<br></br>




<!-- Trip Photo Gallery -->
<div class="trip-gallery-container">
Expand Down Expand Up @@ -1291,6 +1298,22 @@ <h2 class="section__title" data-aos="zoom-in" style="text-align: center;">
</script>
<br /><br />

<!--Local Events -->
<section class="hotel" id ="hotel">
<h2 class="tourist-heading section__title" align-items="center" data-aos="fade-in">Local Events and Festival</h2>

<br></br>
<h3 style="color: rgb(20, 80, 234); font-style: italic;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">Explore uniques culture and Festivals</h3>
<br></br>
<div class="center-card">
<img src="./loc.jpg" alt="hr1"/>
<br>
<a class="btn btn-primary" href="./loc.html" role="button" class="book__now btn-style" style="box-shadow: 2px 2px 8px red;">View Now</a>
<br>

</div>
</section>
<br></br>
<!-- Toursit Guide Section -->
<section class="tourist" id="tourist">
<h2 class="tourist-heading section__title" align-items="center" data-aos="fade-in">Tourist Guide</h2>
Expand Down Expand Up @@ -1359,6 +1382,7 @@ <h4 style="color: rgb(231, 62, 118); font-style: italic;font-family: cursive;">H
<br /><br /><br /><br /> -->



<!-- Hotel & Resort Section -->
<section class="hotel" id ="hotel">
<h2 class="tourist-heading section__title" align-items="center" data-aos="fade-in">Hotels & Resorts</h2>
Expand Down Expand Up @@ -1407,6 +1431,23 @@ <h3 style="color: rgb(104, 5, 218); font-style: italic;font-family: Cambria, Coc
</div>
</section>
<br /><br />

<!--Health and safety-->
<section class="hotel" id ="hotel">
<h2 class="tourist-heading section__title" align-items="center" data-aos="fade-in">Health and Safety Alerts</h2>

<br></br>
<h3 style="color: rgb(20, 80, 234); font-style: italic;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">Healthy life for better Journey</h3>
<br></br>
<div class="center-card">
<img src="./hs.jpg" alt="hr1"/>
<br>
<a class="btn btn-primary" href="./healt.html" role="button" class="book__now btn-style" style="box-shadow: 2px 2px 8px red;">View Now</a>
<br>

</div>
</section>
<br /><br />
<!--Accessibility for Special People-->
<section class="hotel" id ="hotel">
<h2 class="tourist-heading section__title" align-items="center" data-aos="fade-in">Help for Special People</h2>
Expand Down
104 changes: 104 additions & 0 deletions loc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Local Events & Festivals</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: white;
padding: 1em;
text-align: center;
}
#events {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 1em;
}
.event-card {
background-color: white;
border: 1px solid #ddd;
border-radius: 8px;
margin: 10px;
padding: 15px;
width: 300px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.event-card img {
width: 100%;
height: auto;
border-radius: 8px 8px 0 0;
}
.event-card h2 {
font-size: 1.5em;
margin: 10px 0;
}
.event-card p {
font-size: 1em;
margin-bottom: 10px;
}
.event-card .date {
font-weight: bold;
color: #333;
}
</style>
</head>
<body>
<header>
<h1>Discover Local Events & Festivals</h1>
</header>

<section id="events">
<!-- Events will be dynamically inserted here -->
</section>

<script>
document.addEventListener("DOMContentLoaded", () => {
const events = [
{
title: "Paris Marathon",
date: "13 April 2025",
description: "Join us to run the largest path with enthusiasm and enjoy the marathon.",
image: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSLgjtGK_igiNGcVfS_CAGFgC0-afxp7pKDVQ&s"
},
{
title: "Dubai International Film Festival",
date: "19 June 2024",
description: "Celebrate the Film Festival with amazing performance of famous artists.",
image: "https://variety.com/wp-content/uploads/2018/04/15th-edition-of-the-region_s-leading-film-festival-to-be-held-in-2019.jpg"
},
{
title: "Goa Carnival",
date: "9th to 13th February 2024",
description: "Experience the magic of Goan culture, food and festival vibes.",
image: "https://upload.wikimedia.org/wikipedia/en/1/1f/Goa_Carnaval.jpg"
}
];

const eventsSection = document.getElementById("events");

events.forEach(event => {
const eventCard = document.createElement("div");
eventCard.className = "event-card";

eventCard.innerHTML = `
<img src="${event.image}" alt="${event.title}">
<h2>${event.title}</h2>
<p class="date">${event.date}</p>
<p>${event.description}</p>
`;

eventsSection.appendChild(eventCard);
});
});
</script>
</body>
</html>
Binary file added loc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions newLogin.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@
align-items: center;
}

.back-to-home {
display: flex;
align-items: center;
text-decoration: none;
color: white;
}

.back-to-home svg {
margin-right: 8px;
margin-left: 500px;
Expand Down
Loading

0 comments on commit 5563131

Please sign in to comment.