Skip to content

Commit 71950a9

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/remark-gfm-4.0.1
2 parents 07ef736 + e8474ee commit 71950a9

File tree

7 files changed

+34
-27
lines changed

7 files changed

+34
-27
lines changed

README.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,28 @@
44

55
Hack Club's new website. This codebase is what runs on [hackclub.com](https://hackclub.com). For new developers getting started, run the following in your terminal:
66

7-
Download the code to your computer:
7+
1. Download the code to your computer:
88

9-
$ git clone https://github.com/hackclub/site && cd site
9+
```bash
10+
git clone https://github.com/hackclub/site && cd site
11+
```
1012

11-
Install dependencies:
13+
2. Install dependencies:
1214

13-
$ yarn
15+
```bash
16+
yarn
17+
```
1418

15-
Start running the website on your computer:
19+
3. Start running the website on your computer:
1620

17-
$ yarn dev
21+
```bash
22+
yarn dev
23+
```
1824

19-
And then open up your web browser and go to [localhost:3000](http://localhost:3000).
25+
4. Open up your web browser and go to [localhost:3000](http://localhost:3000)
2026

21-
Please note: There are a number of redirects and rewrites essential to the website's functionality, which you can see in [next.config.mjs](./next.config.mjs).
27+
> [!NOTE]
28+
> There are a number of redirects and rewrites essential to the website's functionality, which you can see in [next.config.mjs](./next.config.mjs).
2229
2330
Powered by [Next.js] with [MDX], [Theme UI], & [Hack Club Theme].
2431
@@ -35,11 +42,11 @@ See something that could be better? Make a PR! Have an easter egg idea? Make a P
3542
If you need to add content to the site, here's how you can:
3643
3744
<details> <summary>Create a new card</summary>
38-
<img width="600" alt="Screenshot 2023-08-16 at 9 09 55 PM" src="https://github.com/hackclub/site/assets/65808924/fed45800-c834-4e4c-ad87-a21e01414fa9">
45+
<img width="600" alt="Screenshot of the Sprig card" src="https://github.com/hackclub/site/assets/65808924/fed45800-c834-4e4c-ad87-a21e01414fa9">
3946
4047
Most things on the homepage are cards, modular components that can easily be added and removed according to relevancy to Hack Clubbers. There are 3 main sections: connection, open-source, and IRL community. Most new cards will likely fall within the first two sections!
4148
42-
First, you can create a new file under [components/index/cards](components/index/cards/) with the name of your new event/project. Next add `import CardModel from './card-model'` and add whatever you want :) Finally, use a <Buttons> component (`import Buttons from './button'`) to highlight call-to-action buttons. If it's the main button, use the primary prop to add a background color!
49+
First, you can create a new file under [components/index/cards](components/index/cards/) with the name of your new event/project. Next add `import CardModel from './card-model'` and add whatever you want :) Finally, use a `<Buttons>` component (`import Buttons from './button'`) to highlight call-to-action buttons. If it's the main button, use the primary prop to add a background color!
4350

4451
Your challenge: try and make the card as unique as possible, like a mini poster! Not sure where to start? Look at other cards on the page :)
4552

@@ -48,7 +55,7 @@ Your challenge: try and make the card as unique as possible, like a mini poster!
4855
<details>
4956
<summary>Add to the carousel</summary>
5057

51-
<img width="600" alt="Screenshot 2023-08-16 at 9 09 11 PM" src="https://github.com/hackclub/site/assets/65808924/044660eb-fb3d-43b6-a270-64a3fe51f3ca">
58+
<img width="600" alt="Screenshot of a carousel section" src="https://github.com/hackclub/site/assets/65808924/044660eb-fb3d-43b6-a270-64a3fe51f3ca">
5259

5360
If there's a Hack Club or Hack Club community-led project (past or present) that Hack Clubbers can get involved in, please add it to [lib/carousel.json](lib/carousel.json) and add your card to the end of the json file. An example looks like this:
5461
@@ -61,12 +68,12 @@ If there's a Hack Club or Hack Club community-led project (past or present) that
6168
"description": "Our open love letter to hackers",
6269
"img": "https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-large/1f4bb@2x.png",
6370
"link": "/hackers-wanted"
64-
}
71+
}
6572
```
6673
6774
</details>
6875
69-
Every week, [thousands of people](https://plausible.io/hackclub.com) visit hackclub.com. What story to you want to tell?
76+
Every week, thousands of people visit hackclub.com. What story to you want to tell?
7077
7178
_Have questions? Join us in [#hackclub-site-dev](https://hackclub.slack.com/archives/C036BTDGP43) and to learn more about the style guide at Hack Club check [this](https://hackclub.com/brand/) out_
7279

components/bio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function Bio({ popup = true, spanTwo = false, ...props }) {
2323
zIndex: !popup ? 1003 : 5,
2424
maxHeight: '90vh',
2525
overflowY: 'hidden',
26-
overscrollBehavior: 'contain',
26+
overscrollBehavior: 'auto',
2727
gridColumn: !spanTwo ? null : [null, null, '1 / span 2'],
2828
position: 'relative'
2929
}}

components/nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const Navigation = props => (
143143
<NextLink href="/hackathons" passHref>
144144
<Link>Hackathons</Link>
145145
</NextLink>
146-
<Link href="/slack">Community</Link>
146+
<Link href="https://slack.hackclub.com">Join</Link>
147147
<NextLink href="https://toolbox.hackclub.com/" passHref>
148148
<Link>Toolbox</Link>
149149
</NextLink>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"animated-value": "^0.2.4",
3939
"animejs": "^3.2.2",
4040
"axios": "^1.13.3",
41-
"camelcase": "^8.0.0",
41+
"camelcase": "^9.0.0",
4242
"cookies-next": "^4.3.0",
4343
"country-list": "^2.3.0",
4444
"country-list-js": "^3.1.8",
@@ -62,7 +62,7 @@
6262
"nextjs-current-url": "^1.0.3",
6363
"openai": "^4.86.1",
6464
"pcb-stackup": "^4.2.8",
65-
"rc-dialog": "^9.6.0",
65+
"rc-dialog": "^10.0.0",
6666
"react": "^17.0.2",
6767
"react-beautiful-dnd": "^13.1.1",
6868
"react-before-after-slider-component": "^1.1.8",

pages/amas/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const Page = ({ upcoming, past }) => (
172172
<Image
173173
width={128}
174174
height={128}
175-
unoptimized={event.amaAvatar.startsWith('https://cachet.')}
175+
unoptimized={true}
176176
src={event.amaAvatar}
177177
alt={event.title}
178178
/>

public/acknowledged.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@
689689
"bio": "",
690690
"slackId": "U07VC9705D4",
691691
"email": "",
692-
"website": "",
692+
"website": "https://shymike.dev",
693693
"avatar": "https://cachet.dunkirk.sh/users/U07VC9705D4/r"
694694
},
695695
{

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3046,10 +3046,10 @@ camelcase@^5.3.1:
30463046
resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz"
30473047
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
30483048

3049-
camelcase@^8.0.0:
3050-
version "8.0.0"
3051-
resolved "https://registry.npmjs.org/camelcase/-/camelcase-8.0.0.tgz"
3052-
integrity sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==
3049+
camelcase@^9.0.0:
3050+
version "9.0.0"
3051+
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-9.0.0.tgz#451bbe18e34a2d2646bd62340c9278edd36db381"
3052+
integrity sha512-TO9xmyXTZ9HUHI8M1OnvExxYB0eYVS/1e5s7IDMTAoIcwUd+aNcFODs6Xk83mobk0velyHFQgA1yIrvYc6wclw==
30533053

30543054
camelize@^1.0.0:
30553055
version "1.0.1"
@@ -7571,10 +7571,10 @@ raw-body@2.4.1:
75717571
iconv-lite "0.4.24"
75727572
unpipe "1.0.0"
75737573

7574-
rc-dialog@^9.6.0:
7575-
version "9.6.0"
7576-
resolved "https://registry.npmjs.org/rc-dialog/-/rc-dialog-9.6.0.tgz"
7577-
integrity sha512-ApoVi9Z8PaCQg6FsUzS8yvBEQy0ZL2PkuvAgrmohPkN3okps5WZ5WQWPc1RNuiOKaAYv8B97ACdsFU5LizzCqg==
7574+
rc-dialog@^10.0.0:
7575+
version "10.0.0"
7576+
resolved "https://registry.yarnpkg.com/rc-dialog/-/rc-dialog-10.0.0.tgz#d1a8fa3f7f41a0fc7732665418eff24628c57fc9"
7577+
integrity sha512-KdQjqNknesFtIdz5dGcVpqWqqMg6PeWq6Jodv9gVPXtQ3Kr8Ik7RSWauhlMbidNiwSSvTUvkDQmdawhypob1JQ==
75787578
dependencies:
75797579
"@babel/runtime" "^7.10.1"
75807580
"@rc-component/portal" "^1.0.0-8"

0 commit comments

Comments
 (0)