Skip to content

[feat] Rebuild flutter.ph in Next.js for GitHub Pages - #4

Merged
joshuadeguzman merged 10 commits into
masterfrom
feat/nextjs-site
Nov 20, 2026
Merged

joshuadeguzman merged 10 commits into
masterfrom
feat/nextjs-site

Conversation

@joshuadeguzman

@joshuadeguzman joshuadeguzman commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

What's in this PR

  • Replaces the 2019 Flutter web build with a Next.js 16 site exported as static files, so flutter.ph has real HTML for search, link previews and screen readers, and loads fast on mobile data
  • New home page in a Google Sans design system: open hero, greyscale Supported by strip, About with a 3D Philippines map and Manila pin, a Gemini-themed AI section with official tools, three get-involved steps, and recent and upcoming events
  • Events come from content files: Flutter PH events (from Luma), the Meetup archive (2019 to 2022), and talks, workshops and open-source demos by the team, with a featured event, filters and place badges
  • Old URLs (/join, /ask, /meetup-3, /meetups/3, /webinars/1) keep working as static redirect pages
  • GitHub Actions deploy to Pages (daily rebuild so events roll over), CI, Dependabot, CODEOWNERS, issue and PR templates, README with screenshots, CONTRIBUTING and a content guide
  • Opt-in GA4 analytics, replacing the Universal Analytics tag Google retired in 2023

Why Next.js and not Flutter web

A community site lives on search, Facebook link previews and accessibility, which all need HTML on first load. Static export keeps hosting on GitHub Pages at no cost. About 3 KB of our own JavaScript ships on top of the framework.

Test Plan

  • pnpm check: typecheck, lint, format, 19 unit tests, production build
  • 54 Playwright tests: axe (WCAG 2.2 AA) in light and dark at 360, 390, 768, 1280 and 1440 px in Chromium, plus iPhone and desktop in WebKit; all legacy URLs
  • Scroll performance test in Chromium and WebKit (p95 frame 18 to 33 ms, no layout shift)
  • Lighthouse mobile on the production build: 100 performance, accessibility, best practices and SEO; LCP about 1.06 s, CLS 0
  • Reviewed locally on desktop and iPhone viewports
  • Check the live site after the first Pages deploy

Please attach screenshots or videos demonstrating the changes:

Home

About AI
About AI
Get involved Events
Get involved Events
iPhone home iPhone events
Home on iPhone Events on iPhone

Checklist

  • Link any relevant issues (e.g. Sentry).
  • Create unit tests where applicable.
  • Manually verify that this code change works as advertised.
  • Verify all required analytics events were added. (GA4 is wired up; set the GA_MEASUREMENT_ID repo variable to turn it on.)
  • Add relevant documentation and/or update relevant documentation.

Replace the compiled Flutter web build with a Next.js 16 App Router project
exported as static files. Adds tooling (pnpm 12, Node 24, TypeScript 6,
ESLint, Prettier, Vitest, Playwright with axe, Lighthouse CI), Zod content
schemas with clearly marked sample content, Manila date utilities with tests,
design tokens, self-hosted fonts, a vector logo traced from the original PNG,
and static pages that keep the legacy redirect URLs working.
Rebuild the home page on a grey canvas with white rounded sheets, Google
Sans (OFL) self-hosted, ink pill actions and flag-tint pastels. Adds the
open hero, a greyscale Supported by strip (sample only until official
logos are provided), the word-by-word manifesto, three stacking step
sheets with drifting tint gradients and a recede-on-cover transition,
recent events from Luma with the Meetup archive (2019 to 2022), the
logo watermark motif, the closing join panel, header, footer, theme
toggle and Lenis smooth scrolling for wheel input.
Hero subline now reads as one statement and the duplicate paragraph is
gone. Buttons on a different background drop their border. Sections rise
and come into focus as they scroll in, and the hero mark drifts away on
scroll (CSS scroll-driven, transform and blur only). Sheets get a shared,
larger gap, the stacking shadow is removed, and step gradients and the
logo watermark are toned down.
… tests

- Hero invitation copy, AI announcement pill and official supporter logos
  (Google for Developers, GDG, GDE) in greyscale
- About section with a 3D Philippines map, Manila pin and a scroll-linked
  typewriter paragraph
- Gemini-themed AI section linking the official tools for Flutter and Dart
- Step cards lead with the Facebook group; equal-height panels
- Events: featured event card with sponsors, team talks with speaker,
  upcoming group, place and country badges, CSS-only filters, view all
- Scroll-spy navigation and Safari-friendly, transform-only motion
- WebKit e2e projects and a Chromium and WebKit scroll-jank test
Also updates the About copy to name engineers and designers.
Repeats of the same talk get a distinct display title that keeps the idea;
the original title stays in officialTitle.
- Team talks rebuilt from the organizer table with hosts, attendance and
  links; open-source demo repos as their own rows
- Event rows use a stretched link (no nested anchors) with the outbound
  arrow at the upper right; smaller speaker line
- Opt-in GA4 analytics replacing the retired Universal Analytics tag
- GitHub Pages deploy workflow (daily rebuild), CI, Dependabot,
  CODEOWNERS, issue and pull request templates
- README with screenshots, CONTRIBUTING and a content guide
- Remove all sample content
@joshuadeguzman
joshuadeguzman merged commit 95555b2 into master Nov 20, 2026
1 check failed
@joshuadeguzman joshuadeguzman self-assigned this Nov 20, 2026
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.

1 participant