-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat-authentication
- Loading branch information
Showing
12 changed files
with
184 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Greetings | ||
|
||
on: | ||
pull_request_target: | ||
issues: | ||
|
||
jobs: | ||
greeting: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- name: Greet the user | ||
uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: "👋 Thank you @${{ github.actor }} for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!" | ||
pr-message: "🎉 Thank you @${{ github.actor }} for your contribution! Your pull request has been submitted successfully. A maintainer will review it as soon as possible. We appreciate your support in making this project better." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Code of Conduct 🌟 | ||
|
||
We believe in creating a welcoming, inclusive environment for everyone. Please be kind, humble, and respectful to others. Let's work together with compassion and understanding to build something meaningful. ❤️ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,11 @@ | |
|
||
Welcome to the **Uttarakhand Culture Project**! This platform is dedicated to preserving and celebrating the rich cultural heritage of Uttarakhand. We aim to address the growing concern of the younger generation losing touch with their cultural roots by safeguarding the traditional rituals, deities, and unique practices of Uttarakhand. Together, we can ensure this cultural treasure is passed down to future generations. 🌿 | ||
|
||
Whether you're a coder or a cultural enthusiast, **we need your help**! Your contributions—big or small—are invaluable in building this platform. Let’s work together to bridge the gap and keep our heritage alive! | ||
Whether you're a coder or a cultural enthusiast, **we need your help**! Your contributions—big or small—are invaluable in building this platform. Let’s work together to bridge the gap and keep our heritage alive! 🌱✨ | ||
|
||
If you have any questions, doubts, or suggestions about contributing (or anything else), feel free to ping me on [LinkedIn](https://www.linkedin.com/in/ajaynegi45/) or [Twitter](https://x.com/ajaynegi45) anytime. I'll do my best to reply as quickly as possible. | ||
|
||
We're all about **quality over quantity** here, so even your smallest, meaningful contribution will make a bigger impact than something large but less thoughtful. Let's create something special together! 🙌 | ||
|
||
## How You Can Contribute 👀 | ||
|
||
|
@@ -35,7 +39,9 @@ You don’t need to be a developer to contribute! Here's how you can help: | |
Your creativity is welcome! Share design suggestions to improve the website’s aesthetic. | ||
|
||
- **Gather Cultural Content** | ||
Choose an aspect of Uttarakhand’s culture—whether it’s history, traditions, or natural beauty—and gather authentic information. Be sure to cite your sources. If the information is personal or local knowledge, please mention that too. 📝 | ||
Choose an aspect of Uttarakhand’s culture—whether it’s history, traditions, or natural beauty—and gather authentic information. Be sure to cite your sources. If the information is personal or local knowledge, please mention that too. 📝 | ||
<a href="https://ajaynegi.notion.site/Resources-f92bcb910d0544a1a8db50cc3ef79cfe" target="_blank">Explore this resource also for gathering cultural information</a> | ||
|
||
|
||
- **Suggest a Name for the Website** | ||
We're still on the hunt for the perfect name! We want something meaningful in the local language that reflects the website's mission. Got an idea? Share it via opening an [issue](https://github.com/ajaynegi45/Uttarakhand-Culture-NewUI/issues/new?assignees=&labels=status%3A+awaiting+triage&projects=&template=feature_request.yml&title=%5BFEATURE%5D+%3Cbrief+description%3E) or **[Email](mailto:[email protected])** with the subject line “Website Name Suggestion.” Your creativity could name this entire project! | ||
|
@@ -44,17 +50,24 @@ You don’t need to be a developer to contribute! Here's how you can help: | |
<br/> | ||
|
||
## Getting Started ✍🏻 | ||
# Getting Started ✍🏻 | ||
|
||
Even if you’re new to open source, contributing is easy! Follow the steps below to join us: | ||
|
||
### Prerequisites | ||
## Prerequisites 🌐 | ||
|
||
Before diving into the project, make sure you’ve got the following tools ready to go on your machine: | ||
|
||
Ensure you have the following installed on your machine: | ||
- [npm](https://www.npmjs.com/) (v6 or higher) | ||
- [Node.js](https://nodejs.org/) (v18.17.1 or higher) | ||
|
||
### How to Contribute: | ||
And hey, while you’re at it, don’t forget to: | ||
|
||
- Follow **Uttarakhand Culture** on [LinkedIn](https://www.linkedin.com/company/uttarakhandculture) to stay updated with the latest news, events, and cultural insights. | ||
- ⭐ Star the [repository](https://github.com/ajaynegi45/Uttarakhand-Culture-NewUI) and show your support for preserving this beautiful heritage! | ||
|
||
|
||
## How to Contribute: | ||
|
||
#### Step 1. Fork the Repository 🍴 | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from 'react'; | ||
import { getUpcomingFestival } from "@/utils/festivals"; | ||
import SectionCard from "@/components/ui/SectionCard"; | ||
import Nanda_Sunanda from "/public/Nanda-Sunanda.webp"; | ||
|
||
|
||
const Festivals: React.FC = () => { | ||
const upcomingFestival = getUpcomingFestival(); // Get the upcoming festival | ||
|
||
// Function to format a date in DD-MM-YYYY format | ||
const formatFestivalDate = (festivalDate: string): string => { | ||
const [day, month] = festivalDate.split('-'); | ||
const currentYear = new Date().getFullYear(); | ||
return `${day}-${month}-${currentYear}`; // Convert to DD-MM-YYYY format | ||
}; | ||
|
||
return ( | ||
<div> | ||
<h1>Upcoming Festivals in Uttarakhand</h1> | ||
{upcomingFestival ? ( | ||
<div> | ||
<strong>{upcomingFestival.name}</strong> - {formatFestivalDate(upcomingFestival.date)} | ||
</div> | ||
) : ( | ||
<p>No upcoming festivals</p> | ||
)} | ||
|
||
<SectionCard cardTitle={"UPCOMING FESTIVAL"} title={upcomingFestival.name} subTitle={formatFestivalDate(upcomingFestival.date)} description={"Egaas Bagwal is a unique festival celebrated 11 days after Diwali in the hilly regions of Uttarakhand. According to local belief, Lord Rama returned from exile late to these areas, which is why people here celebrate Egaas with great enthusiasm. The festival involves preparing traditional delicacies, performing joyful folk dances, and lighting up homes, much like Diwali. A standout tradition is spinning a flaming rope called \"Bhailo\", where villagers twirl a fire-lit rope, creating a mesmerizing display symbolizing light’s triumph over darkness. Egaas Bagwal reflects Uttarakhand’s rich cultural heritage, offering a glimpse into the community’s deep-rooted traditions and festive spirit. For the people of Uttarakhand, it’s not just a festival, but a meaningful tribute to their ancestors and the vibrant life of the hills."} | ||
image={Nanda_Sunanda} readMoreLink={""} /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Festivals; |
Oops, something went wrong.