Skip to content

Commit

Permalink
Merge branch 'main' into Replace-logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Gultreen authored Jul 21, 2024
2 parents 0d16e45 + 3432a48 commit b14e3cb
Show file tree
Hide file tree
Showing 154 changed files with 17,198 additions and 7,860 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/label-issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Label Issues Based on Template

on:
issues:
types: [opened, edited]

jobs:
label-issues:
runs-on: ubuntu-latest

steps:
- name: Check if issue needs a label
id: check_label
run: |
echo "Checking labels for issue #${{ github.event.issue.number }}"
if [[ "${{ github.event.issue.body }}" == *"I'm a GSSOC'24 contributor"* ]]; then
echo "::set-output name=label::gssoc"
elif [[ "${{ github.event.issue.body }}" == *"I'm a VSOC'24 contributor"* ]]; then
echo "::set-output name=label::VSoC'24"
else
echo "::set-output name=label::"
fi
- name: Apply Label
if: steps.check_label.outputs.label != ''
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: ${{ steps.check_label.outputs.label }}
11 changes: 11 additions & 0 deletions .vscode/easycode.ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
node_modules/
dist/
vendor/
cache/
.*/
*.min.*
*.test.*
*.spec.*
*.bundle.*
*.bundle-min.*
*.log
Binary file added 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div>
<lottie-player src="https://lottie.host/d255520b-69e6-4038-9c0d-dd0fea22ff34/cEkKelgU4A.json" background="##FFFFFF" speed="1" style="width: 300px; height: 300px" loop autoplay direction="1" mode="normal"></lottie-player>
</div>
<button><a href="index.html">Home</a></button>
<button><a href="./index.html">Home</a></button>
</div>

<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
Expand Down
423 changes: 391 additions & 32 deletions Adventure.html

Large diffs are not rendered by default.

140 changes: 140 additions & 0 deletions Blog/dumont.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
background-color: #f4f4f4;
}

header {
background-color: #333;
color: white;
padding: 20px 0;
text-align: center;
}

header h1 {
margin: 0;
}

nav ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: center;
margin: 0;
}

nav ul li {
margin: 0 15px;
}

nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease, border-bottom 0.3s ease;
border-bottom: 2px solid transparent;
}

nav ul li a:hover {
color: #4CAF50;
border-bottom: 2px solid #4CAF50;
}

main {
padding: 20px;
max-width: 1200px;
margin: auto;
}

section {
margin-bottom: 40px;
}

section h2 {
border-bottom: 2px solid #4CAF50;
padding-bottom: 10px;
}

#posts .post {
background-color: #f9f9f9;
margin-bottom: 20px;
padding: 20px;
border-left: 5px solid #4CAF50;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#posts .post:hover {
transform: scale(1.02);
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#posts .post h3 {
margin-top: 0;
}

#posts .post .date {
color: #777;
font-size: 0.9em;
margin-bottom: 10px;
}

#posts .post .post-image {
max-width: 100%;
height: auto;
margin-bottom: 15px;
border-radius: 5px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#posts .post .post-image:hover {
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#contact-form {
display: flex;
flex-direction: column;
max-width: 600px;
margin: auto;
}

#contact-form label {
margin-bottom: 5px;
}

#contact-form input,
#contact-form textarea {
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 1em;
}

#contact-form button {
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s ease;
}

#contact-form button:hover {
background-color: #45a049;
}

footer {
background-color: #333;
color: white;
text-align: center;
padding: 10px 0;
}

footer p {
margin: 0;
}
54 changes: 54 additions & 0 deletions Blog/dumont.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tour du Mont Blanc Blog</title>
<link rel="stylesheet" href="dumont.css">
</head>
<body>
<header>
<h1>Tour du Mont Blanc Blog</h1>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#blog">Blog</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section id="home">
<h2>Welcome to the Tour du Mont Blanc Blog</h2>
<p>Join me on my adventures as I explore the breathtaking landscapes of the Tour du Mont Blanc.</p>
</section>
<section id="about">
<h2>About Me</h2>
<p>Hello! I'm Shreya who loves exploring new places and sharing my experiences. Follow along as I discover the beauty of the Tour du Mont Blanc.</p>
</section>
<section id="blog">
<h2>Blog Posts</h2>
<div id="posts">
<!-- Blog posts will be inserted here by JavaScript -->
</div>
</section>
<section id="contact">
<h2>Contact Me</h2>
<form id="contact-form">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="message">Message:</label>
<textarea id="message" name="message" required></textarea>
<button type="submit">Send</button>
</form>
</section>
</main>
<footer>
<p>&copy; 2024 Tour du Mont Blanc Blog. All rights reserved.</p>
</footer>
<script src="dumont.js"></script>
</body>
</html>
118 changes: 118 additions & 0 deletions Blog/dumont.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
document.addEventListener("DOMContentLoaded", function() {
const blogPosts = [
{
title: "Starting the Tour du Mont Blanc",
date: "July 1, 2024",
content: `
Today marks the beginning of my adventure on the Tour du Mont Blanc. The excitement is palpable as I set out from Les Houches.
<br><br>
The trail is well-marked and the views are already stunning. The majestic peaks of Mont Blanc are a constant companion, offering a magnificent backdrop to the journey.
<br><br>
After leaving Les Houches, I quickly found myself immersed in the beauty of the French Alps. The trail wound through picturesque alpine meadows filled with wildflowers. The fresh mountain air was invigorating, and the sight of Mont Blanc looming in the distance was awe-inspiring.
<br><br>
As the day progressed, I passed charming mountain villages and crossed several suspension bridges over rushing streams. Each turn of the trail brought new and breathtaking views. I reached my first overnight stop, a cozy refuge, just as the sun was setting. It was a perfect end to an exhilarating day.
`,
imageUrl: "https://cdn.bookatrekking.com/data/images/2020/06/shutterstock-1013024953.jpg"
},

{
title: "Climbing to Col de la Croix du Bonhomme",
date: "July 2, 2024",
content: `
Today was a challenging climb to the Col de la Croix du Bonhomme, but the panoramic views from the top were absolutely worth the effort.
<br><br>
The ascent was steep, and the weather turned colder as I gained altitude. But reaching the top felt like an incredible achievement, and the sweeping views of the surrounding mountains were a perfect reward.
<br><br>
The climb to Col de la Croix du Bonhomme was one of the toughest parts of the trek so far. The trail zigzagged up steep slopes, and as I ascended, the temperature dropped noticeably. Despite the physical challenge, the scenery kept me motivated. The higher I climbed, the more expansive the views became.
<br><br>
Upon reaching the col, I was greeted by a stunning panorama of snow-capped peaks and deep valleys. The sense of accomplishment was overwhelming. After taking in the views and capturing some photos, I began the descent to the next refuge, where I enjoyed a hearty meal and shared stories with fellow hikers.
`,
imageUrl: "https://i0.wp.com/www.cycling-challenge.com/wp-content/uploads/DJI_3131.jpg"
},
{
title: "Exploring Courmayeur",
date: "July 3, 2024",
content: `
Today was a rest day in Courmayeur, a beautiful Italian town nestled in the Alps. It was a perfect opportunity to relax and explore.
<br><br>
The town has a charming atmosphere, with narrow streets, traditional architecture, and plenty of cafes and shops. I spent the day wandering around, enjoying the local cuisine, and preparing for the next leg of the trek.
<br><br>
Courmayeur offered a delightful contrast to the rugged mountain trails. The town is steeped in history, with its quaint streets and traditional buildings. I started the day with a leisurely stroll through the town center, stopping at a local bakery for some fresh pastries and coffee.
<br><br>
The rest of the day was spent exploring Courmayeur's many attractions. I visited the local market, where I picked up some fresh produce and local delicacies. In the evening, I dined at a charming trattoria, savoring a delicious Italian meal. It was a perfect day of relaxation and indulgence before heading back to the trail.
`,
imageUrl: "https://www.courmayeurmontblanc.it/wp-content/uploads/2023/09/Primavera_AliceAbbruzzino_for_CourmayeurMontBlanc_n.-86-1-scaled.jpg"
},
{
title: "Crossing the Grand Col Ferret",
date: "July 4, 2024",
content: `
Today's journey took me over the Grand Col Ferret, marking the border between Italy and Switzerland. The views were simply breathtaking.
<br><br>
The climb was challenging, but the sense of crossing into a new country on foot was exhilarating. The Swiss side of the trail offered its own unique beauty, with rolling green hills and pristine alpine scenery.
<br><br>
Crossing the Grand Col Ferret was a memorable part of the trek. The trail ascended steadily, and the views became more dramatic with each step. Reaching the col, I felt a sense of accomplishment and excitement as I stepped into Switzerland. The landscape changed noticeably, with lush green pastures and picturesque Swiss chalets dotting the hillsides.
<br><br>
The descent into the Swiss valley was equally stunning. The pristine alpine scenery, with its rolling hills and clear streams, was picture-perfect. I arrived at the next refuge, where I was welcomed with warm hospitality and a delicious Swiss meal. It was a perfect end to a remarkable day.
`,
imageUrl: "https://www.randos-montblanc.com/wp-content/gallery/grand-col-et-tete-de-ferret/ferret21.jpg"
},
{
title: "Reaching Champex-Lac",
date: "July 5, 2024",
content: `
After several days of challenging hiking, I arrived in the picturesque village of Champex-Lac. The tranquil lake and surrounding mountains made it a perfect spot for a well-deserved rest.
<br><br>
The village is incredibly charming, and I enjoyed a leisurely day by the lake, soaking in the beauty of the Swiss Alps. The reflections of the mountains in the clear water were mesmerizing.
<br><br>
Champex-Lac provided a serene break from the rigors of the trail. The village, nestled by a crystal-clear lake, was like something out of a postcard. I spent the day relaxing by the water, taking in the reflections of the surrounding mountains.
<br><br>
In the evening, I took a leisurely walk around the lake, marveling at the tranquil beauty of the place. The sunset cast a golden glow over the water, creating a magical atmosphere. It was a perfect end to a day of rest and rejuvenation.
`,
imageUrl: "https://www.novo-monde.com/app/uploads/2020/06/vue-champex.jpg"
},
{
title: "Final Stretch to Chamonix",
date: "July 6, 2024",
content: `
The final day of the Tour du Mont Blanc brought me back to Chamonix. The journey has been incredible, filled with breathtaking views and unforgettable experiences.
<br><br>
The descent into Chamonix was bittersweet, marking the end of an amazing adventure. The town's vibrant atmosphere was a perfect contrast to the tranquility of the trail, and I celebrated the completion of the trek with newfound friends.
<br><br>
The final stretch of the Tour du Mont Blanc was a mix of emotions. The descent into Chamonix was filled with anticipation and a bit of sadness as the trek came to an end. The views on the way down were stunning, with Mont Blanc providing a majestic backdrop.
<br><br>
Arriving in Chamonix, I was greeted by the vibrant energy of the town. The streets were bustling with fellow hikers, climbers, and tourists. I celebrated the completion of the trek with a hearty meal and a toast to the incredible journey. The Tour du Mont Blanc has been an unforgettable experience, filled with breathtaking scenery, challenging climbs, and lasting memories.
`,
imageUrl: "https://content.r9cdn.net/rimg/dimg/c5/c2/9f824e3a-city-24428-167bdc2d7c2.jpg?width=1366&height=768&xhint=1384&yhint=1645&crop=true"
}
];

const postsContainer = document.getElementById("posts");

blogPosts.forEach(post => {
const postElement = document.createElement("div");
postElement.classList.add("post");

const postTitle = document.createElement("h3");
postTitle.textContent = post.title;

const postDate = document.createElement("p");
postDate.classList.add("date");
postDate.textContent = post.date;

const postImage = document.createElement("img");
postImage.src = post.imageUrl;
postImage.alt = post.title;
postImage.classList.add("post-image");

const postContent = document.createElement("p");
postContent.innerHTML = post.content;

postElement.appendChild(postTitle);
postElement.appendChild(postDate);
postElement.appendChild(postImage);
postElement.appendChild(postContent);

postsContainer.appendChild(postElement);
});
});
Loading

0 comments on commit b14e3cb

Please sign in to comment.