Skip to content

Commit f0e85da

Browse files
authored
Merge branch 'main' into main
2 parents 792919e + 1ba7dc6 commit f0e85da

15 files changed

+3839
-5071
lines changed

.all-contributorsrc

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,53 @@
305305
"contributions": [
306306
"design"
307307
]
308+
},
309+
{
310+
"login": "sadiksaifi",
311+
"name": "Sadik Saifi",
312+
"avatar_url": "https://avatars.githubusercontent.com/u/86684667?v=4",
313+
"profile": "http://www.sadiksaifi.dev",
314+
"contributions": [
315+
"design",
316+
"code"
317+
]
318+
},
319+
{
320+
"login": "donno2048",
321+
"name": "Elisha Hollander",
322+
"avatar_url": "https://avatars.githubusercontent.com/u/61805754?v=4",
323+
"profile": "https://donno2048.github.io/Portfolio/",
324+
"contributions": [
325+
"code"
326+
]
327+
},
328+
{
329+
"login": "NishidhJain",
330+
"name": "Nishidh Jain",
331+
"avatar_url": "https://avatars.githubusercontent.com/u/61869195?v=4",
332+
"profile": "https://github.com/NishidhJain",
333+
"contributions": [
334+
"design",
335+
"code"
336+
]
337+
},
338+
{
339+
"login": "beyzanur-seyhan",
340+
"name": "Beyzanur Seyhan",
341+
"avatar_url": "https://avatars.githubusercontent.com/u/80166639?v=4",
342+
"profile": "https://github.com/beyzanur-seyhan",
343+
"contributions": [
344+
"code"
345+
]
346+
},
347+
{
348+
"login": "maitri-vv",
349+
"name": "maitri-vv",
350+
"avatar_url": "https://avatars.githubusercontent.com/u/87691594?v=4",
351+
"profile": "https://maitri-vv.github.io/Maitri-sPortfolio/",
352+
"contributions": [
353+
"code"
354+
]
308355
}
309356
],
310357
"contributorsPerLine": 7,

.github/workflows/check-linting-and-format.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,28 @@ jobs:
1414
run-linters:
1515
name: Run linters
1616
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
node-version: [18]
1720

1821
steps:
1922
- name: Check out Git repository
2023
uses: actions/checkout@v2
2124

22-
- name: Set up Node.js
23-
uses: actions/setup-node@v1
25+
- name: Set up pnpm
26+
uses: pnpm/action-setup@v2
2427
with:
25-
node-version: 18
28+
version: 8
29+
30+
- name: Use Node.js ${{ matrix.node-version }}
31+
uses: actions/setup-node@v3
32+
with:
33+
node-version: ${{ matrix.node-version }}
34+
cache: 'pnpm'
2635

2736
# ESLint and Prettier must be in `package.json`
28-
- name: Install Node.js dependencies
29-
run: npm ci
37+
- name: Install dependencies
38+
run: pnpm install
3039

3140
- name: Run linters
3241
uses: wearerequired/lint-action@v2

README.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
# Hacktoberfest Projects 🎉
22

3-
A Web app which lets you find eligible repositories for Hacktoberfest!
3+
4+
A Web app that lets you find eligible repositories for Hacktoberfest!
5+
6+
Use it here - https://finder.usmans.me
47

58
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
6-
[![All Contributors](https://img.shields.io/badge/all_contributors-31-orange.svg?style=flat-square)](#contributors-)
9+
[![All Contributors](https://img.shields.io/badge/all_contributors-36-orange.svg?style=flat-square)](#contributors-)
710
<!-- ALL-CONTRIBUTORS-BADGE:END -->
811
<a href="https://gitmoji.dev">
912
<img src="https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square" alt="Gitmoji">
1013
</a>
1114

12-
## Run Locally
15+
16+
## Contributing
17+
18+
Contributions are always welcome!
19+
20+
> Pull Requests about adding languages will not be merged, if you want to suggest adding a new language, please [create an issue](https://github.com/max-programming/hacktoberfest-projects/issues/new) for that 🙂
21+
22+
### Run Locally
1323

1424
Clone the project
1525

@@ -23,20 +33,16 @@ Go to the project directory
2333
cd hacktoberfest-projects
2434
```
2535

26-
Install dependencies
36+
Install dependencies (if you want to use `npm` you can use but its recommended to use `pnpm`)
2737

2838
```bash
29-
yarn
30-
# or
31-
npm install
39+
pnpm i
3240
```
3341

3442
Start the server
3543

3644
```bash
37-
yarn dev
38-
# or
39-
npm run dev
45+
pnpm dev
4046
```
4147

4248
## Tech Stack
@@ -46,11 +52,6 @@ npm run dev
4652
- [Tailwind CSS](https://tailwindcss.com/)
4753
- [Daisy UI](http://daisyui.com)
4854

49-
## Contributing
50-
51-
Contributions are always welcome!
52-
53-
> Pull Requests about adding languages will not be merged, if you want to suggest adding a new language, please [create an issue](https://github.com/max-programming/hacktoberfest-projects/issues/new) for that 🙂
5455

5556
## Feedback
5657

@@ -114,6 +115,13 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
114115
<td align="center" valign="top" width="14.28%"><a href="https://lynxsumit.vercel.app"><img src="https://avatars.githubusercontent.com/u/114245865?v=4?s=100" width="100px;" alt="Sumit Upadhyay"/><br /><sub><b>Sumit Upadhyay</b></sub></a><br /><a href="#design-LynxSumit" title="Design">🎨</a></td>
115116
<td align="center" valign="top" width="14.28%"><a href="https://p7u.tech"><img src="https://avatars.githubusercontent.com/u/112266318?v=4?s=100" width="100px;" alt="Priyanshu Verma"/><br /><sub><b>Priyanshu Verma</b></sub></a><br /><a href="#design-p7uverma" title="Design">🎨</a> <a href="https://github.com/max-programming/hacktoberfest-projects/issues?q=author%3Ap7uverma" title="Bug reports">🐛</a></td>
116117
<td align="center" valign="top" width="14.28%"><a href="https://snehafarkya.vercel.app"><img src="https://avatars.githubusercontent.com/u/63949465?v=4?s=100" width="100px;" alt="Sneha Farkya"/><br /><sub><b>Sneha Farkya</b></sub></a><br /><a href="#design-snehafarkya" title="Design">🎨</a></td>
118+
<td align="center" valign="top" width="14.28%"><a href="http://www.sadiksaifi.dev"><img src="https://avatars.githubusercontent.com/u/86684667?v=4?s=100" width="100px;" alt="Sadik Saifi"/><br /><sub><b>Sadik Saifi</b></sub></a><br /><a href="#design-sadiksaifi" title="Design">🎨</a> <a href="https://github.com/max-programming/hacktoberfest-projects/commits?author=sadiksaifi" title="Code">💻</a></td>
119+
<td align="center" valign="top" width="14.28%"><a href="https://donno2048.github.io/Portfolio/"><img src="https://avatars.githubusercontent.com/u/61805754?v=4?s=100" width="100px;" alt="Elisha Hollander"/><br /><sub><b>Elisha Hollander</b></sub></a><br /><a href="https://github.com/max-programming/hacktoberfest-projects/commits?author=donno2048" title="Code">💻</a></td>
120+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/NishidhJain"><img src="https://avatars.githubusercontent.com/u/61869195?v=4?s=100" width="100px;" alt="Nishidh Jain"/><br /><sub><b>Nishidh Jain</b></sub></a><br /><a href="#design-NishidhJain" title="Design">🎨</a> <a href="https://github.com/max-programming/hacktoberfest-projects/commits?author=NishidhJain" title="Code">💻</a></td>
121+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/beyzanur-seyhan"><img src="https://avatars.githubusercontent.com/u/80166639?v=4?s=100" width="100px;" alt="Beyzanur Seyhan"/><br /><sub><b>Beyzanur Seyhan</b></sub></a><br /><a href="https://github.com/max-programming/hacktoberfest-projects/commits?author=beyzanur-seyhan" title="Code">💻</a></td>
122+
</tr>
123+
<tr>
124+
<td align="center" valign="top" width="14.28%"><a href="https://maitri-vv.github.io/Maitri-sPortfolio/"><img src="https://avatars.githubusercontent.com/u/87691594?v=4?s=100" width="100px;" alt="maitri-vv"/><br /><sub><b>maitri-vv</b></sub></a><br /><a href="https://github.com/max-programming/hacktoberfest-projects/commits?author=maitri-vv" title="Code">💻</a></td>
117125
</tr>
118126
</tbody>
119127
</table>

assets/languages.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"Sql",
3030
"Perl",
3131
"Groovy",
32+
"Assembly",
3233
"WebAssembly",
3334
"Pascal",
3435
"CoffeeScript",
@@ -70,6 +71,7 @@
7071
"Sql",
7172
"Perl",
7273
"Groovy",
74+
"Assembly",
7375
"WebAssembly",
7476
"Pascal",
7577
"CoffeeScript",

components/Card.tsx

Lines changed: 69 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -8,83 +8,97 @@ interface Props {
88

99
function Card({ repo }: Props) {
1010
return (
11-
<div className="shadow-sm card bg-2023-void-2 ring-1 ring-2023-manga-3">
12-
<div className="relative card-body">
13-
<div className="avatar">
14-
<div className="w-10 h-10 mb-2 rounded-full">
11+
<section className="shadow-sm card bg-2023-void-2 ring-1 ring-2023-manga-3 transition duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-2023-bavarian-gold-2/30">
12+
<div className="relative card-body p-6">
13+
<div className="flex-1">
14+
<div className="flex gap-4 items-center justify-start">
1515
<a
16+
className="border-2 rounded-full h-14 aspect-square p-1.5 border-neutral-100"
1617
href={repo.owner.html_url}
1718
title={repo.owner.login}
1819
target="_blank"
1920
rel="noreferrer"
2021
>
2122
<img
2223
src={repo.owner.avatar_url}
23-
width={50}
24-
height={50}
2524
alt={repo.owner.login}
26-
className="rounded-xl"
25+
className="rounded-full"
2726
/>
2827
</a>
28+
<h2 className="text-3xl cursor-pointer hover:underline text-2023-bavarian-gold-2 whitespace-nowrap overflow-hidden text-ellipsis max-w-full">
29+
<a
30+
href={repo.html_url}
31+
title={repo.name}
32+
target="_blank"
33+
rel="noreferrer"
34+
>
35+
{repo.name}
36+
</a>
37+
</h2>
2938
</div>
30-
</div>
31-
32-
<a
33-
href={repo.html_url}
34-
title={repo.name}
35-
target="_blank"
36-
rel="noreferrer"
37-
className={`text-3xl card-title link link-hover text-2023-bavarian-gold-2`}
38-
>
39-
{repo.name}
40-
</a>
4139

42-
<p className="mb-2 text-neutral-100">{emojify(repo.description)}</p>
40+
<h6 className="my-5 text-lg">{emojify(repo.description)}</h6>
4341

44-
<div className="card-actions">
45-
{repo.topics.map((topic: string) => (
46-
<a
47-
key={topic}
48-
href={`https://github.com/topics/${topic}`}
49-
target="_blank"
50-
rel="noreferrer"
51-
className={`badge ${
52-
topic === 'hacktoberfest'
53-
? 'bg-2023-bavarian-gold-1 text-2023-void-2'
54-
: 'bg-2023-bavarian-blue-2 text-2023-void-2'
55-
}`}
56-
>
57-
{topic}
58-
</a>
59-
))}
42+
<div className="card-actions gap-y-3">
43+
{repo.topics.map((topic: string) => (
44+
<a
45+
key={topic}
46+
href={`https://github.com/topics/${topic}`}
47+
target="_blank"
48+
rel="noreferrer"
49+
className={`badge inline px-3 py-0.5 h-auto ${
50+
topic === 'hacktoberfest'
51+
? 'bg-2023-bavarian-gold-1 text-2023-void-2'
52+
: 'bg-2023-bavarian-blue-2 text-2023-void-2'
53+
}`}
54+
>
55+
{topic}
56+
</a>
57+
))}
58+
</div>
6059
</div>
6160

62-
<div className="items-end justify-center h-full card-actions">
63-
<div className="shadow stats bg-transparent ring-1 ring-2023-manga-2">
64-
<div className="stat">
65-
<div className="text-center stat-title items-center inline-flex">
66-
<GoStar color="rgb(163 163 163 / var(--tw-text-opacity))"/>{' '}
67-
<span className="ml-0.5 text-neutral-400">Stars</span>
68-
</div>
69-
<div className="text-center stat-value text-neutral-400">
61+
{/* stars and forks cards */}
62+
<div className="w-full flex gap-3 xl:gap-5 text-neutral-100 cursor-pointer mt-8">
63+
<a
64+
href={`${repo.html_url}/stargazers`}
65+
target="_blank"
66+
className="group w-full border rounded-xl p-3 xl:px-4 flex items-center gap-2 xl:gap-3 relative"
67+
>
68+
<GoStar className="text-yellow-200 text-2xl" />
69+
<div className="flex flex-col">
70+
<div className="text-lg xl:text-2xl font-semibold mb-0.5">
7071
{repo.stargazers_count}
7172
</div>
73+
<div className="text-neutral-300 text-xs lg:text-sm">Stars</div>
7274
</div>
73-
</div>
74-
<div className="shadow stats bg-transparent ring-1 ring-2023-manga-2">
75-
<div className="stat">
76-
<div className="text-center stat-title items-center inline-flex">
77-
<GoRepoForked color="rgb(163 163 163 / var(--tw-text-opacity))" />{' '}
78-
<span className="ml-0.5 text-neutral-400">Forks</span>
79-
</div>
80-
<div className="text-center stat-value text-neutral-400">
81-
{repo.forks}
82-
</div>
75+
<div
76+
id="tooltip"
77+
className="hidden group-hover:block absolute bg-2023-void-2 text-2023-bavarian-gold-2 px-2 py-1 rounded-md"
78+
>
79+
Checkout all the stars here!
8380
</div>
84-
</div>
81+
</a>
82+
<a
83+
href={`${repo.html_url}/forks`}
84+
target="_blank"
85+
className="group w-full border rounded-xl p-3 flex items-center gap-3 relative"
86+
>
87+
<GoRepoForked className="text-yellow-200 text-2xl" />
88+
<div className="flex flex-col">
89+
<div className="text-lg xl:text-2xl font-semibold mb-0.5">{repo.forks}</div>
90+
<div className="text-neutral-300 text-xs lg:text-sm">Forks</div>
91+
</div>
92+
<div
93+
id="tooltip"
94+
className="hidden group-hover:block absolute bg-2023-void-2 text-2023-bavarian-gold-2 px-2 py-1 rounded-md"
95+
>
96+
Checkout all the forks here!
97+
</div>
98+
</a>
8599
</div>
86100
</div>
87-
</div>
101+
</section>
88102
);
89103
}
90104

components/ContributorCard.tsx

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { env } from 'env.mjs';
2+
import { CldImage, getCldImageUrl } from 'next-cloudinary';
13
import { IoLogoGithub } from 'react-icons/io';
24

35
interface Contributor {
@@ -13,6 +15,15 @@ interface Props {
1315
}
1416

1517
export default function ContributorCard({ contributor }: Props) {
18+
const url = env.NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME
19+
? getCldImageUrl({
20+
src: contributor.avatar_url,
21+
deliveryType: 'fetch',
22+
width: 250,
23+
height: 250
24+
})
25+
: contributor.avatar_url;
26+
1627
return (
1728
<div className="text-center shadow-2xl card">
1829
<a
@@ -21,16 +32,15 @@ export default function ContributorCard({ contributor }: Props) {
2132
rel="noreferrer"
2233
>
2334
<figure className="px-10 pt-10">
24-
<img
25-
src={contributor.avatar_url}
26-
alt={contributor.name}
27-
className="rounded-xl"
28-
/>
35+
<img src={url} alt={contributor.name} className="rounded-xl" />
2936
</figure>
3037
</a>
3138
<div className="card-body items-center text-center">
3239
<h2 className="card-title text-neutral-100">{contributor.name}</h2>
33-
<a href={contributor.profile} className="link text-neutral-100 hover:text-[#dbe8d9]">
40+
<a
41+
href={contributor.profile}
42+
className="link text-neutral-100 hover:text-[#dbe8d9]"
43+
>
3444
{contributor.profile}
3545
</a>
3646
<div className="justify-center card-actions">

0 commit comments

Comments
 (0)