From e9e61cdc19f4ebf90b814071b9b25f7b37d10595 Mon Sep 17 00:00:00 2001 From: advika31 Date: Fri, 15 Nov 2024 13:48:04 +0530 Subject: [PATCH] added weather widget to destinations --- dedicated destinations/Ladakh/ladakh.css | 110 +++++++++++++++++++++- dedicated destinations/Ladakh/ladakh.html | 57 +++++++++-- dedicated destinations/Ladakh/ladakh.js | 47 ++++++++- dedicated destinations/Taj_Mahal/Taj.css | 69 +++++++++++++- dedicated destinations/Taj_Mahal/Taj.html | 20 ++++ dedicated destinations/Taj_Mahal/Taj.js | 47 ++++++++- dedicated destinations/thailand/t.css | 68 ++++++++++++- dedicated destinations/thailand/t.html | 19 ++++ dedicated destinations/thailand/t.js | 48 +++++++++- 9 files changed, 469 insertions(+), 16 deletions(-) diff --git a/dedicated destinations/Ladakh/ladakh.css b/dedicated destinations/Ladakh/ladakh.css index 8ab5f2b1..b3daa22c 100644 --- a/dedicated destinations/Ladakh/ladakh.css +++ b/dedicated destinations/Ladakh/ladakh.css @@ -347,4 +347,112 @@ #btn-style { font-size: 0.6rem; } -} \ No newline at end of file +} + +/* #weather-widget { + border: 1px solid #ddd; + margin-top: 80px; + background: linear-gradient(135deg, #4a90e2, #1c1e21); + color: #fff; + padding: 15px; + height: 900px; + border-radius: 12px; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); + text-align: center; + font-family: 'Arial', sans-serif; + display: inline-flex; + flex-direction: column; + align-items: center; +} + +#weather-widget h3 { + margin-bottom: 8px; + font-size: 1.2rem; + color: #ffeb3b; +} + +#weather-widget .weather-description { + font-size: 1rem; + font-weight: 500; + color: #ffdd57; +} + +#weather-widget .temperature { + font-size: 1.4rem; + font-weight: bold; + margin: 10px 0; +} + +#weather-widget .humidity { + font-size: 0.9rem; + color: #b3e5fc; +} + +#weather-widget .icon { + margin-top: 10px; +} */ +#weather-widget .heading { + font-size: 1rem; + font-weight: bold; + color: #d4f3c5; /* Yellow for headings */ +} + +#weather-widget .value { + font-size: 1 rem; + font-weight: bold; + color: #b3e5fc; /* Light blue for values */ +} +#weather-widget { + margin-top: 80px; + padding: 15px; + background: linear-gradient(135deg, #4a90e2, #1c1e21); + color: #d4f3c5; + font-weight: bold; + font-size: 1 rem; + text-align: center; + font-family: 'Arial', sans-serif; + height: 750px; + border-radius: 12px; + position: relative; + border: 2px solid; + border-image-slice: 1; + border-width: 3px; + border-image-source: linear-gradient(to right, #7688e3, #2e023b); + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1); + animation: glowing 2s infinite alternate; +} + +@keyframes glowing { + 0% { + box-shadow: 0 0 10px #7688e3, 0 0 20px #7688e3; + } + 100% { + box-shadow: 0 0 20px #7688e3, 0 0 30px #7688e3; + } +} + +#weather-widget h3 { + font-size: 1.3rem; + color: #ffeb3b; + margin: 0; +} + +.weather-icon { + width: 100px; + height: 100px; + animation: bounce 1.5s infinite ease-in-out; +} + +@keyframes bounce { + 0%, 100% { + transform: translateY(0); + } + 50% { + transform: translateY(-10px); + } +} + +#weather-widget:hover { + transform: scale(1.05); + transition: transform 0.3s ease-in-out; +} diff --git a/dedicated destinations/Ladakh/ladakh.html b/dedicated destinations/Ladakh/ladakh.html index 66c14eff..a430930e 100644 --- a/dedicated destinations/Ladakh/ladakh.html +++ b/dedicated destinations/Ladakh/ladakh.html @@ -41,7 +41,8 @@ - +
@@ -65,10 +66,15 @@

Food Items

-

Food is a means to provide important insights into the culture and history of a place. Since Ladakh is rich in culture and history, eating food in Ladakh is similar to taking a trip down the memory lane and reliving the history that this +

Food is a means to provide important insights into the culture and history of a place. Since Ladakh + is rich in culture and history, eating food in Ladakh is similar to taking a trip down the memory + lane and reliving the history that this region has to offer. -

One of the best parts of travelling in Ladakh is to savour different dishes and cuisines prepared by the locals. Tibetan influence on Ladakhi cuisine is palpable, especially thukpa and momos. Ladakhi food is not spicy as - Indian cuisine and is simple but healthy.

+

One of the best parts of travelling in Ladakh is to savour different dishes and cuisines + prepared by the locals. Tibetan influence on Ladakhi cuisine is palpable, especially thukpa and + momos. Ladakhi food is not spicy as + Indian cuisine and is simple but healthy. +

@@ -96,16 +102,24 @@

Free cancellation

- +

Description


- Ladakh is most famous for breathtaking landscapes, the crystal clear skies, the highest mountain passes, thrilling adventure activities, Buddhist Monasteries and festivals. Not only is it the only place in India where the graceful Double Hump camels found, - but it is also the place where you will find the Magnetic Hill, the one-of-a-kind phenomena that defies gravity. Ladakh gains a lot of popularity for being the only cold desert in India apart from bordering the World’s highest saltwater - Lake Pangong Lake. Riding up the highest motorable road in the world, Khardung la is a dream come true for many. The Hunder sand dunes, frozen river trek and snow leopards all find their only home in Ladakh. + Ladakh is most famous for breathtaking landscapes, the crystal clear skies, the highest mountain + passes, thrilling adventure activities, Buddhist Monasteries and festivals. Not only is it the only + place in India where the graceful Double Hump camels found, + but it is also the place where you will find the Magnetic Hill, the one-of-a-kind phenomena that + defies gravity. Ladakh gains a lot of popularity for being the only cold desert in India apart from + bordering the World’s highest saltwater + Lake Pangong Lake. Riding up the highest motorable road in the world, Khardung la is a dream come + true for many. The Hunder sand dunes, frozen river trek and snow leopards all find their only home + in Ladakh. @@ -117,6 +131,21 @@

Description


+
+

Weather in

+

Temperature: --°C

+

Feels Like: --°C

+

Humidity: --%

+

Condition: --

+

Wind Speed: -- m/s

+

Wind Gust: -- m/s

+

Cloudiness: --%

+

Pressure: -- hPa

+

Sea Level Pressure: -- hPa

+

Snow Volume (1h): -- mm

+
+
+ @@ -146,7 +175,10 @@

Support