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

[feat] add nonprofits to the site #5

Merged
merged 9 commits into from
Jan 12, 2024
Merged

[feat] add nonprofits to the site #5

merged 9 commits into from
Jan 12, 2024

Conversation

sampoder
Copy link
Collaborator

What's new?

WIP!

package-lock.json Outdated Show resolved Hide resolved
src/components/NonProfits.astro Show resolved Hide resolved
@jinkang-0
Copy link
Collaborator

Hey Sam, is it possible for you to convert the images into WEBP format instead? (here's a tool that does that) I'm uncertain if Astro's image optimizations will apply for background images, but please let me know if I'm wrong!

src/components/NonProfits.astro Show resolved Hide resolved
src/components/NonProfits.astro Outdated Show resolved Hide resolved
src/components/NonProfits.astro Outdated Show resolved Hide resolved
src/components/NonProfit.astro Outdated Show resolved Hide resolved
src/components/NonProfit.astro Show resolved Hide resolved
Copy link
Collaborator

@jinkang-0 jinkang-0 left a comment

Choose a reason for hiding this comment

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

hey Sam, everything looks great! Just two very small nitpick changes and this should be good to go!

Comment on lines +1 to +3
---
const { name, description, image, startColor, endColor, url } = Astro.props;
---
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: can you add Typescript definitions for Props? here's an example from the docs


.card:hover {
transform: scale(1.05);
transition: transform .225s ease-in-out;
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we add this transition to the default card itself? it looks a bit odd when you unhover a card as the transition is removed

@jinkang-0 jinkang-0 changed the title Add nonprofits to the site [feat] add nonprofits to the site Jan 12, 2024
Copy link
Contributor

@allisonhongberkeley allisonhongberkeley left a comment

Choose a reason for hiding this comment

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

lgtm for initial deployment, @sampoder can you address these comments still?

@allisonhongberkeley allisonhongberkeley merged commit ca57eaf into main Jan 12, 2024
2 checks passed
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.

3 participants