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

Home page #45

Merged
merged 10 commits into from
Jun 6, 2024
Merged

Home page #45

merged 10 commits into from
Jun 6, 2024

Conversation

hetd54
Copy link
Collaborator

@hetd54 hetd54 commented Jun 4, 2024

Adds content to home page from figma design

Additions

Components

HoverCard.tsx: uses radix ui hovercard primitive: https://www.radix-ui.com/primitives/docs/components/hover-card ; takes the trigger for the card as a prop

svg/Circle.tsx: Circle svg, takes color as a prop

svg/Footprint.tsx: all the footprints on the left side of the page

svg/MiniMaps.tsx: The home page's minimaps svg, also uses HoverCard component for the popover with contact info

Updates

Styles

global.css: Adds animation info for hovercard; @galenwinsor can you comment on lines 135 and 136? I didn't see an option in tailwind for opacity change

Layouts

Layout.astro: adds optional lede as prop; adds more padding to body to make space for the lede

index.astro: (the home page) adds content to match figma

Copy link

github-actions bot commented Jun 4, 2024

Visit the preview URL for this PR (updated for commit 5acae49):

https://mmp-site-b1c9b--pr45-home-page-lwz6qtaj.web.app

(expires Tue, 11 Jun 2024 17:37:19 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4eb870c89e876f1812e204af417359065d2a23b1

@hetd54 hetd54 requested review from broarr and galenwinsor June 4, 2024 18:11
Copy link
Collaborator

@galenwinsor galenwinsor left a comment

Choose a reason for hiding this comment

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

Haha, I love the animation!!!

@hetd54 hetd54 merged commit 5875878 into main Jun 6, 2024
2 checks passed
@hetd54 hetd54 deleted the home-page branch June 6, 2024 13:47
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