From 326d03275b5bd6770b68361e249cdd13a449b299 Mon Sep 17 00:00:00 2001 From: ingawei Date: Fri, 18 Oct 2024 12:54:09 -0700 Subject: [PATCH] kohrs stuff --- web/pages/kohrs.tsx | 154 ++++++++++++++++++++++++++++++++++++ web/public/kohrs/kohrs.jpeg | Bin 0 -> 5448 bytes 2 files changed, 154 insertions(+) create mode 100644 web/pages/kohrs.tsx create mode 100644 web/public/kohrs/kohrs.jpeg diff --git a/web/pages/kohrs.tsx b/web/pages/kohrs.tsx new file mode 100644 index 0000000000..ba40724c0f --- /dev/null +++ b/web/pages/kohrs.tsx @@ -0,0 +1,154 @@ +import { USElectionsPage } from 'web/components/elections-page' +import { Col } from 'web/components/layout/col' +import { Page } from 'web/components/layout/page' +import { SEO } from 'web/components/SEO' +import { getElectionsPageProps } from 'web/lib/politics/home' +import { ElectionsPageProps } from 'web/public/data/elections-data' +import Image from 'next/image' +import { formatMoneyUSD } from 'common/util/format' +import { CoinNumber } from 'web/components/widgets/coin-number' +import { Row } from 'web/components/layout/row' +import { buttonClass } from 'web/components/buttons/button' +import clsx from 'clsx' +import Link from 'next/link' +import SquiggleVertical from 'web/lib/icons/squiggle-vertical.svg' +import { useIsMobile } from 'web/hooks/use-is-mobile' +import Custom404 from './404' +import { ENV } from 'common/envs/constants' +import { useTracking } from 'web/hooks/use-tracking' + +const revalidate = 60 + +export async function getStaticProps() { + if (ENV === 'DEV') { + return { + props: {}, + revalidate, + } + } + + const electionsPageProps = await getElectionsPageProps() + return { + props: electionsPageProps, + revalidate, + } +} + +export default function Pakman(props: ElectionsPageProps) { + useTracking('pakman page view') + + if (Object.keys(props).length === 0) { + return + } + + return ( + + + + + + + ) +} + +export function PromotionalPanel(props: { + darkModeImg: string + lightModeImg: string + welcomerName: string +}) { + const { darkModeImg, lightModeImg, welcomerName } = props + const isMobile = useIsMobile() + return ( +
+ + Pakman Show Logo + + +
+ + {!isMobile && ( +
+ +
+ )} + +
+ Welcome, from {welcomerName} +
+ +
+ Register today and get a limited time offer in store! +
+ + +
+
+ {' '} +
+ for only {formatMoneyUSD(20)} +
+
+
+ {' '} + → {formatMoneyUSD(1)} USD +
+ +
+ + Register today! + +
+ Register today! +
+
+ + +
+ ) +} diff --git a/web/public/kohrs/kohrs.jpeg b/web/public/kohrs/kohrs.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..23c09df8ddbe99a602969c7802aeed374aa23bf1 GIT binary patch literal 5448 zcmb7HcTf|~woXC|pkS!dJJONfr6?f@21w{2y-3G|B1I68-lT*YK#^uBN-qK`5tieKYTO-~H!(yF0TpXV16a?(CjDdp2{n1h|BN!l3{l5C8!FEr7Fm zz;yr!2t2R<0tFStIjAWqDX3_uX=u(Hn3kRv45kCq(9m6^qocp@7c{gCj2AC3ocGU3 z&fU+w{?-d%8u0mu{~yj?10Y~PE+Cfz2myc~Kne)(j0oU87fAy=*ZV&JQBYD*)6jx} zbbsxdmjFP}U!~L()YL$#^C3VG1%Q$YLQTUYz$~W=rWHgvMYG6b=vaj^OB>jP_0ZTJ zk?YPePnQ3BbN%H7QT%W6bN6%lzs9S7WdJEae~Bpo6#qT>xe+2DN5!Pe{FgTKE44f( zy0nKyuR&;h`D_kwf#NS6gaQK42K+h$yaodS{FH#GOCW&Gf9#$x!JC2Bh~9~o=@cw> zbVMv*3?KX3Sl|mQZk1=&jaDl&vTChFh;WH36K2yPV$9Ec(%ZeD1~EqNL zZt(Q7c$reYiucXfAyeU2lRw-z#T&3rjx5ZpH≦K@IaFvKmI+37|}!qKGymX*G!y z$0!$>S!bJsdT56nx~JTgn|Qc){fDZ{i2WJhS5p>CKQcMV;ZoU57_{goQM+1YxkoZc z<+nzMB=dOX8&{0Eyr(CHT}2TTH=p@R;S4bI=4WBvO^&jj>OOa*_I+%m>ko;Q&sTCM z)r+-R+SdjybgexR8OmzR9PyL##e9Nrt*tLgUgHzS8;EPb+Oq9h{cr*F~9k&vkHRGVzlXQFOr+UfkrzRBN@?aY;xIu1a1~? zu5(yk5)n5YG~RP5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