diff --git a/.all-contributorsrc b/.all-contributorsrc index 12f9a810..9fd6587b 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -23,6 +23,8 @@ "ScreenShot": "https://raw.githubusercontent.com/nishant0708/awesome-github-profiles/main/screenshots/sanjay-kv.png", "profile": "https://recodehive.com", "contributions": [ + "maintenance", + "code", "review" ] }, @@ -52,6 +54,29 @@ "contributions": [ "review" ] + }, + { + "login": "RadhikaMalpani1702", + "name": "Radhika Malpani", + "avatar_url": "https://avatars.githubusercontent.com/u/163530398?v=4", + "profile": "https://github.com/RadhikaMalpani1702", + "contributions": [ + "review" + ] + }, + { + + "login": "Asymtode712", + "name": "Siddheya Kulkarni", + "avatar_url": "https://avatars.githubusercontent.com/u/115717746?v=4", + "profile": "https://github.com/Asymtode712", + "login": "yashksaini-coder", + "name": "Yash Kumar Saini", + "avatar_url": "https://avatars.githubusercontent.com/u/115717039?v=4", + "profile": "https://github.com/yashksaini-coder", + "contributions": [ + "review" + ] } ], "contributorsPerLine": 7, diff --git a/.github/ISSUE_TEMPLATE/add_profile.md b/.github/ISSUE_TEMPLATE/add_profile.md index 467ba99d..d1aae329 100644 --- a/.github/ISSUE_TEMPLATE/add_profile.md +++ b/.github/ISSUE_TEMPLATE/add_profile.md @@ -3,13 +3,27 @@ name: ➕ Add Profile about: Add your profile to our database ✨ title: "Add Profile: " labels: ➕ profile -category: String --- -paste a screenshot of your GitHub profile here +## Profile Submission -enter category to label your profile -category: +Please paste a screenshot of your GitHub profile here. -then comment ``@all-contributors please add @ for review`` +### Profile Category +Please select one or more categories for your profile: + +- [ ] Badge 🎖️ +- [ ] Minimalistic ✨ +- [ ] Dynamic 🔄 +- [ ] Icons 🎯 +- [ ] Backgrounds 😎 +- [ ] GIFS 🖼️ +- [ ] Game Mode 🚀 +- [ ] Code 👨‍💻 + +### Next Steps + +Once you've filled out the information, please comment below: + + ``@all-contributors please add @ for review`` diff --git a/.github/workflows/close-iss-on-merge.yml b/.github/workflows/close-iss-on-merge.yml new file mode 100644 index 00000000..425bb0b8 --- /dev/null +++ b/.github/workflows/close-iss-on-merge.yml @@ -0,0 +1,33 @@ +name: Close Issues on PR Merge +on: + pull_request: + types: [closed] + +jobs: + close-issues: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Close linked issues + if: github.event.pull_request.merged == true + run: | + # Extract issue numbers from both direct references and comment links + ISSUES=$(jq -r '.pull_request.body' "$GITHUB_EVENT_PATH" | grep -Eo '(#|issues/)[0-9]+' | grep -Eo '[0-9]+') + + for ISSUE in $ISSUES + do + echo "Closing issue #$ISSUE" + # Post a comment on the issue + curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/${{ github.repository }}/issues/$ISSUE/comments \ + -d '{"body":"Closed by PR #${{ github.event.pull_request.number }}"}' + # Close the issue + curl -X PATCH -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/${{ github.repository }}/issues/$ISSUE \ + -d '{"state":"closed"}' + done diff --git a/.github/workflows/update-categories.yml b/.github/workflows/update-categories.yml new file mode 100644 index 00000000..a224e0ad --- /dev/null +++ b/.github/workflows/update-categories.yml @@ -0,0 +1,34 @@ +name: Update Categories on PR + +on: + pull_request: + types: [opened, synchronize] + +jobs: + update-categories: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '18.x' + + - name: Install Dependencies + run: npm install + + - name: Update Contributors File + run: node .github/workflows/update-contributors.js ${{ github.event.pull_request.user.login }} "${{ github.event.pull_request.body }}" + + - name: Commit and Push Changes + run: | + git config --global user.name 'github-actions[bot]' + git config --global user.email 'github-actions[bot]@users.noreply.github.com' + git add .all-contributorsrc + git commit -m "Update categories for ${{ github.event.pull_request.user.login }}" + git push + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/update-contributors.js b/.github/workflows/update-contributors.js new file mode 100644 index 00000000..40ae307c --- /dev/null +++ b/.github/workflows/update-contributors.js @@ -0,0 +1,33 @@ +const fs = require('fs'); +const path = require('path'); + +const username = process.argv[2]; +const prBody = process.argv[3]; +const screenshotUrl = `https://raw.githubusercontent.com/nishant0708/awesome-github-profiles/main/screenshots/${username}.png`; + +// Extract selected categories from the PR body +const categories = (prBody.match(/\[(x| )\] (.+)/g) || []).map(line => line.replace(/^\[(x| )\] /, '')); + +const contributorsFilePath = path.join(process.cwd(), '.all-contributorsrc'); +const contributorsData = JSON.parse(fs.readFileSync(contributorsFilePath, 'utf8')); + +// Check if the user already exists in the contributors data +const existingContributor = contributorsData.contributors.find(contributor => contributor.login === username); + +if (existingContributor) { + // Update existing contributor's categories + existingContributor.contributions = categories; +} else { + // Add a new contributor + contributorsData.contributors.push({ + login: username, + name: username, // Customize as needed + avatar_url: `https://avatars.githubusercontent.com/${username}`, + ScreenShot: screenshotUrl, + profile: `https://github.com/${username}`, + contributions: categories + }); +} + +fs.writeFileSync(contributorsFilePath, JSON.stringify(contributorsData, null, 2)); +console.log('Contributors file updated successfully!'); diff --git a/README.md b/README.md index 440a1ac0..9a4dc0cd 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,7 @@
- -[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-) -Stars Badge -Forks Badge -Pull Requests Badge -Issues Badge -GitHub contributors -License Badge -[![](https://visitcount.itsvg.in/api?id=gssoc-postman&label=Profile%20Views&color=0&icon=5&pretty=true)](https://visitcount.itsvg.in) +[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-) This is the all in one place of awesome-github-profiles.
@@ -25,10 +17,15 @@ This is the all in one place of awesome-github-profiles. Mastan Sayyad
Mastan Sayyad

👀 - Sanjay Viswanathan
Sanjay Viswanathan

👀 + Sanjay Viswanathan
Sanjay Viswanathan

🚧 💻 👀 ANURAG VISHWAKARMA
ANURAG VISHWAKARMA

👀 Vijay Shanker Sharma
Vijay Shanker Sharma

👀 Nishant Kaushal
Nishant Kaushal

👀 + Radhika Malpani
Radhika Malpani

👀 + + Siddheya Kulkarni
Siddheya Kulkarni

👀 + Yash Kumar Saini
Yash Kumar Saini

👀 + @@ -38,50 +35,9 @@ This is the all in one place of awesome-github-profiles. -## Tools -- [Todoist Stats in Readme](https://github.com/abhisheknaiidu/todoist-readme) - Daily Todoist Stats on your Profile Readme -- [Visitor Badge](https://visitor-badge.glitch.me/#docs) - Count visitors for your README.md, Issues, PRs in GitHub -- [1990s style Visitor Counter](https://twitter.com/ryanlanciaux/status/1283755637126705152) - Add a 1990s style visitor counter with one line of markdown. -- [Vistor Count](https://pufler.dev/git-badges/) - Count visitors for README.md that can be used with shields.io -- [Shields Project](https://shields.io/) - Use Shields to create profile badges, compatible with Simple Icons -- [Github Readme Stats](https://github.com/anuraghazra/github-readme-stats) - Get dynamically generated GitHub stats on your readmes -- [Github Contributor Stats](https://github.com/HwangTaehyun/github-contributor-stats) - :fire: Get dynamically generated Github Contributor stats (repositories you really committed) on your readmes -- [GitHub Streak Stats](https://github.com/DenverCoder1/github-readme-streak-stats) - 🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README -- [Simple Icons](https://github.com/simple-icons/simple-icons#cdn-usage) - SVG icons for popular brands for your README.md files -- [Laravel GitHub Profile Visit Counter](https://github.com/caneco/laravel-github-profile-view-counter) - Add on your Laravel project a quick-badge to count your profile visits. -- [Dev Metrics in Readme](https://github.com/athul/waka-readme) - [WakaTime](https://wakatime.com/) Weekly Metrics on your Profile Readme -- [Profile Activity Generator](https://github.com/omidnikrah/profile-activity-generator) - Generate custom profile activity for your profile README -- [Current UTC time](https://github.com/jojoee/jojoee) - Example code of server that can serve dynamic content on GitHub profile -- [Github Activity in README](https://github.com/jamesgeorge007/github-activity-readme) - Updates `README.md` with the recent GitHub activity of a user -- [Github Profile README Generator](https://github.com/rahuldkjain/github-profile-readme-generator) - This tool provides an easy way to create github profile readme with latest addons like `visitors count`, `github stats` etc. -- [Dynamic Profile Page On Github](https://github.com/umutphp/github-action-dynamic-profile-page) - Get dynamically generated list of your commits (of the repositories that the action is configured) on GitHub profile readme. -- [npm package downloads](https://github.com/maddhruv/github-readme-npm-downloads) - Show all of your npm packages and their total downloads -- [All Dev Stats in Readme](https://github.com/anmol098/waka-readme-stats) - Are you an early 🐤 or a night 🦉? When are you most productive during the day? What languages you code in? And other stuff... Let's check out in your readme! -- [Feedparser](https://pythonhosted.org/feedparser/) - Convenient processing of RSS files -- [Profile README Widgets](https://github.com/marketplace/actions/profile-readme) - Add simple widgets to your profile readme. -- [Spotify now playing card generator](https://github.com/kittinan/spotify-github-profile) - Generate your Spotify now playing card for your GitHub profile -- [Markdown Badges](https://github.com/Ileriayo/markdown-badges) - Add badges to your profile. -- [Latest Blog Posts and StackOverflow activity in readme](https://github.com/gautamkrishnar/blog-post-workflow) - Show your latest blog posts from any sources or StackOverflow activity on your GitHub profile/project readme automatically using the RSS feed using this Github Action -- [GitHub Readme LinkedIn](https://github.com/soroushchehresa/github-readme-linkedin) - Get dynamically generated images from your LinkedIn profile on your GitHub readmes -- [GitHub Readme Medium](https://github.com/omidnikrah/github-readme-medium) - Show your latest Medium article on your readmes! -- [GitHub Readme StackOverflow](https://github.com/omidnikrah/github-readme-stackoverflow) - Dynamically generated your StackOverflow profile status on your GitHub readmes! -- [StackOverflow Stats Badge](https://github.com/claytonjhamilton/stackoverflow-badge) - Display your stats with this Unique StackOverflow Badge! -- [Github Profile README Generator](https://github.com/arturssmirnovs/github-profile-readme-generator) - This project allows you to create nice and simple github profile readme files. -- [Profile Readme Stats](https://github.com/marketplace/actions/profile-readme-stats) - [Github Action] Showcase your github stats on your profile README.md -- [README Jokes](https://github.com/ABSphreak/readme-jokes) - Random dev jokes in your GitHub README. -- [GitHub Profile Trophy](https://github.com/ryo-ma/github-profile-trophy) - 🏆 Add dynamically generated GitHub Trophy on your readme -- [Github Readme Twitter](https://github.com/gazf/github-readme-twitter) - Show your latest tweet on your readmes. -- [Random Dev Memes](https://github.com/techytushar/random-memer) - Random dev memes to display on your GitHub README. -- [GitHub Readme Quotes](https://github.com/PiyushSuthar/github-readme-quotes) - Dev quotes on your GitHub Profile Readme. -- [GitHub Profilinator](https://github.com/rishavanand/github-profilinator) - This tool contains small GUI components that you can hook together to generate markdown for your perfect readme. -- [PageSpeed score](https://github.com/ankurparihar/readme-pagespeed-insights) - Generate website's PageSpeed score in animated svg form which can be used in GitHub README -- [Gitwar Profile Score](https://github.com/iampavangandhi/Gitwar) - Add your Github Profile Score in README. -- [Header Images for Github Profile READMEs](https://github.com/khalby786/REHeader) - Generate header images for your GitHub profile READMEs with custom content -- [YouTube Channel Stats](https://github.com/DenverCoder1/github-readme-youtube-stats) - 📺 Display number of subscribers on YouTube and/or your channel's view count as a badge -- [Current Book Status from GoodReads](https://github.com/theFr1nge/goodreads-readme) - Add a card of the current book you are reading that automatically syncs with GoodReads to display your progress. -- [Readme Typing SVG](https://github.com/DenverCoder1/readme-typing-svg) - :zap: Dynamically generated, customizable SVG that gives the appearance of typing and deleting text -## Articles + + - ["How To Create A GitHub Profile README"](https://www.aboutmonica.com/blog/how-to-create-a-github-profile-readme) - *Monica Powell* - ["How to Stand Out on Github with Profile READMEs"](https://medium.com/better-programming/how-to-stand-out-on-github-with-profile-readmes-dfd2102a3490?source=friends_link&sk=61df9c4b63b329ad95528b8d7c00061f) - *Jessica Lim* - ["What's on your GitHub Profile"](https://dev.to/waylonwalker/what-s-on-your-github-profile-40p3) - *Waylon Walker* @@ -116,4 +72,4 @@ Contributions are always welcome! Please read the [contribution guidelines](contributing.md) first. ## Special Thanks 🙇 -- [Dinesh Talwadker](https://github.com/dinxsh) for making the amazing site for this repo! +- [Dinesh Talwadker](https://github.com/dinxsh) [Hemant](https://github.com/dinxsh), [Nishant](https://github.com/dinxsh), [Ayushman](https://github.com/dinxsh)for being a core for this repo! diff --git a/ScrollToTop.js b/ScrollToTop.js new file mode 100644 index 00000000..72cd721c --- /dev/null +++ b/ScrollToTop.js @@ -0,0 +1,16 @@ +document.addEventListener('scroll', () => { + const button = document.getElementById('scrollToTop'); + if (window.scrollY > 300) { // Adjust this value based on when you want the button to appear + button.classList.add('show'); + } else { + button.classList.remove('show'); + } + }); + + document.getElementById('scrollToTop').addEventListener('click', () => { + window.scrollTo({ + top: 0, + behavior: 'smooth' + }); + }); + \ No newline at end of file diff --git a/Media/Badges/2020-Arctic-Code-Vault-Contributor/PNG/2020ArcticCodeVaultBadge.png b/assets/Badges/2020-Arctic-Code-Vault-Contributor/PNG/2020ArcticCodeVaultBadge.png similarity index 100% rename from Media/Badges/2020-Arctic-Code-Vault-Contributor/PNG/2020ArcticCodeVaultBadge.png rename to assets/Badges/2020-Arctic-Code-Vault-Contributor/PNG/2020ArcticCodeVaultBadge.png diff --git a/Media/Badges/2020-Arctic-Code-Vault-Contributor/SVG/README.md b/assets/Badges/2020-Arctic-Code-Vault-Contributor/SVG/README.md similarity index 100% rename from Media/Badges/2020-Arctic-Code-Vault-Contributor/SVG/README.md rename to assets/Badges/2020-Arctic-Code-Vault-Contributor/SVG/README.md diff --git a/Media/Badges/Galaxy-Brain/PNG/GalaxyBrain.png b/assets/Badges/Galaxy-Brain/PNG/GalaxyBrain.png similarity index 100% rename from Media/Badges/Galaxy-Brain/PNG/GalaxyBrain.png rename to assets/Badges/Galaxy-Brain/PNG/GalaxyBrain.png diff --git a/Media/Badges/Galaxy-Brain/PNG/GalaxyBrain_Bronze.png b/assets/Badges/Galaxy-Brain/PNG/GalaxyBrain_Bronze.png similarity index 100% rename from Media/Badges/Galaxy-Brain/PNG/GalaxyBrain_Bronze.png rename to assets/Badges/Galaxy-Brain/PNG/GalaxyBrain_Bronze.png diff --git a/Media/Badges/Galaxy-Brain/PNG/GalaxyBrain_Gold.png b/assets/Badges/Galaxy-Brain/PNG/GalaxyBrain_Gold.png similarity index 100% rename from Media/Badges/Galaxy-Brain/PNG/GalaxyBrain_Gold.png rename to assets/Badges/Galaxy-Brain/PNG/GalaxyBrain_Gold.png diff --git a/Media/Badges/Galaxy-Brain/PNG/GalaxyBrain_Silver.png b/assets/Badges/Galaxy-Brain/PNG/GalaxyBrain_Silver.png similarity index 100% rename from Media/Badges/Galaxy-Brain/PNG/GalaxyBrain_Silver.png rename to assets/Badges/Galaxy-Brain/PNG/GalaxyBrain_Silver.png diff --git a/Media/Badges/Galaxy-Brain/SVG/README.md b/assets/Badges/Galaxy-Brain/SVG/README.md similarity index 100% rename from Media/Badges/Galaxy-Brain/SVG/README.md rename to assets/Badges/Galaxy-Brain/SVG/README.md diff --git a/Media/Badges/GitHub-Sponsor/PNG/GitHubSponsorBadge.png b/assets/Badges/GitHub-Sponsor/PNG/GitHubSponsorBadge.png similarity index 100% rename from Media/Badges/GitHub-Sponsor/PNG/GitHubSponsorBadge.png rename to assets/Badges/GitHub-Sponsor/PNG/GitHubSponsorBadge.png diff --git a/Media/Badges/GitHub-Sponsor/SVG/README.md b/assets/Badges/GitHub-Sponsor/SVG/README.md similarity index 100% rename from Media/Badges/GitHub-Sponsor/SVG/README.md rename to assets/Badges/GitHub-Sponsor/SVG/README.md diff --git a/Media/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve.png b/assets/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve.png similarity index 100% rename from Media/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve.png rename to assets/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve.png diff --git a/Media/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Bronze.png b/assets/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Bronze.png similarity index 100% rename from Media/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Bronze.png rename to assets/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Bronze.png diff --git a/Media/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Gold.png b/assets/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Gold.png similarity index 100% rename from Media/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Gold.png rename to assets/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Gold.png diff --git a/Media/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Silver.png b/assets/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Silver.png similarity index 100% rename from Media/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Silver.png rename to assets/Badges/Heart-on-your-sleeve/PNG/HeartOnYourSleeve_Silver.png diff --git a/Media/Badges/Heart-on-your-sleeve/SVG/README.md b/assets/Badges/Heart-on-your-sleeve/SVG/README.md similarity index 100% rename from Media/Badges/Heart-on-your-sleeve/SVG/README.md rename to assets/Badges/Heart-on-your-sleeve/SVG/README.md diff --git a/Media/Badges/Mars-2020-Contributor/PNG/Mars2020ContributorBadge.png b/assets/Badges/Mars-2020-Contributor/PNG/Mars2020ContributorBadge.png similarity index 100% rename from Media/Badges/Mars-2020-Contributor/PNG/Mars2020ContributorBadge.png rename to assets/Badges/Mars-2020-Contributor/PNG/Mars2020ContributorBadge.png diff --git a/Media/Badges/Mars-2020-Contributor/SVG/README.md b/assets/Badges/Mars-2020-Contributor/SVG/README.md similarity index 100% rename from Media/Badges/Mars-2020-Contributor/SVG/README.md rename to assets/Badges/Mars-2020-Contributor/SVG/README.md diff --git a/Media/Badges/Open-Sourcerer/PNG/OpenSourcerer.png b/assets/Badges/Open-Sourcerer/PNG/OpenSourcerer.png similarity index 100% rename from Media/Badges/Open-Sourcerer/PNG/OpenSourcerer.png rename to assets/Badges/Open-Sourcerer/PNG/OpenSourcerer.png diff --git a/Media/Badges/Open-Sourcerer/PNG/OpenSourcerer_Bronze.png b/assets/Badges/Open-Sourcerer/PNG/OpenSourcerer_Bronze.png similarity index 100% rename from Media/Badges/Open-Sourcerer/PNG/OpenSourcerer_Bronze.png rename to assets/Badges/Open-Sourcerer/PNG/OpenSourcerer_Bronze.png diff --git a/Media/Badges/Open-Sourcerer/PNG/OpenSourcerer_Gold.png b/assets/Badges/Open-Sourcerer/PNG/OpenSourcerer_Gold.png similarity index 100% rename from Media/Badges/Open-Sourcerer/PNG/OpenSourcerer_Gold.png rename to assets/Badges/Open-Sourcerer/PNG/OpenSourcerer_Gold.png diff --git a/Media/Badges/Open-Sourcerer/PNG/OpenSourcerer_Silver.png b/assets/Badges/Open-Sourcerer/PNG/OpenSourcerer_Silver.png similarity index 100% rename from Media/Badges/Open-Sourcerer/PNG/OpenSourcerer_Silver.png rename to assets/Badges/Open-Sourcerer/PNG/OpenSourcerer_Silver.png diff --git a/Media/Badges/Open-Sourcerer/SVG/README.md b/assets/Badges/Open-Sourcerer/SVG/README.md similarity index 100% rename from Media/Badges/Open-Sourcerer/SVG/README.md rename to assets/Badges/Open-Sourcerer/SVG/README.md diff --git a/Media/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire.png b/assets/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire.png similarity index 100% rename from Media/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire.png rename to assets/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire.png diff --git a/Media/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Bronze.png b/assets/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Bronze.png similarity index 100% rename from Media/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Bronze.png rename to assets/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Bronze.png diff --git a/Media/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Gold.png b/assets/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Gold.png similarity index 100% rename from Media/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Gold.png rename to assets/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Gold.png diff --git a/Media/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Silver.png b/assets/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Silver.png similarity index 100% rename from Media/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Silver.png rename to assets/Badges/Pair-Extraordinaire/PNG/PairExtraordinaire_Silver.png diff --git a/Media/Badges/Pair-Extraordinaire/SVG/README.md b/assets/Badges/Pair-Extraordinaire/SVG/README.md similarity index 100% rename from Media/Badges/Pair-Extraordinaire/SVG/README.md rename to assets/Badges/Pair-Extraordinaire/SVG/README.md diff --git a/Media/Badges/Pull-Shark/GIF/PullShark_Animated.gif b/assets/Badges/Pull-Shark/GIF/PullShark_Animated.gif similarity index 100% rename from Media/Badges/Pull-Shark/GIF/PullShark_Animated.gif rename to assets/Badges/Pull-Shark/GIF/PullShark_Animated.gif diff --git a/Media/Badges/Pull-Shark/PNG/PullShark.png b/assets/Badges/Pull-Shark/PNG/PullShark.png similarity index 100% rename from Media/Badges/Pull-Shark/PNG/PullShark.png rename to assets/Badges/Pull-Shark/PNG/PullShark.png diff --git a/Media/Badges/Pull-Shark/PNG/PullShark_Bronze.png b/assets/Badges/Pull-Shark/PNG/PullShark_Bronze.png similarity index 100% rename from Media/Badges/Pull-Shark/PNG/PullShark_Bronze.png rename to assets/Badges/Pull-Shark/PNG/PullShark_Bronze.png diff --git a/Media/Badges/Pull-Shark/PNG/PullShark_Gold.png b/assets/Badges/Pull-Shark/PNG/PullShark_Gold.png similarity index 100% rename from Media/Badges/Pull-Shark/PNG/PullShark_Gold.png rename to assets/Badges/Pull-Shark/PNG/PullShark_Gold.png diff --git a/Media/Badges/Pull-Shark/PNG/PullShark_Silver.png b/assets/Badges/Pull-Shark/PNG/PullShark_Silver.png similarity index 100% rename from Media/Badges/Pull-Shark/PNG/PullShark_Silver.png rename to assets/Badges/Pull-Shark/PNG/PullShark_Silver.png diff --git a/Media/Badges/Pull-Shark/SVG/README.md b/assets/Badges/Pull-Shark/SVG/README.md similarity index 100% rename from Media/Badges/Pull-Shark/SVG/README.md rename to assets/Badges/Pull-Shark/SVG/README.md diff --git a/Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone1.png b/assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone1.png similarity index 100% rename from Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone1.png rename to assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone1.png diff --git a/Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone2.png b/assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone2.png similarity index 100% rename from Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone2.png rename to assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone2.png diff --git a/Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone3.png b/assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone3.png similarity index 100% rename from Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone3.png rename to assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone3.png diff --git a/Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone4.png b/assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone4.png similarity index 100% rename from Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone4.png rename to assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone4.png diff --git a/Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone5.png b/assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone5.png similarity index 100% rename from Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone5.png rename to assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone5.png diff --git a/Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone6.png b/assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone6.png similarity index 100% rename from Media/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone6.png rename to assets/Badges/Quick-Draw/PNG/Skin-Tones/QuickDraw_SkinTone6.png diff --git a/Media/Badges/Quick-Draw/SVG/README.md b/assets/Badges/Quick-Draw/SVG/README.md similarity index 100% rename from Media/Badges/Quick-Draw/SVG/README.md rename to assets/Badges/Quick-Draw/SVG/README.md diff --git a/Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone1.png b/assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone1.png similarity index 100% rename from Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone1.png rename to assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone1.png diff --git a/Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone2.png b/assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone2.png similarity index 100% rename from Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone2.png rename to assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone2.png diff --git a/Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone3.png b/assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone3.png similarity index 100% rename from Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone3.png rename to assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone3.png diff --git a/Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone4.png b/assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone4.png similarity index 100% rename from Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone4.png rename to assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone4.png diff --git a/Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone5.png b/assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone5.png similarity index 100% rename from Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone5.png rename to assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone5.png diff --git a/Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone6.png b/assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone6.png similarity index 100% rename from Media/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone6.png rename to assets/Badges/Star-Struck/PNG/Skin-Tones/StarStruck_SkinTone6.png diff --git a/Media/Badges/Star-Struck/PNG/StarStruck_Bronze.png b/assets/Badges/Star-Struck/PNG/StarStruck_Bronze.png similarity index 100% rename from Media/Badges/Star-Struck/PNG/StarStruck_Bronze.png rename to assets/Badges/Star-Struck/PNG/StarStruck_Bronze.png diff --git a/Media/Badges/Star-Struck/PNG/StarStruck_Gold.png b/assets/Badges/Star-Struck/PNG/StarStruck_Gold.png similarity index 100% rename from Media/Badges/Star-Struck/PNG/StarStruck_Gold.png rename to assets/Badges/Star-Struck/PNG/StarStruck_Gold.png diff --git a/Media/Badges/Star-Struck/PNG/StarStruck_Silver.png b/assets/Badges/Star-Struck/PNG/StarStruck_Silver.png similarity index 100% rename from Media/Badges/Star-Struck/PNG/StarStruck_Silver.png rename to assets/Badges/Star-Struck/PNG/StarStruck_Silver.png diff --git a/Media/Badges/Star-Struck/SVG/README.md b/assets/Badges/Star-Struck/SVG/README.md similarity index 100% rename from Media/Badges/Star-Struck/SVG/README.md rename to assets/Badges/Star-Struck/SVG/README.md diff --git a/Media/Badges/YOLO/PNG/YOLO_Badge.png b/assets/Badges/YOLO/PNG/YOLO_Badge.png similarity index 100% rename from Media/Badges/YOLO/PNG/YOLO_Badge.png rename to assets/Badges/YOLO/PNG/YOLO_Badge.png diff --git a/Media/Badges/YOLO/SVG/README.md b/assets/Badges/YOLO/SVG/README.md similarity index 100% rename from Media/Badges/YOLO/SVG/README.md rename to assets/Badges/YOLO/SVG/README.md diff --git a/Media/Misc/GitHub_Logo/172940773-7ef23b63-3356-4634-9e52-34f2676e2854.png b/assets/GitHub_Logo/172940773-7ef23b63-3356-4634-9e52-34f2676e2854.png similarity index 100% rename from Media/Misc/GitHub_Logo/172940773-7ef23b63-3356-4634-9e52-34f2676e2854.png rename to assets/GitHub_Logo/172940773-7ef23b63-3356-4634-9e52-34f2676e2854.png diff --git a/Media/Misc/GitHub_Logo/172941149-31258408-bfc3-496a-8a58-e34794b21813.png b/assets/GitHub_Logo/172941149-31258408-bfc3-496a-8a58-e34794b21813.png similarity index 100% rename from Media/Misc/GitHub_Logo/172941149-31258408-bfc3-496a-8a58-e34794b21813.png rename to assets/GitHub_Logo/172941149-31258408-bfc3-496a-8a58-e34794b21813.png diff --git a/Media/Misc/GitHub_Logo/favicon-dark.png b/assets/GitHub_Logo/favicon-dark.png similarity index 100% rename from Media/Misc/GitHub_Logo/favicon-dark.png rename to assets/GitHub_Logo/favicon-dark.png diff --git a/Media/Misc/GitHub_Logo/favicon-dark.svg b/assets/GitHub_Logo/favicon-dark.svg similarity index 100% rename from Media/Misc/GitHub_Logo/favicon-dark.svg rename to assets/GitHub_Logo/favicon-dark.svg diff --git a/Media/Misc/GitHub_Logo/fluidicon.png b/assets/GitHub_Logo/fluidicon.png similarity index 100% rename from Media/Misc/GitHub_Logo/fluidicon.png rename to assets/GitHub_Logo/fluidicon.png diff --git a/Media/Misc/GitHub_Logo/pinned-octocat.svg b/assets/GitHub_Logo/pinned-octocat.svg similarity index 98% rename from Media/Misc/GitHub_Logo/pinned-octocat.svg rename to assets/GitHub_Logo/pinned-octocat.svg index 634e055d..f7adc5f3 100644 --- a/Media/Misc/GitHub_Logo/pinned-octocat.svg +++ b/assets/GitHub_Logo/pinned-octocat.svg @@ -1,11 +1,11 @@ - - - - - + + + + + diff --git a/Media/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_DarkMode.svg b/assets/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_DarkMode.svg similarity index 99% rename from Media/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_DarkMode.svg rename to assets/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_DarkMode.svg index 09e76281..4e3a38ed 100644 --- a/Media/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_DarkMode.svg +++ b/assets/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_DarkMode.svg @@ -1,6 +1,6 @@ - - + + \ No newline at end of file diff --git a/Media/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_LightMode.svg b/assets/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_LightMode.svg similarity index 99% rename from Media/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_LightMode.svg rename to assets/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_LightMode.svg index 5eef1d1b..f7e011dd 100644 --- a/Media/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_LightMode.svg +++ b/assets/Highlights/Developer-Program-Member/SVG/DeveloperProgramMember_LightMode.svg @@ -1,6 +1,6 @@ - - + + \ No newline at end of file diff --git a/Media/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_DarkMode.svg b/assets/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_DarkMode.svg similarity index 99% rename from Media/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_DarkMode.svg rename to assets/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_DarkMode.svg index 2cd4f15b..42008ba9 100644 --- a/Media/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_DarkMode.svg +++ b/assets/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_DarkMode.svg @@ -1,6 +1,6 @@ - - + + \ No newline at end of file diff --git a/Media/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_LightMode.svg b/assets/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_LightMode.svg similarity index 99% rename from Media/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_LightMode.svg rename to assets/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_LightMode.svg index c37d895f..fcc0ae4f 100644 --- a/Media/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_LightMode.svg +++ b/assets/Highlights/GitHub-Campus-Expert/SVG/GitHub-Campus-Expert_LightMode.svg @@ -1,6 +1,6 @@ - - + + \ No newline at end of file diff --git a/Media/Highlights/GitHub-Pro/SVG/GitHub-Pro_DarkMode.svg b/assets/Highlights/GitHub-Pro/SVG/GitHub-Pro_DarkMode.svg similarity index 99% rename from Media/Highlights/GitHub-Pro/SVG/GitHub-Pro_DarkMode.svg rename to assets/Highlights/GitHub-Pro/SVG/GitHub-Pro_DarkMode.svg index 0748bab0..cf7881ea 100644 --- a/Media/Highlights/GitHub-Pro/SVG/GitHub-Pro_DarkMode.svg +++ b/assets/Highlights/GitHub-Pro/SVG/GitHub-Pro_DarkMode.svg @@ -1,7 +1,7 @@ - - + + \ No newline at end of file diff --git a/Media/Highlights/GitHub-Pro/SVG/GitHub-Pro_LightMode.svg b/assets/Highlights/GitHub-Pro/SVG/GitHub-Pro_LightMode.svg similarity index 99% rename from Media/Highlights/GitHub-Pro/SVG/GitHub-Pro_LightMode.svg rename to assets/Highlights/GitHub-Pro/SVG/GitHub-Pro_LightMode.svg index 2b01688d..b0a3ef51 100644 --- a/Media/Highlights/GitHub-Pro/SVG/GitHub-Pro_LightMode.svg +++ b/assets/Highlights/GitHub-Pro/SVG/GitHub-Pro_LightMode.svg @@ -1,7 +1,7 @@ - - + + \ No newline at end of file diff --git a/Media/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_DarkMode.svg b/assets/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_DarkMode.svg similarity index 99% rename from Media/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_DarkMode.svg rename to assets/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_DarkMode.svg index 8f8886d4..23c0e311 100644 --- a/Media/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_DarkMode.svg +++ b/assets/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_DarkMode.svg @@ -1,6 +1,6 @@ - - + + \ No newline at end of file diff --git a/Media/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_LightMode.svg b/assets/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_LightMode.svg similarity index 99% rename from Media/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_LightMode.svg rename to assets/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_LightMode.svg index b8c8260b..ceb517ac 100644 --- a/Media/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_LightMode.svg +++ b/assets/Highlights/Security-Advisory-Credit/SVG/Security-Advisory-Credit_LightMode.svg @@ -1,6 +1,6 @@ - - + + \ No newline at end of file diff --git a/Media/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_DarkMode.svg b/assets/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_DarkMode.svg similarity index 98% rename from Media/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_DarkMode.svg rename to assets/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_DarkMode.svg index 3a485ef9..b9f1d9ba 100644 --- a/Media/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_DarkMode.svg +++ b/assets/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_DarkMode.svg @@ -1,6 +1,6 @@ - - + + \ No newline at end of file diff --git a/Media/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_LightMode.svg b/assets/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_LightMode.svg similarity index 98% rename from Media/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_LightMode.svg rename to assets/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_LightMode.svg index e2d13d6b..a8f87f0b 100644 --- a/Media/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_LightMode.svg +++ b/assets/Highlights/Security-Bug-Bounty-Hunter/SVG/Security-Bug-Bounty-Hunter_LightMode.svg @@ -1,6 +1,6 @@ - - + + \ No newline at end of file diff --git a/Media/Misc/Emojis/1f3c5.png b/assets/Misc/Emojis/1f3c5.png similarity index 100% rename from Media/Misc/Emojis/1f3c5.png rename to assets/Misc/Emojis/1f3c5.png diff --git a/Media/Misc/Emojis/1f3c6.png b/assets/Misc/Emojis/1f3c6.png similarity index 100% rename from Media/Misc/Emojis/1f3c6.png rename to assets/Misc/Emojis/1f3c6.png diff --git a/Media/Misc/Emojis/1f44b.png b/assets/Misc/Emojis/1f44b.png similarity index 100% rename from Media/Misc/Emojis/1f44b.png rename to assets/Misc/Emojis/1f44b.png diff --git a/Media/Misc/Emojis/1f4c3.png b/assets/Misc/Emojis/1f4c3.png similarity index 100% rename from Media/Misc/Emojis/1f4c3.png rename to assets/Misc/Emojis/1f4c3.png diff --git a/Media/Misc/Emojis/1f525.png b/assets/Misc/Emojis/1f525.png similarity index 100% rename from Media/Misc/Emojis/1f525.png rename to assets/Misc/Emojis/1f525.png diff --git a/Media/Misc/Emojis/2139.png b/assets/Misc/Emojis/2139.png similarity index 100% rename from Media/Misc/Emojis/2139.png rename to assets/Misc/Emojis/2139.png diff --git a/Media/Misc/Emojis/2728.png b/assets/Misc/Emojis/2728.png similarity index 100% rename from Media/Misc/Emojis/2728.png rename to assets/Misc/Emojis/2728.png diff --git a/Media/Misc/Emojis/274c.png b/assets/Misc/Emojis/274c.png similarity index 100% rename from Media/Misc/Emojis/274c.png rename to assets/Misc/Emojis/274c.png diff --git a/assets/achievement-png.png b/assets/achievement-png.png new file mode 100644 index 00000000..103a9b82 Binary files /dev/null and b/assets/achievement-png.png differ diff --git a/assets/blog-png.png b/assets/blog-png.png new file mode 100644 index 00000000..26a8a91b Binary files /dev/null and b/assets/blog-png.png differ diff --git a/assets/code-of-conduct.png b/assets/code-of-conduct.png new file mode 100644 index 00000000..18f12e4a Binary files /dev/null and b/assets/code-of-conduct.png differ diff --git a/assets/events.png b/assets/events.png new file mode 100644 index 00000000..3ab721e1 Binary files /dev/null and b/assets/events.png differ diff --git a/blog.css b/blog.css new file mode 100644 index 00000000..01088dae --- /dev/null +++ b/blog.css @@ -0,0 +1,110 @@ +body { + font-family: Arial, sans-serif; + background-color: #f4f4f4; + margin: 0; + padding: 0; +} + +.blog-container { + display: flex; + flex-wrap: wrap; + justify-content: center; + padding: 20px; +} + +.blog-card { + background: white; + border-radius: 8px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + margin: 15px; + padding: 20px; + overflow: hidden; + cursor: pointer; + width:27%; + transition: transform 0.2s; +} +body.dark-mode .blog-card{ + background-color: #333; +} +body.dark-mode .blog-card .excerpt { + color: white; +} + .blog-card .image-wrapper{ + width: 100%; + height: auto; + overflow: hidden; + border-radius: 12px; + } +/* .blog-card:hover { + transform: scale(1.15); +} */ + +.blog-card img { + scale: 1.15; + width: 100%; + height: 100%; + transition: 0.3s ease-in-out; +} +.blog-card img:hover{ + scale: 1; +} + +.blog-card-content { + padding: 20px 10px; +} + +.blog-card .category { + color: #ff4383; + font-weight: bold; + font-size: 12px; + text-transform: uppercase; + margin-bottom: 10px; +} + +.blog-card .blogtitle { + font-size: 18px; + margin: 10px 0; + transition: 0.5s ease-in-out; +} +.blog-card .blogtitle:hover{ + color: #ff4383; +} + +.blog-card .meta { + color: #999; + font-size: 14px; + margin: 5px 0; +} + +.blog-card .excerpt { + font-size: 14px; + color: #333; + margin: 15px 0; +} + +.blog-card .read-more { + display: block; + width: fit-content; + padding: 10px 15px; + background-color: #007bff; + color: white; + text-align: center; + text-decoration: none; + border-radius: 5px; + margin: 10px 0 0; + font-size: 14px; +} + +.blog-card .read-more:hover { + background-color: #0056b3; +} +@media (max-width:976px) { + .blog-card{ + width: 40%; + } +} +@media (max-width:768px) { + .blog-card{ + width: 100%; + } +} \ No newline at end of file diff --git a/blog.html b/blog.html new file mode 100644 index 00000000..803da815 --- /dev/null +++ b/blog.html @@ -0,0 +1,96 @@ + + + + + + Blogs + + + + + + + + + + +

Blogs

+
+ + + +
+ + + +
+ + + + + + + + + diff --git a/blog.js b/blog.js new file mode 100644 index 00000000..c77b2c10 --- /dev/null +++ b/blog.js @@ -0,0 +1,42 @@ +document.addEventListener("DOMContentLoaded", () => { + fetch('blog.json') + .then(response => response.json()) + .then(data => { + const blogContainer = document.getElementById('blogContainer'); + data.forEach(blog => { + const blogCard = document.createElement('div'); + blogCard.className = 'blog-card'; + blogCard.innerHTML = ` +
+ ${blog.title} +
+
+
${blog.category}
+
${blog.title}
+
+ ${blog.author} · + ${blog.date} · + ${blog.comments} Comments +
+
${blog.excerpt}
+ Read More +
+ `; + + + const imageWrapper = blogCard.querySelector('.image-wrapper'); + const blogTitle = blogCard.querySelector('.blogtitle'); + + imageWrapper.addEventListener('click', () => { + window.location.href = blog.link; + }); + + blogTitle.addEventListener('click', () => { + window.location.href = blog.link; + }); + + blogContainer.appendChild(blogCard); + }); + }) + .catch(error => console.error('Error fetching blog data:', error)); +}); diff --git a/blog.json b/blog.json new file mode 100644 index 00000000..e5c4e562 --- /dev/null +++ b/blog.json @@ -0,0 +1,152 @@ +[ + { + "category": "TECH", + "title": "What is Github? Guide to Beginner", + "author": "Shivlal", + "date": "December 16, 2020", + "comments": 0, + "excerpt": "What is Git? For uploading your project to your Github account, you need to install Git first.", + "image": "https://recodehive.com/wp-content/uploads/2020/12/GitHub-Tutorial-Recodehive-1024x576.jpg", + "link": "https://recodehive.com/what-is-github-guide-to-beginner/" + }, + { + "category": "DEV LABS GITHUB", + "title": "How to create Github Account?", + "author": "Sanjay KV", + "date": "April 14, 2021", + "comments": 0, + "excerpt": "What is Github? Github is a way of version control your software development using Git, Github was founded in 2008.", + "image": "https://recodehive.com/wp-content/uploads/2021/04/How-to-use-Github-1024x576.jpg", + "link": "https://recodehive.com/how-to-create-github-account/" + }, + { + "category": "DEV LABS GITHUB", + "title": "How to install Git? Git Tutorial", + "author": "Sanjay KV", + "date": "April 14, 2021", + "comments": 0, + "excerpt": "Git helps us to version controlling. In this post we will look into git installation on windows system and...", + "image": "https://recodehive.com/wp-content/uploads/2021/04/How-to-install-Git-Recodehive-1024x576.jpg", + "link": "https://recodehive.com/how-to-install-git-git-tutorial/" + }, + { + "category": "DEV LABS GITHUB", + "title": "How to create repository in Github?", + "author": "Sanjay KV", + "date": "April 17, 2021", + "comments": 0, + "excerpt": "What is Clone/Push in Github Once you created Repository and have done your part of the analysis...", + "image": "https://recodehive.com/wp-content/uploads/2021/04/Start-with-Github-1-1024x576.jpg", + "link": "https://recodehive.com/how-to-create-repository-in-github/" + }, + { + "category": "DEV LABS GITHUB", + "title": "Git Cheat Sheet. 50 Git commands |Git Tutorials", + "author": "Sanjay KV", + "date": "April 18, 2021", + "comments": 0, + "excerpt": "Headsup to the Github Cheatsheet This is part of GitHub/Git Tutorials and a continuation of the previous post", + "image": "https://recodehive.com/wp-content/uploads/2021/04/Git-Cheatsheet-1024x576.jpg", + "link": "https://recodehive.com/git-cheat-sheet-50-git-commands-git-tutorials/" + }, + { + "category": "DEV LABS GITHUB", + "title": "How to add Collaborators into GitHub Repository?", + "author": "Sanjay KV", + "date": "April 19, 2021", + "comments": 0, + "excerpt": "What is GitHub Colloboration? GitHub collaboration is a space where you can invite another developer to your repository and", + "image": "https://recodehive.com/wp-content/uploads/2021/04/Inviting-Collaborators-to-Github-1024x576.jpg", + "link": "https://recodehive.com/how-to-add-collaborators-into-github-repository/" + }, + { + "category": "DEV LABS GITHUB", + "title": "How to Create new branch and Merge in Github?", + "author": "Sanjay KV", + "date": "April 20, 2021", + "comments": 0, + "excerpt": "What is GitHub Colloboration? GitHub collaboration is a space where you can invite another developer to your repository and", + "image": "https://recodehive.com/wp-content/uploads/2021/04/How-to-git-branch-1024x576.jpg", + "link": "https://recodehive.com/how-to-create-new-branch-and-merge-in-github/" + }, + { + "category": "DEV LABS GITHUB", + "title": "How to resolve merge conflicts in github", + "author": "Sanjay KV", + "date": "April 23, 2021", + "comments": 0, + "excerpt": "Understanding Github Conflicts Let’s imagine a case where two developer working on one respository by creating 2 different branch", + "image": "https://recodehive.com/wp-content/uploads/2021/04/Github-working-with-conflicts-1024x576.jpg", + "link": "https://recodehive.com/how-to-resolve-merge-conflicts-in-github/" + }, + { + "category": "DEV LABS GITHUB", + "title": "Push large files to Github| Git lfs tutorial", + "author": "Sanjay KV", + "date": "May 01, 2021", + "comments": 0, + "excerpt": "Failed to Push Some Refs | Git Error I was trying to push File size more than 100 MB to Github.", + "image": "https://recodehive.com/wp-content/uploads/2021/05/GIT-LFS-recodehive-1024x576.jpg", + "link": "https://recodehive.com/push-large-files-to-github-git-lfs-tutorial/" + }, + { + "category": "Tech", + "title": "How to host a website using GitHub", + "author": "Sanjay KV", + "date": "September 28, 2021", + "comments": 0, + "excerpt": "This is a part of GitHub’s complete Tutorial available on this website, We will look at how to", + "image": "https://recodehive.com/wp-content/uploads/2021/09/Github-Pages-hosting-1-1024x576.png", + "link": "https://recodehive.com/how-to-host-a-website-using-github/" + }, + { + "category": "Tech", + "title": "How to Setup Custom Domain on GitHub Pages", + "author": "Sanjay KV", + "date": "October 2, 2021", + "comments": 0, + "excerpt": "This is a continuation of the previous post, We have already created a repository on the same, if not", + "image": "https://recodehive.com/wp-content/uploads/2021/10/GitHub-Pages-custome-Domain-1024x576.png", + "link": "https://recodehive.com/how-to-setup-custom-domain-on-github-pages/" + }, + { + "category": "Tech", + "title": "How to Fork a Repository in Github", + "author": "Sanjay KV", + "date": "October 4, 2021", + "comments": 0, + "excerpt": "What is Forking in GitHub? Forking an Existing GitHub repository helps to create a copy of the main file", + "image": "https://recodehive.com/wp-content/uploads/2021/10/GitHub-Forking-1024x576.png", + "link": "https://recodehive.com/how-to-fork-a-repository-in-github/" + }, + { + "category": "DEV LABS GITHUB", + "title": "How to Make Organization visible in GitHub", + "author": "Sanjay KV", + "date": "November 24, 2021", + "comments": 0, + "excerpt": "Understanding Github Conflicts Let’s imagine a case where two developer working on one respository by creating 2 different branch", + "image": "https://recodehive.com/wp-content/uploads/2021/11/Make-Organization-Public-1024x576.jpg", + "link": "https://recodehive.com/how-to-make-organization-visible-in-github/" + }, + { + "category": "Tech", + "title": "Hacktoberfest – How to Find and Contribute to Beginner-Friendly Projects", + "author": "Sowmiya V", + "date": "September 25, 2022", + "comments": 0, + "excerpt": "Hacktoberfest is an annual event that encourages people to contribute to open-source projects. The event takes place throughout the", + "image": "https://recodehive.com/wp-content/uploads/2022/09/RECODEHIVE-THUMBNAIL-1.jpg", + "link": "https://recodehive.com/__trashed/" + }, + { + "category": "Tech", + "title": "How to Optimize Your GitHub Readme Profile with GPRM?", + "author": "Sanjay KV", + "date": "May 27, 2023", + "comments": 0, + "excerpt": "Whether you’re a software developer, data scientist, or web designer, having a GitHub profile is essential to showcase", + "image": "https://recodehive.com/wp-content/uploads/2022/12/RECODEHIVE-THUMBNAIL-22.png", + "link": "https://recodehive.com/how-to-optimize-your-github-readme-profile-with-gprm/" + } +] diff --git a/dark-mode.js b/dark-mode.js index 615303f3..2ec6e63b 100644 --- a/dark-mode.js +++ b/dark-mode.js @@ -1,27 +1,25 @@ document.addEventListener("DOMContentLoaded", function () { - const themeToggleCheckbox = document.querySelector("#theme-toggle"); + const themeToggleCheckbox = document.querySelector("#theme-toggle"); - // Function to set the theme - function setTheme(theme) { - if (theme === "dark") { - document.body.classList.add("dark-mode"); - themeLabel.textContent = "Dark Mode"; - themeToggleCheckbox.checked = true; - } else { - document.body.classList.remove("dark-mode"); - themeToggleCheckbox.checked = false; - } - localStorage.setItem("theme", theme); + // Function to set the theme + function setTheme(theme) { + if (theme === "dark") { + document.body.classList.add("dark-mode"); + themeToggleCheckbox.checked = true; + } else { + document.body.classList.remove("dark-mode"); + themeToggleCheckbox.checked = false; } + localStorage.setItem("theme", theme); + } - // Load the theme from localStorage - const savedTheme = localStorage.getItem("theme") || "light"; - setTheme(savedTheme); + // Load the theme from localStorage + const savedTheme = localStorage.getItem("theme") || "light"; + setTheme(savedTheme); - // Add event listener to toggle checkbox - themeToggleCheckbox.addEventListener("change", () => { - const newTheme = themeToggleCheckbox.checked ? "dark" : "light"; - setTheme(newTheme); - }); + // Add event listener to toggle checkbox + themeToggleCheckbox.addEventListener("change", () => { + const newTheme = themeToggleCheckbox.checked ? "dark" : "light"; + setTheme(newTheme); }); - \ No newline at end of file +}); diff --git a/events.html b/events.html index 32627fd2..d3097e0f 100644 --- a/events.html +++ b/events.html @@ -4,6 +4,7 @@ Events | Recode Hive + @@ -21,7 +22,7 @@ Events Github-Badge - Blog + Blog