diff --git a/.prettierignore b/.prettierignore index cf17c2fdac..ad8cbf1437 100644 --- a/.prettierignore +++ b/.prettierignore @@ -16,3 +16,6 @@ src/components/TransactionDetails/__tests__/fixtures/render-baseline.json # prettier touch them creates pointless diff churn on every regen. src/types/api.openapi.json src/types/api.generated.ts + +# static single-file quiz (hand-tuned inline CSS/JS; not prettier-formatted) +public/onboarding-quiz/ diff --git a/public/onboarding-quiz/index.html b/public/onboarding-quiz/index.html new file mode 100644 index 0000000000..6d75f0ede5 --- /dev/null +++ b/public/onboarding-quiz/index.html @@ -0,0 +1,635 @@ + + + + + +♡ PEANUT WELCOME CLUB ♡ — onboarding quiz + + + + + + +
☆ NEW HIRE ALERT ☆
+
♡ BE NICE OR ELSE ♡
+ +
+ ☆*:.。. o(≧▽≦)o .。.:*☆ PEANUT WELCOME CLUB ☆*:.。. o(≧▽≦)o .。.:*☆ WELCOME HOME ANON ♡ 100% WHOLESOME ✧ 0% CORPORATE (ironic) ✧ THE HANDBOOK LOVES YOU ✧ UR HIRED ✧ UR VALID ✧  + ☆*:.。. o(≧▽≦)o .。.:*☆ PEANUT WELCOME CLUB ☆*:.。. o(≧▽≦)o .。.:*☆ WELCOME HOME ANON ♡ 100% WHOLESOME ✧ 0% CORPORATE (ironic) ✧ THE HANDBOOK LOVES YOU ✧ UR HIRED ✧ UR VALID ✧  +
+ +
+

PEANUT WELCOME CLUB

+
☆*: .。. o(≧▽≦)o .。.:*☆  onboarding quiz  (❁´◡`❁)
+ + + + +
+
+
+
+ +
+ + + + + + + + +
+ +
+ ٩(◕‿◕)۶ HANDBOOK TL;DR ✧ CLOSE UR THREADS ✧ SILENT REPLY = SHIFT+REPLY ✧ DONE MEANS DONE ✧ LOUD-FAIL, NEVER SILENT-FAIL ✧ FULL LEAVE > HALF LEAVE ✧ WE LOVE U ♡  + ٩(◕‿◕)۶ HANDBOOK TL;DR ✧ CLOSE UR THREADS ✧ SILENT REPLY = SHIFT+REPLY ✧ DONE MEANS DONE ✧ LOUD-FAIL, NEVER SILENT-FAIL ✧ FULL LEAVE > HALF LEAVE ✧ WE LOVE U ♡  +
+ + + + diff --git a/src/app/(mobile-ui)/dev/page.tsx b/src/app/(mobile-ui)/dev/page.tsx index 640a25356e..4afde58e0d 100644 --- a/src/app/(mobile-ui)/dev/page.tsx +++ b/src/app/(mobile-ui)/dev/page.tsx @@ -6,7 +6,8 @@ import Link from 'next/link' import { Icon, type IconName } from '@/components/Global/Icons/Icon' export default function DevToolsPage() { - const tools: { name: string; description: string; path: string; icon: IconName }[] = [ + // static: true → plain (file in public/, not an app route — Next Link can't client-navigate to it) + const tools: { name: string; description: string; path: string; icon: IconName; static?: boolean }[] = [ { name: 'Points Leaderboard', description: 'Real-time leaderboard with customizable time filters for event competitions', @@ -39,6 +40,14 @@ export default function DevToolsPage() { path: '/dev/debug', icon: 'dollar', }, + { + name: 'Peanut Welcome Club', + description: + 'Onboarding quiz: the Welcome-@anon handbook pitfalls (comms, tasks, security, invoicing) as an ironically kawaii quiz. Single static HTML in public/ — zero build impact.', + path: '/onboarding-quiz/index.html', + icon: 'trophy', + static: true, + }, { name: 'Home CTAs', description: @@ -60,24 +69,27 @@ export default function DevToolsPage() {

- {tools.map((tool) => ( - - -
-
-
- -
-
-

{tool.name}

-

{tool.description}

+ {tools.map((tool) => { + const LinkComponent = tool.static ? 'a' : Link + return ( + + +
+
+
+ +
+
+

{tool.name}

+

{tool.description}

+
+
- -
- - - ))} + + + ) + })}