From d3158a744e291eac3fc0e37a2842b34bbf8c6994 Mon Sep 17 00:00:00 2001 From: pemaghising Date: Fri, 18 Sep 2026 15:10:40 +0545 Subject: [PATCH 01/13] Drop the hero copy column further below the nav padding-top on .hero-inner goes from clamp(48px, 4.5vw, 80px) to clamp(72px, 6vw, 112px) -- roughly 65px to 86px at 1440, 80px to 112px on wide screens. Only the copy column moves. .hero-art is absolutely positioned against .hero, so the mech holds its place and the logo, lede, CTA and key-dates plate drop against it. The 1100px block keeps its own padding-top, so mobile is unchanged. --- src/index.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.css b/src/index.css index 759f9118..3a9b04e9 100644 --- a/src/index.css +++ b/src/index.css @@ -718,8 +718,10 @@ h4 { position: relative; z-index: 2; /* Top-aligned hero (not vertically centred), so the logo needs more - clearance under the sticky nav than the bottom needs. */ - padding-top: clamp(48px, 4.5vw, 80px); + clearance under the sticky nav than the bottom needs. Only this column + moves: .hero-art is absolutely positioned against .hero, so the mech + stays put and the copy drops against it. */ + padding-top: clamp(72px, 6vw, 112px); padding-bottom: 40px; } @media (max-width: 1100px) { From 364af2ee02b3f5712a68c9b5fe4784c469508063 Mon Sep 17 00:00:00 2001 From: pemaghising Date: Fri, 18 Sep 2026 15:17:02 +0545 Subject: [PATCH 02/13] Break the first reason title onto two lines 'A Month of Code' fit one line at wide viewports while the neighbouring card wrapped, leaving the row visually unbalanced. --- src/components/Beyond/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Beyond/index.js b/src/components/Beyond/index.js index e8eee0ea..dc4c0275 100644 --- a/src/components/Beyond/index.js +++ b/src/components/Beyond/index.js @@ -55,7 +55,7 @@ export default function Beyond() { Commit to Something Real

- + A Month
of Code}> Four real weeks to actually think, build, and ship something for the Nepali community.
From 878ba16b347fcc8f4b01f5ce19305872a7e2e8a6 Mon Sep 17 00:00:00 2001 From: pemaghising Date: Fri, 18 Sep 2026 15:23:44 +0545 Subject: [PATCH 03/13] Shrink reason card titles so each holds one line At the shared --card-title size 'Grow as a Builder' wrapped while its neighbours held one line, leaving the 3-up row ragged. .badge keeps the shared size. --- src/components/Beyond/index.js | 2 +- src/index.css | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Beyond/index.js b/src/components/Beyond/index.js index dc4c0275..e8eee0ea 100644 --- a/src/components/Beyond/index.js +++ b/src/components/Beyond/index.js @@ -55,7 +55,7 @@ export default function Beyond() { Commit to Something Real

- A Month
of Code}> + Four real weeks to actually think, build, and ship something for the Nepali community. diff --git a/src/index.css b/src/index.css index 3a9b04e9..6df70514 100644 --- a/src/index.css +++ b/src/index.css @@ -1167,7 +1167,12 @@ h4 { } .reason h3 { font-family: var(--font-heading); - font-size: var(--card-title); + /* Own step down from --card-title: at the shared size the longest title + ("Grow as a Builder") wrapped while its neighbours held one line, so the + row read ragged. ~20% smaller keeps all three on a single line from the + 3-up breakpoint upward. .badge keeps the shared size -- it is stacked, + so nothing there wraps against a neighbour. */ + font-size: clamp(1rem, 1.5vw, 1.45rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; From 1576749dd4c8d4a2996bbbadb9bda3f7603a7d69 Mon Sep 17 00:00:00 2001 From: pemaghising Date: Fri, 18 Sep 2026 16:35:02 +0545 Subject: [PATCH 04/13] Open up the reason cards and drop the reserved title line Titles all hold one line now, so min-height:2em was only opening a gap above the copy. Balance the body text instead of protecting its last line, and give the cards more padding. --- src/index.css | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/index.css b/src/index.css index 6df70514..0e029cd0 100644 --- a/src/index.css +++ b/src/index.css @@ -1152,7 +1152,7 @@ h4 { margin-top: 24px; } .reason { - padding: 28px; + padding: 36px 32px 40px; border-left: 2px solid var(--carbon); } .reason:first-child { @@ -1176,18 +1176,20 @@ h4 { line-height: 1; letter-spacing: -0.02em; text-wrap: balance; - /* A one-line title still reserves two, so body copy starts on the same - line in every card. 2em == 2 lines exactly, because line-height is 1. - .reason only -- the .badge list is stacked, so there is nothing to line - it up with and the reserved line just opens a gap. */ - min-height: 2em; + /* No min-height reserving a second line: since the step down above, every + title holds one line, so the reserve was pure gap above the copy. The + titles line up because they are all one line now, not because a box is + padded out to two. */ /* Same line-height:1 story as .badge h3 -- no leading to inherit. */ - margin-bottom: 12px; + margin-bottom: 16px; } .reason p { font-size: 0.95rem; - line-height: 1.55; - text-wrap: pretty; + line-height: 1.6; + /* balance, not pretty: at three or four lines in a narrow column pretty + still left "community." alone on its own line. balance evens the whole + block instead of only protecting the last line. */ + text-wrap: balance; } .reason.hi { background: var(--surface); From efaf115398f6680e77c14078fb1f8891a3360574 Mon Sep 17 00:00:00 2001 From: pemaghising Date: Sun, 20 Sep 2026 23:21:45 +0545 Subject: [PATCH 05/13] Fix nav, reason card and recognition art behaviour between breakpoints Nav: the hamburger cutoff was measured against four links and the bar carries five, so the CTA hung past the right edge until ~1250. Raised to 1280. The open panel gets a full carbon box, a cast shadow and no duplicate divider under its top border. Reason cards: the title was sized in vw but the card's width comes from a 1.1fr column, so it fit at 16:9 and wrapped at 16:10. Sized off the container instead, with the row stacking below 745px of column width. Dividers move from border-left to a 2px gap so they survive that switch. Recognition: the art may no longer exceed its frame's width below 1280 -- at 1214 the 134% height made it ~110px wider than the frame on each side and the clip sheared both arms off. --- src/components/Beyond/index.js | 2 +- src/index.css | 71 ++++++++++++---------------------- 2 files changed, 25 insertions(+), 48 deletions(-) diff --git a/src/components/Beyond/index.js b/src/components/Beyond/index.js index e8eee0ea..2ab86d45 100644 --- a/src/components/Beyond/index.js +++ b/src/components/Beyond/index.js @@ -27,7 +27,7 @@ export default function Beyond() {
-
+

For years, Frogtoberfest was about making contributions. This year, it’s about creating something of your own. diff --git a/src/index.css b/src/index.css index 0e029cd0..a87391be 100644 --- a/src/index.css +++ b/src/index.css @@ -569,7 +569,7 @@ h4 { } } -@media (max-width: 1100px) { +@media (max-width: 1280px) { .nav-toggle { display: flex; } @@ -600,7 +600,8 @@ h4 { gap: 0; margin-left: 0; background: var(--surface); - border-bottom: 2px solid var(--carbon); + box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35); + border: 2px solid var(--carbon); max-height: 0; overflow: hidden; opacity: 0; @@ -633,15 +634,9 @@ h4 { padding: 14px 24px; border-top: 2px solid var(--surface-2); } - .nav-links a:hover { - border-color: var(--surface-2); - background: var(--surface-2); + .nav-links a:first-child { + border-top: 0; } - /* The shared .is-active border-bottom (cyan) sits flush against the - Register Now bar right below it in this stacked mobile layout, so - the two cyan lines visually merge into one. Swap to a left-side - square marker here instead -- same indicator language as .tag::before - elsewhere on the site, without the adjacent-line clash. */ .nav-links a.is-active { border-color: transparent; background: var(--surface-2); @@ -1145,18 +1140,26 @@ h4 { .beyond .tag-lg { margin-top: 48px; } +.beyond-copy { + container-type: inline-size; +} .reasons { display: grid; grid-template-columns: repeat(3, 1fr); + gap: 2px; + background: var(--carbon); border: 2px solid var(--carbon); margin-top: 24px; } .reason { padding: 36px 32px 40px; - border-left: 2px solid var(--carbon); + background: var(--paper); + container-type: inline-size; } -.reason:first-child { - border-left: 0; +@container (max-width: 745px) { + .reasons { + grid-template-columns: 1fr; + } } .reason .num { font-family: var(--font-mono); @@ -1167,28 +1170,16 @@ h4 { } .reason h3 { font-family: var(--font-heading); - /* Own step down from --card-title: at the shared size the longest title - ("Grow as a Builder") wrapped while its neighbours held one line, so the - row read ragged. ~20% smaller keeps all three on a single line from the - 3-up breakpoint upward. .badge keeps the shared size -- it is stacked, - so nothing there wraps against a neighbour. */ - font-size: clamp(1rem, 1.5vw, 1.45rem); + font-size: clamp(1rem, 7cqi, 1.45rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; - /* No min-height reserving a second line: since the step down above, every - title holds one line, so the reserve was pure gap above the copy. The - titles line up because they are all one line now, not because a box is - padded out to two. */ /* Same line-height:1 story as .badge h3 -- no leading to inherit. */ margin-bottom: 16px; } .reason p { font-size: 0.95rem; line-height: 1.6; - /* balance, not pretty: at three or four lines in a narrow column pretty - still left "community." alone on its own line. balance evens the whole - block instead of only protecting the last line. */ text-wrap: balance; } .reason.hi { @@ -1198,18 +1189,6 @@ h4 { .reason.hi .num { color: var(--cyan); } -@media (max-width: 700px) { - .reasons { - grid-template-columns: 1fr; - } - .reason { - border-left: 0; - border-top: 2px solid var(--carbon); - } - .reason:first-child { - border-top: 0; - } -} /* ========================================================================== Screen 04 — MISSION LOG TIMELINE @@ -1565,15 +1544,6 @@ h4 { min-height: 360px; clip-path: inset(-240px 0 0 0); } -/* Positioned out of flow so it doesn't contribute to .recognition-art's - own size (a height:100% child inside a flex/grid box that's ALSO - trying to auto-size off that child is circular, and falls back to the - image's raw pixel dimensions). Out of flow, height:100% instead - resolves cleanly against the grid-stretched (definite) parent height, - so the image's bottom always touches the box's bottom -- regardless - of which column is naturally taller. Sized slightly over 100% so the - fist/head bleed past the frame's top edge while the overall figure - stays the same size as before. */ .recognition-art img { position: absolute; bottom: 0; @@ -1583,6 +1553,13 @@ h4 { width: auto; max-width: none; } +@media (max-width: 1280px) { + .recognition-art img { + max-width: 100%; + object-fit: contain; + object-position: bottom center; + } +} /* ========================================================================== Screen 08 — REGISTRATION (pilot enrollment) From d4b95c3f83d6003a6e18a86d7a736ce2c956f2e4 Mon Sep 17 00:00:00 2001 From: pemaghising Date: Sun, 20 Sep 2026 23:40:56 +0545 Subject: [PATCH 06/13] Ship the devtools easter egg in production builds The art lived in an HTML comment, and CRA's build runs html-minifier with removeComments, so it was stripped from every deploy -- it only ever showed in the repo and on the dev server. An inert text/plain script keeps its raw contents through minification and, unlike a comment before the doctype, shows up in the Elements panel as well as view-source. Verified against a production build: build/index.html carries the art with its alignment intact. --- public/index.html | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/public/index.html b/public/index.html index 10b20af1..9753f4aa 100644 --- a/public/index.html +++ b/public/index.html @@ -115,5 +115,47 @@ fjs.parentNode.insertBefore(js, fjs); })(document, 'script', 'facebook-jssdk'); + From 27e4429cea5c4f31be86768bc9297c482a310019 Mon Sep 17 00:00:00 2001 From: pemaghising Date: Sun, 20 Sep 2026 23:42:23 +0545 Subject: [PATCH 07/13] Also print the easter egg to the console on load The text/plain block shows in view-source and the Elements tree, but devtools folds any multi-line text node, so it needs a click. A console banner needs none -- and the copy already talks about snooping around in the devtools. Both survive minification: a production build carries two copies. --- public/index.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/public/index.html b/public/index.html index 9753f4aa..e4fb450f 100644 --- a/public/index.html +++ b/public/index.html @@ -157,5 +157,51 @@ - the frogtoberfest team + From 0f0ffbc9c5ad9b5f8c54309602d58200477cdb9e Mon Sep 17 00:00:00 2001 From: pemaghising Date: Sun, 20 Sep 2026 23:42:56 +0545 Subject: [PATCH 08/13] Title-case the sign-off in the easter egg --- public/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index e4fb450f..d8d5b930 100644 --- a/public/index.html +++ b/public/index.html @@ -38,7 +38,7 @@ you're exactly who we're looking for. register now: https://frog.ly/frogtoberfest-2026 - - the frogtoberfest team + - The Frogtoberfest Team --> @@ -155,7 +155,7 @@ you're exactly who we're looking for. register now: https://frog.ly/frogtoberfest-2026 - - the frogtoberfest team + - The Frogtoberfest Team From ee37fb6bfb33ffc06116c95e3daa8f089b05e707 Mon Sep 17 00:00:00 2001 From: pemaghising Date: Sun, 20 Sep 2026 23:45:45 +0545 Subject: [PATCH 09/13] Drop the duplicate text/plain copy of the easter egg The console script's template literal is already plain text in the source, so view-source showed the art twice. The only thing the extra block added was an Elements node, which devtools folds anyway. --- public/index.html | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/public/index.html b/public/index.html index d8d5b930..15ca4be8 100644 --- a/public/index.html +++ b/public/index.html @@ -115,48 +115,6 @@ fjs.parentNode.insertBefore(js, fjs); })(document, 'script', 'facebook-jssdk'); -