Skip to content
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

Bryce spread the word: v1 done #813

Merged
merged 4 commits into from
Oct 27, 2024

Conversation

bryceerobertson
Copy link
Member

Some finicky CSS stuff still to do + the "Multiply your impact:" header at the bottom is waiting for Nemo to make it changeable.

@bryceerobertson
Copy link
Member Author

I ran npm run lint:fix but looks like lint nonetheless isn't happy

app/root.css Outdated
@@ -253,6 +253,10 @@ h2 {
padding-bottom: var(--spacing-56) !important;
}

.padding-bottom-64 {
padding-bottom: var(--spacing-64) !important;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@melissasamworth are these !importants really needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dunno, I just copied the format from the previous padding classes made by @melissasamworth

app/root.css Outdated
@@ -840,3 +844,30 @@ button {
}

/* end mobile */
.video-thumbnail-wrapper {
position: relative;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe just add a generic relative class that can be applied to arbitrary elements? I'd put these specific classes in a separate css file next to the component that they apply to

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I had put this here while troubleshooting the video thumbnail and forgot to delete it afterwards. Removed now.

title: 'A.I. - Humanity\'s Final Invention?',
action: 'https://youtu.be/fa8k8IQ1_X0?si=b2l0Ex6KQvt6JyQD',
image: (
<div style={{position: 'relative'}}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be worth making a dedicated component for this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made the component but I can't get the play button to behave. That can be a CSS fix for another day

export default function Grassroots() {
useEffect(() => {
document.documentElement.style.scrollBehavior = 'smooth'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this be done with css, rather than js? In general prefer applying css to code, as css generally is a lot more efficient

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's Myles's work

@bryceerobertson bryceerobertson merged commit e9b7916 into stampy-redesign Oct 27, 2024
1 check failed
@bryceerobertson bryceerobertson deleted the bryce-spread-the-word branch October 27, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants