Restyle homepage to match membership's design + font/footer fixes - #542
Merged
Merged
Conversation
…tewide font loading - Load Outfit font weights sitewide via Layout.astro (previously only /membership loaded the actual font file, so most pages silently fell back to the system sans stack despite Tailwind's fontFamily.sans already being set to Outfit). - Restyle the homepage (index.astro) to match /membership's plain-mode visual language: unified brand green (#157A3E), sage-tinted section bands, cream- bordered cards with a green top accent, pill-shaped CTAs, and the animated flag-stripe divider motif. - Extract the flag-stripe divider into a shared FlagStripe.astro component, used by both /membership and the homepage instead of duplicating the CSS. - Update Footer.astro's link structure to mirror the navbar's categories/links exactly, and widen the shared page container. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Deploying website with
|
| Latest commit: |
1c5a2f9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://eca610d8.website-aun.pages.dev |
| Branch Preview URL: | https://homepage-membership-redesign.website-aun.pages.dev |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Layout.astro(used by nearly every page) never imported the@fontsource/outfitfiles, so pages fell back to the system sans stack even thoughtailwind.config.mjsalready declared Outfit asfontFamily.sans. Only/membershiploaded the font correctly before this change./) to match/membership's actual (plain-mode) design system: unified brand green (#157A3E), sage-tinted section bands, cream-bordered cards with a green top accent, pill-shaped CTAs, and the animated Palestinian-flag-color divider stripe. Content, copy, and section order are unchanged.FlagStripe.astrocomponent (previously duplicated CSS scoped toMembershipMain.astro); both/membershipand/now use it.Test plan
/and/membershipin a browser to confirm the palette/typography/card/button treatments read as one consistent system/membershipafter theFlagStripe.astroextraction/about,/donate) to confirm Outfit now renders correctly with the new font import inLayout.astropnpm build/pnpm checkin CI🤖 Generated with Claude Code