Skip to content

Commit

Permalink
fixed-district-and-level
Browse files Browse the repository at this point in the history
  • Loading branch information
IkkiOcean committed Oct 27, 2024
1 parent 105f035 commit 0227b7e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
16 changes: 8 additions & 8 deletions src/app/trekking/location-detail.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const trekDetails = [
{
title: "ROOPKUND TREK",
difficultyLevel: "HIGH RISK",
difficultyLevel: "DIFFICULT",
altitude: 4536,
district: "CHAMOLI",
introduction:
Expand Down Expand Up @@ -121,7 +121,7 @@ export const trekDetails = [
},
{
title: "KEDARKANTHA TREK",
difficultyLevel: "EASY TO MODERATE",
difficultyLevel: "MODERATE",
altitude: 3810,
district: "UTTARKASHI",
introduction:
Expand Down Expand Up @@ -161,7 +161,7 @@ export const trekDetails = [

{
title: "NANDA DEVI BASE CAMP TREK",
difficultyLevel: "MODERATE TO DIFFICULT",
difficultyLevel: "DIFFICULT",
altitude: 4000,
district: "CHAMOLI",
introduction:
Expand Down Expand Up @@ -237,7 +237,7 @@ export const trekDetails = [
},
{
title: "BALI PASS TREK",
difficultyLevel: "DEMANDING",
difficultyLevel: "DIFFICULT",
altitude: 4950,
district: "UTTARKASHI",
introduction:
Expand Down Expand Up @@ -278,7 +278,7 @@ export const trekDetails = [
title: "KUMAON HIMALAYAS TREK",
difficultyLevel: "MODERATE",
altitude: 4200,
district: "KUMAON",
district: "ALMORA",
introduction:
"Explore the pristine beauty of the Kumaon Himalayas, where adventure and nature come together in perfect harmony. This trek promises an unforgettable experience for nature lovers and adventure seekers, offering an immersive journey through one of India's most scenic regions.",
overview:
Expand Down Expand Up @@ -353,7 +353,7 @@ export const trekDetails = [
},
{
title: "RUPIN PASS TREK",
difficultyLevel: "DEMANDING",
difficultyLevel: "DIFFICULT",
altitude: 4650,
district: "UTTARKASHI",
introduction:
Expand Down Expand Up @@ -427,7 +427,7 @@ export const trekDetails = [
},
{
title: "PANWALI KANTHA TREK",
difficultyLevel: "EASY TO MODERATE",
difficultyLevel: "MODERATE",
altitude: 3075,
district: "TEHRI GARHWAL",
introduction:
Expand Down Expand Up @@ -498,7 +498,7 @@ export const trekDetails = [
},
{
title: "TARSAR MARSAR TREK",
difficultyLevel: "MODERATE TO DIFFICULT",
difficultyLevel: "DIFFICULT",
altitude: 4000,
district: "RUDRAPRAYAG",
introduction:
Expand Down
24 changes: 15 additions & 9 deletions src/app/trekking/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,8 @@ export default function Trekking() {
>
<option value="">Select Difficulty</option>
<option value="EASY">EASY</option>
<option value="EASY TO MODERATE">EASY TO MODERATE</option>
<option value="MODERATE">MODERATE</option>
<option value="MODERATE TO DIFFICULT">MODERATE TO DIFFICULT</option>
<option value="DEMANDING">DEMANDING</option>
<option value="HIGH RISK">HIGH RISK</option>
<option value="DIFFICULT">DIFFICULT</option>
</select>
</div>

Expand All @@ -77,11 +74,20 @@ export default function Trekking() {
onChange={(e) => handleFilterChange(e, "district")}
>
<option value="">Select District</option>
{districts.map((dist, index) => (
<option key={index} value={dist}>
{dist}
</option>
))}
<option value="Almora">Almora</option>
<option value="Bageshwar">Bageshwar</option>
<option value="Chamoli">Chamoli</option>
<option value="Champawat">Champawat</option>
<option value="Dehradun">Dehradun</option>
<option value="Haridwar">Haridwar</option>
<option value="Nainital">Nainital</option>
<option value="Pauri Garhwal">Pauri Garhwal</option>
<option value="Pithoragarh">Pithoragarh</option>
<option value="Rudraprayag">Rudraprayag</option>
<option value="Tehri Garhwal">Tehri Garhwal</option>
<option value="Udham Singh Nagar">Udham Singh Nagar</option>
<option value="Uttarkashi">Uttarkashi</option>

</select>
</div>

Expand Down

0 comments on commit 0227b7e

Please sign in to comment.