-
Notifications
You must be signed in to change notification settings - Fork 2
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
Clement remove bold font weight everywhere #787
Conversation
[diff-counting] Significant lines: 82. |
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.
Can you rerequest review from me once you fixed the type check error?
@@ -49,7 +49,7 @@ const Initiative = ({ | |||
width >= LAPTOP_BREAKPOINT ? inter.className : ibm_plex_mono.className | |||
}`} | |||
> | |||
{parts.map((part, index) => (part === eventName ? <b key={index}>{part}</b> : part))} | |||
{parts.map((part, index) => part)} |
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.
Wait can't we just do parts here then?
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.
LOL i accidentally edited smth oops
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.
fixed here
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.
ok wait
@@ -15,8 +15,7 @@ | |||
"height": 328 | |||
}, | |||
"description": "At the Tompkins County Public Library, our members give children in the Ithaca community the opportunity to grow and learn about other technical careers. We introduce code and design through beginner-friendly, interactive workshops with Cornell students, providing individualized feedback. Young students can learn Scratch to create their own games and animations, and Figma to make eye-catching visuals with shapes, colors, and more!", | |||
"mobileDescription": "@Tompkins County Public Library, we introduced code & design with workshops that taught Figma and Sketch.", | |||
"eventName": "Tompkins County Public Library" |
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.
this is causing a linting error, if we not using eventName anywhere we could remove it from everything else, and also from the type
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.
wait ok i messed up smth but i think i fixed it here/
@@ -49,7 +46,7 @@ const Initiative = ({ | |||
width >= LAPTOP_BREAKPOINT ? inter.className : ibm_plex_mono.className | |||
}`} | |||
> | |||
{parts.map((part, index) => (part === eventName ? <b key={index}>{part}</b> : part))} | |||
{description} | |||
</p> | |||
</article> | |||
); |
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.
FYI eventName
still appears below too (line 68 and 70), and type checker caught it
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.
ohh good catch, should be fixed now i think...
fixes this
removes font weight bold
sorry no time for screenshots 🙃