Skip to content

Commit eb6a0f0

Browse files
authored
Merge branch 'main' into fix-faq-block
2 parents c3850db + 0837923 commit eb6a0f0

File tree

239 files changed

+19257
-8975
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+19257
-8975
lines changed

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# No special permissions needed for public repositories
55
GITHUB_TOKEN=your_github_token_here
66

7+
# Shopify Configuration (for Merch Store)
8+
# Get these from: Shopify Admin > Settings > Apps and sales channels > Develop apps
9+
# Required scopes: unauthenticated_read_product_listings, unauthenticated_write_checkouts
10+
SHOPIFY_STORE_DOMAIN=your-store.myshopify.com
11+
SHOPIFY_STOREFRONT_ACCESS_TOKEN=your_storefront_access_token_here
12+
713
# Firebase Configuration (if needed)
814
# FIREBASE_API_KEY=your_firebase_api_key
915
# FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain

.eslintignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
build/
6+
dist/
7+
out/
8+
9+
# Caches / temp
10+
.cache/
11+
.tmp/
12+
.eslintcache
13+
14+
# Config files (optional)
15+
*.config.js
16+
babel.config.js
17+
18+
# Docs
19+
*.md
20+
*.mdx
21+
docs/**/*.md
22+
blog/**/*.md

.eslintrc.cjs

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
es2021: true,
6+
node: true,
7+
},
8+
extends: [
9+
"eslint:recommended",
10+
"plugin:react/recommended",
11+
"plugin:react/jsx-runtime",
12+
"plugin:@typescript-eslint/recommended",
13+
"prettier",
14+
],
15+
parser: "@typescript-eslint/parser",
16+
parserOptions: {
17+
ecmaFeatures: {
18+
jsx: true,
19+
},
20+
ecmaVersion: "latest",
21+
sourceType: "module",
22+
},
23+
plugins: ["react", "@typescript-eslint", "prettier"],
24+
settings: {
25+
react: {
26+
version: "detect",
27+
},
28+
},
29+
rules: {
30+
"prettier/prettier": "off",
31+
"react/react-in-jsx-scope": "off",
32+
"react/prop-types": "off",
33+
"react/no-unknown-property": "off",
34+
"react/display-name": "off",
35+
"@typescript-eslint/no-unused-vars": "warn",
36+
"@typescript-eslint/no-explicit-any": "warn",
37+
"@typescript-eslint/no-var-requires": "off",
38+
"@typescript-eslint/no-require-imports": "off",
39+
"@typescript-eslint/ban-ts-comment": "off",
40+
"@typescript-eslint/no-empty-object-type": "off",
41+
"no-console": "warn",
42+
"no-undef": "off",
43+
"no-useless-escape": "off",
44+
"no-prototype-builtins": "off",
45+
"no-constant-condition": "off",
46+
"no-misleading-character-class": "off",
47+
"react/no-unescaped-entities": "off",
48+
},
49+
ignorePatterns: [
50+
"node_modules/",
51+
"build/",
52+
".docusaurus/",
53+
".cache-loader/",
54+
"tmp/",
55+
"static/",
56+
"*.config.js",
57+
"babel.config.js",
58+
],
59+
};

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.prettierignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Documentation
2+
docs/**/*.md
3+
docs/**/*.mdx
4+
blog/**/*.md
5+
blog/**/*.mdx
6+
*.md
7+
*.mdx
8+
9+
# Build outputs
10+
node_modules/
11+
build/
12+
.docusaurus/
13+
.cache-loader/
14+
tmp/
15+
16+
# Package files
17+
package-lock.json

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"singleQuote": false,
3+
"semi": true,
4+
"tabWidth": 2,
5+
"printWidth": 80
6+
}

.vscode/extensions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
// VS Code will prompt the user to install these extensions when they open the workspace
3+
"recommendations": [
4+
"esbenp.prettier-vscode",
5+
"dbaeumer.vscode-eslint",
6+
"bradlc.vscode-tailwindcss"
7+
],
8+
"unwantedRecommendations": []
9+
}

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
// Editor formatting and preferences
3+
"editor.formatOnSave": true,
4+
"files.eol": "\n",
5+
"editor.tabSize": 2,
6+
"prettier.requireConfig": true,
7+
"eslint.validate": [
8+
"javascript",
9+
"typescript",
10+
"javascriptreact",
11+
"typescriptreact"
12+
]
13+
}

CODE_OF_CONDUCT.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
**🌐 Documentation Code of Conduct — Recode-Website 🌐**
1+
**🌐 Documentation Code of Conduct — recode-website 🌐**
22

33
**🤝 Our Commitment**
44

5-
Recode-Website is built to empower learners, developers, and open-source contributors from all walks of life. Whether you’re fixing a typo or designing a whole new feature, every contribution matters. We’re committed to ensuring a respectful, welcoming, and inclusive space for everyone.
5+
recode-website is built to empower learners, developers, and open-source contributors from all walks of life. Whether you’re fixing a typo or designing a whole new feature, every contribution matters. We’re committed to ensuring a respectful, welcoming, and inclusive space for everyone.
66

77
---
88

99
**💡 Our Core Values**
1010

11-
We believe the Recode community thrives when we:
11+
We believe the recode hive community thrives when we:
1212
- 💬 Encourage open communication and knowledge sharing
1313
- 🧠 Welcome new ideas, diverse perspectives, and honest questions
1414
- 🙌 Support and uplift contributors at all skill levels
@@ -31,11 +31,11 @@ To maintain a safe and productive space, we do not tolerate:
3131

3232
**🧭 Scope of This Code**
3333

34-
This Code of Conduct applies to all spaces where the Recode project is represented:
34+
This Code of Conduct applies to all spaces where the recode hive project is represented:
3535
- 📌 GitHub repository & discussions
3636
- 📌 Pull requests, issues, and commit comments
3737
- 📌 Project-related events, forums, and social media
38-
- 📌 Any other platform or medium connected to Recode
38+
- 📌 Any other platform or medium connected to recode hive
3939

4040
---
4141

@@ -62,20 +62,20 @@ We ask all contributors to:
6262
- ✅ Maintain integrity and credit all sources
6363
- ✅ Embrace learning and be open to feedback
6464
- ✅ Avoid offensive, unethical, or AI-generated content without review
65-
- ✅ Help make Recode a safe, beginner-friendly environment
65+
- ✅ Help make recode hive a safe, beginner-friendly environment
6666

6767
---
6868

6969
**💫 Our Vision**
7070

71-
*Recode-Website* is more than a project—it’s a platform for exploration, skill-building, and meaningful collaboration. Let’s code not just with logic, but with empathy and purpose. Together, we can create tech that inspires and includes. 💻🌱
71+
*recode-website* is more than a project—it’s a platform for exploration, skill-building, and meaningful collaboration. Let’s code not just with logic, but with empathy and purpose. Together, we can create tech that inspires and includes. 💻🌱
7272

7373
---
7474

7575
**📄 Attribution**
7676

7777
This Code of Conduct aligns with the principles of *GSSoC’25* and reflects our collective commitment to mentorship, inclusivity, and ethical open-source contribution.
7878

79-
Inspired by [Contributor Covenant](https://www.contributor-covenant.org/version/3/0/code_of_conduct/) and has been adapted specifically for Recode-Website as part of the GSSoC’25 Open Source Contributions initiative.
79+
Inspired by [Contributor Covenant](https://www.contributor-covenant.org/version/3/0/code_of_conduct/) and has been adapted specifically for recode-website as part of the GSSoC’25 Open Source Contributions initiative.
8080

81-
Modifications include beginner-friendly practices, inclusive open-source standards, and collaboration-focused values in line with GSSoC’s vision of mentorship and diversity in tech.
81+
Modifications include beginner-friendly practices, inclusive open-source standards, and collaboration-focused values in line with GSSoC’s vision of mentorship and diversity in tech.

Documentation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Building a GitHub Organization Leaderboard: A Deep Dive into Recode Hive's Implementation
1+
# Building a GitHub Organization Leaderboard: A Deep Dive into recode hive's Implementation
22

3-
Ever wondered how to build a live leaderboard that tracks contributions across an entire GitHub organization? Let me walk you through how we built ours at Recode Hive. This isn't your typical "fetch and display" tutorial - we're talking about handling rate limits, caching strategies, time-based filtering, and creating a smooth user experience that doesn't make the GitHub API cry.
3+
Ever wondered how to build a live leaderboard that tracks contributions across an entire GitHub organization? Let me walk you through how we built ours at recode hive. This isn't your typical "fetch and display" tutorial - we're talking about handling rate limits, caching strategies, time-based filtering, and creating a smooth user experience that doesn't make the GitHub API cry.
44

55
## What We're Building
66

@@ -557,7 +557,7 @@ Response Example:
557557
"repos_url": "https://api.github.com/orgs/recodehive/repos",
558558
"avatar_url": "https://avatars.githubusercontent.com/u/98765?v=4",
559559
"description": "Community-driven open source projects",
560-
"name": "Recode Hive",
560+
"name": "recode hive",
561561
"company": null,
562562
"blog": "https://recodehive.com",
563563
"location": "Worldwide",

0 commit comments

Comments
 (0)