Repository navigation
Landing page redesign, newsletter, and sitewide dash cleanup - #28
Merged
Merged
Conversation
Replace every em/en dash in visitor-facing text (headings, body copy, buttons, placeholders, toasts, error messages, table cell fallbacks) with sentence splits, commas, colons, or semicolons. Code comments, hyphens in compound words (Proof-of-Work, 48-hour), and numeric ranges are untouched.
- Buttons are pills everywhere: a diagonal fill sweeps in on hover/active from the bottom-left corner, and navigation buttons get a trailing arrow that nudges further up-right (components/ui/button.tsx). - Mobile: the header nav collapses behind a hamburger menu that opens a left-sliding drawer (portaled to <body> so it isn't clipped by the header's backdrop-blur), adds a Home link, and drops the header logo duplication in favor of the drawer's own logo. - Landing page: reorders sections, adds a Trust & Impact section (stat cards, framed photo with trust callouts, photo strip), and rebuilds the final CTA as a gradient banner. - How It Works / Builder Journey: center key copy on mobile and collapse the Build/Ship/Win heading to one line there.
- NewsletterSubscriber model (anonymous, no User account required), separate from NotificationPreference which only governs mail for people who already have one. - subscribeAction: zod-validated, honeypot-protected, rate-limited; sends a welcome email and always returns a generic success message. - Real unsubscribe: signed one-click token, RFC 8058 one-click API route for mail clients, and a human confirmation page. - lib/newsletter/mail-templates.ts has both the welcome email and the reusable blast template; scripts/send-newsletter-blast.ts (new `pnpm run newsletter:send`) sends a one-off campaign to every active subscriber.
Widen the image and strip columns, enlarge the star and heading, turn the frame into a true arch (border-radius caps at 50% of the box, so it self-clips to a half-circle top regardless of width), and move the floating trust callouts to hang off the frame's mid-left and upper-right edges instead of its corners.
Derive the grid from the reference's 363/665/200 column widths as fr units, give the strip photos a fixed 200:262 aspect instead of stretching to fill the column, restore the matte (arched photo inset in an arch outline), and place the star, callouts, and stat cards by the reference's percentages so the section scales as one composition.
CodeWithEugene
force-pushed
the
feature/newsletter-and-landing-redesign
branch
from
September 25, 2026 00:25
3e53d67 to
0e7017d
Compare
Size type, padding, and card dimensions in container units of the section's width so they shrink with the photos, and cap the section's width by viewport height so the whole composition, stat cards included, fits on one screen. Use the standard-size CTA so it stays on one line in the narrower text column.
…cards Drop the viewport-height width cap so the section spans the site container like every other section, trim the photo columns so the arch photo and strip photos sit about 20% smaller, and fill the stat cards with the logo navy (brand-ink, theme-stable) over a logo bright-blue hard shadow.
Remove the blurred glow and grain layers so the card is a solid logo navy (brand-ink, theme-stable instead of ink, which flips light in dark mode), and split it in half with the photo filling the right side edge to edge.
Light footer on the page background: HackVillage logo, a one-line description and the GitHub link on the left; Platform, Project, and Get Started link columns; a Contact Us column with the real email and location; and a bottom bar with the copyright plus license, Terms, and Privacy links. Replaces the Salamander heritage mark with the HackVillage logo.
Catch database errors in subscribeAction and return a friendly form error instead of throwing, so a failed insert never claims the person was added or breaks the page.
Add an "In partnership with:" line and the Salamander wordmark beneath the Technetium Kenya credit in the Contact Us column.
"A CodeWithEugene Creation." sits between the copyright and the legal links, with CodeWithEugene opening codewitheugene.top in a new tab. The bar goes three-across from xl so the legal links never wrap.
Add HackVillage's LinkedIn, X, and YouTube profiles beside GitHub, using official brand marks in currentColor (plus a currentColor GithubMark) so the row shares the brand blue. Each opens in a new tab.
Opens in a new tab.
5 tasks done
This branch was successfully deployed
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
pnpm run newsletter:sendscript with a reusable blast template for one-off campaigns.Test plan
tsc --noEmitcleaneslintcleanpnpm test— 156/156 passingpnpm run build— all routes build