-
Notifications
You must be signed in to change notification settings - Fork 31
[codex] Polish Rapid Grants page #2273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -133,7 +133,7 @@ const RapidGrantsPage = () => { | |||||||||||||||
| : '—'; | ||||||||||||||||
|
|
||||||||||||||||
| return ( | ||||||||||||||||
| <div className="bg-color-canvas"> | ||||||||||||||||
| <div className="bg-white"> | ||||||||||||||||
| <Head> | ||||||||||||||||
| <title>{`${CURRENT_ROUTE.title} | BlueDot Impact`}</title> | ||||||||||||||||
| <meta | ||||||||||||||||
|
|
@@ -151,7 +151,7 @@ const RapidGrantsPage = () => { | |||||||||||||||
| description="Research project, event, community chapter? We fund ambitious people doing concrete work to make AI go well." | ||||||||||||||||
| status="Active" | ||||||||||||||||
| primaryCta={{ text: 'Apply now', url: RAPID_GRANT_APPLICATION_URL }} | ||||||||||||||||
| secondaryCta={{ text: 'Look at grantees', url: '#grants-made', onClick: scrollToGrantees }} | ||||||||||||||||
| secondaryCta={{ text: 'See funded projects', url: '#grants-made', onClick: scrollToGrantees }} | ||||||||||||||||
| facts={[ | ||||||||||||||||
| { label: 'Typical grants', value: 'Up to $10k' }, | ||||||||||||||||
| { label: 'Decision time', value: 'Around 5 working days' }, | ||||||||||||||||
|
|
@@ -160,7 +160,7 @@ const RapidGrantsPage = () => { | |||||||||||||||
| ]} | ||||||||||||||||
| /> | ||||||||||||||||
|
|
||||||||||||||||
| <Breadcrumbs route={CURRENT_ROUTE} /> | ||||||||||||||||
| <Breadcrumbs route={CURRENT_ROUTE} className="bg-white" /> | ||||||||||||||||
|
|
||||||||||||||||
| <GrantPageSection | ||||||||||||||||
| title="What this program is for" | ||||||||||||||||
|
|
@@ -276,7 +276,7 @@ const RapidGrantsPage = () => { | |||||||||||||||
|
|
||||||||||||||||
| <div id="grants-made"> | ||||||||||||||||
| <GrantPageSection title="Projects we have funded"> | ||||||||||||||||
| <GranteesListSection /> | ||||||||||||||||
| <GranteesListSection previewRows={2} /> | ||||||||||||||||
| </GrantPageSection> | ||||||||||||||||
| </div> | ||||||||||||||||
|
Comment on lines
277
to
281
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Either pass
Suggested change
|
||||||||||||||||
|
|
||||||||||||||||
|
|
||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
handleResize()call in effectThe
useStatelazy initializer on line 87–93 already readswindow.innerWidthon the client, so the immediatehandleResize()call insideuseEffect(line 100) just sets the same value again. It can be removed without any behavioural change.