Skip to content

Commit 9e8e2a7

Browse files
authored
Merge pull request #1198 from CodeHarborHub/dev-3
debug code
2 parents 35e0356 + be820a9 commit 9e8e2a7

File tree

5 files changed

+67
-29
lines changed

5 files changed

+67
-29
lines changed

community/team.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,4 @@ If you are interested in joining the team, or would like to contribute to the Op
2121

2222
## Contributors {#contributors}
2323

24-
![contributors](https://opencollective.com/codeharborhub/contributors.svg?button=false)
25-
26-
<!--
27-
[![contributors](https://contrib.rocks/image?repo=codeharborhub/codeharborhub)](https://github.com/codeharborhub/codeharborhub/graphs/contributors)
28-
-->
24+
![Contributors](https://opencollective.com/codeharborhub/contributors.svg?button=false&avatarHeight=50&width=1000)

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const config = {
175175

176176
{
177177
to: "/our-sponsors/",
178-
html: '<span class="nav-emoji">💰</span> Sponsors',
178+
html: '<span class="nav-emoji">💰</span> Donate'
179179
},
180180

181181
{

src/components/TeamProfileCards/index.tsx

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,23 @@ function WebsiteLink({ to, children }: { to: string; children?: ReactNode }) {
1313
);
1414
}
1515

16+
function CompanyLink({ to, children }: { to: string; children?: ReactNode }) {
17+
return (
18+
<Link to={to}>
19+
{children ?? (
20+
<Translate id="team.profile.CompanyLinkLabel">company</Translate>
21+
)}
22+
</Link>
23+
);
24+
}
25+
1626
type ProfileProps = {
1727
className?: string;
1828
name: string;
1929
children: ReactNode;
2030
githubUrl: string;
2131
twitterUrl?: string;
32+
linkedInUrl?: string;
2233
};
2334

2435
function TeamProfileCard({
@@ -27,6 +38,7 @@ function TeamProfileCard({
2738
children,
2839
githubUrl,
2940
twitterUrl,
41+
linkedInUrl
3042
}: ProfileProps) {
3143
return (
3244
<div className={className}>
@@ -54,11 +66,16 @@ function TeamProfileCard({
5466
GitHub
5567
</Link>
5668
)}
69+
{linkedInUrl && (
70+
<Link className="button button--secondary" href={linkedInUrl}>
71+
LinkedIn
72+
</Link>
73+
)}
5774
{twitterUrl && (
5875
<Link className="button button--secondary" href={twitterUrl}>
5976
Twitter
6077
</Link>
61-
)}
78+
)}
6279
</div>
6380
</div>
6481
</div>
@@ -77,18 +94,36 @@ export function ActiveTeamRow(): JSX.Element {
7794
<div className="row">
7895
<TeamProfileCardCol
7996
name="Ajay Dhangar"
80-
githubUrl="https://github.com/ajay-dhangar"
81-
twitterUrl="https://twitter.com/CodesWithAjay"
97+
githubUrl="https://github.com/ajay-dhangar"
98+
linkedInUrl="https://www.linkedin.com/in/ajay-dhangar"
99+
twitterUrl="https://twitter.com/CodesWithAjay"
82100
>
83101
<Translate
84102
id="team.profile.Sebastien Lorber.body"
85103
values={{
86-
website: <WebsiteLink to="https://cmhq.tech" />,
104+
website: <WebsiteLink to="https://ajay-dhangar.github.io/" />,
87105
devto: <Link to="https://dev.to/ajaydhangar49">Dev.to</Link>,
88106
}}
89107
>
90108
{
91-
"Fullstack developer, open source enthusiast, and tech blogger. He loves to contribute to open source and write articles on his {website} and {devto}."
109+
"Founder, Lead Developer and Maintainer of CodeHarborHub. He loves to contribute to open source and write articles on his {website} and {devto}."
110+
}
111+
</Translate>
112+
</TeamProfileCardCol>
113+
<TeamProfileCardCol
114+
name="MOHD ARIF"
115+
githubUrl="https://github.com/mrmohdarif"
116+
linkedInUrl="https://www.linkedin.com/in/mohd-arif-115b87231/"
117+
>
118+
<Translate
119+
id="team.profile.Sebastien Lorber.body"
120+
values={{
121+
compony: <CompanyLink to="https://www.linkedin.com/company/techneutron/" />,
122+
portfolio: <Link to="https://mrmohdarif.github.io/portfolio/">Portfolio</Link>,
123+
}}
124+
>
125+
{
126+
"Lead Developer of CodeHarborHub. He loves to contribute to open source and currently working at {compony} and you can check his {portfolio}."
92127
}
93128
</Translate>
94129
</TeamProfileCardCol>

src/database/sponsors/index.tsx

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
11
interface Sponsor {
2-
name: string;
3-
image: string;
4-
description: string;
5-
github?: string;
6-
linkedin?: string;
7-
twitter?: string;
8-
instagram?: string;
2+
name: string;
3+
image: string;
4+
description: string;
5+
github?: string;
6+
linkedin?: string;
7+
twitter?: string;
8+
instagram?: string;
99
}
1010

1111
const sponsors: Sponsor[] = [
12-
{
13-
name: 'Ajay Dhangar',
14-
image: '/sponsors/ajay-dhangar.jpg',
15-
description: 'Full Stack Engineer',
16-
github: 'https://github.com/ajay-dhangar',
17-
linkedin: 'https://linkedin.com/in/ajay-dhangar',
18-
twitter: 'https://x.com/CodesWithAjay',
19-
instagram: 'https://www.instagram.com/_ajay.dhangar'
20-
},
12+
// {
13+
// name: "Ajay Dhangar",
14+
// image: "/sponsors/ajay-dhangar.jpg",
15+
// description: "Full Stack Engineer",
16+
// github: "https://github.com/ajay-dhangar",
17+
// linkedin: "https://linkedin.com/in/ajay-dhangar",
18+
// twitter: "https://x.com/CodesWithAjay",
19+
// instagram: "https://www.instagram.com/_ajay.dhangar",
20+
// },
21+
{
22+
name: "MOHD ARIF",
23+
image: "https://github.com/mrmohdarif.png",
24+
description: "Full Stack Developer",
25+
github: "https://github.com/mrmohdarif",
26+
linkedin: "https://www.linkedin.com/in/mohd-arif-115b87231/",
27+
},
2128
];
2229

23-
export default sponsors;
30+
export default sponsors;

src/pages/our-sponsors/Sponsors.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
border-radius: 8px;
3131
padding: 16px;
3232
text-align: center;
33-
width: 200px;
33+
width: 200px;
3434
}
3535

3636
.sponsor-page .sponsor-card img {

0 commit comments

Comments
 (0)