From fa2f167de33b522e62a13b76756ef844bda0764d Mon Sep 17 00:00:00 2001 From: Facundo Bozzi Date: Wed, 9 Jul 2025 15:35:16 -0300 Subject: [PATCH 01/13] banner integration --- src/components/Global/Layout/index.tsx | 7 +++---- .../Global/MigrationBanner/index.tsx | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 src/components/Global/MigrationBanner/index.tsx diff --git a/src/components/Global/Layout/index.tsx b/src/components/Global/Layout/index.tsx index e2c31df9c..d8b24f5c4 100644 --- a/src/components/Global/Layout/index.tsx +++ b/src/components/Global/Layout/index.tsx @@ -1,8 +1,7 @@ 'use client' -import { Banner } from '@/components/Global/Banner' import Footer from '@/components/Global/Footer' -import Header from '@/components/Global/Header' +import { MigrationBanner } from '@/components/Global/MigrationBanner' import { useFooterVisibility } from '@/context/footerVisibility' import { Widget } from '@typeform/embed-react' import { Roboto_Flex } from 'next/font/google' @@ -43,8 +42,7 @@ const Layout = ({ children, className }: LayoutProps) => { `}
-
- +
{
+
+ +
+ WE'VE MIGRATED TO PEANUT.ME +
+
+ //
+ ) +} From 839e91e5a022d6a887a449a6ef5e32094b3b701f Mon Sep 17 00:00:00 2001 From: Facundo Bozzi Date: Wed, 9 Jul 2025 18:30:48 -0300 Subject: [PATCH 02/13] fixed mgiration banner --- src/components/Global/MigrationBanner/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Global/MigrationBanner/index.tsx b/src/components/Global/MigrationBanner/index.tsx index 80519f479..272037c3a 100644 --- a/src/components/Global/MigrationBanner/index.tsx +++ b/src/components/Global/MigrationBanner/index.tsx @@ -1,6 +1,7 @@ 'use client' import React from 'react' import { MarqueeWrapper } from '../MarqueeWrapper' +import { PEANUTMAN_CHEERING } from '@/assets' interface MigrationBannerProps { className?: string @@ -8,12 +9,11 @@ interface MigrationBannerProps { export function MigrationBanner({ className = '' }: MigrationBannerProps) { return ( - //
-
- WE'VE MIGRATED TO PEANUT.ME +
+ Migration Icon + WE'VE MIGRATED TO PEANUT.ME
- //
) } From e8cf6fee05b1b58abd4438bfe5739532e8d2a1e8 Mon Sep 17 00:00:00 2001 From: Facundo Bozzi Date: Wed, 9 Jul 2025 18:52:45 -0300 Subject: [PATCH 03/13] /pay new div cards --- src/components/Global/TryNow/index.tsx | 47 ++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/src/components/Global/TryNow/index.tsx b/src/components/Global/TryNow/index.tsx index 3a7afe2f5..4bd029c21 100644 --- a/src/components/Global/TryNow/index.tsx +++ b/src/components/Global/TryNow/index.tsx @@ -1,4 +1,12 @@ -import { ARROW_UP_CIRCLE, CASHOUT_ICON, Eyes, STAR_OUTLINE_ICON } from '@/assets' +import { + ARROW_UP_CIRCLE, + CASHOUT_ICON, + Eyes, + STAR_OUTLINE_ICON, + SMILEY_ICON, + TRIANGLE_ICON, + GITBOOK_ICON, +} from '@/assets' import { Card } from '@chakra-ui/react' import Image from 'next/image' import Link from 'next/link' @@ -32,6 +40,31 @@ const cards: ITryNowCard[] = [ icon: ARROW_UP_CIRCLE, href: '/send', }, + { + title: 'Raffle (legacy)', + description: 'Create crypto raffles and distribute tokens to winners', + icon: STAR_OUTLINE_ICON, + href: '/raffle/create', + }, + { + title: 'Batch Send (legacy)', + description: 'Send tokens to multiple recipients at once', + icon: SMILEY_ICON, + href: '/batch/create', + }, + { + title: 'Refund (legacy)', + description: 'Refund unclaimed peanut links back to sender', + icon: TRIANGLE_ICON, + href: '/refund', + }, + { + title: 'Docs (legacy)', + description: 'Learn about Peanut Protocol and its features', + icon: GITBOOK_ICON, + href: 'https://docs.peanut.to/', + isExternal: true, + }, ] const TryNow = () => { @@ -62,7 +95,11 @@ const TryNow = () => { index === 0 ? 'p-4' : 'p-2' )} > - {card.title} + {card.title}
{ index === 0 ? 'p-4' : 'p-2' )} > - {card.title} + {card.title}

{card.title}

From 53f9fa13f35f4ff8dc4f39e51e2dd9366b70d52d Mon Sep 17 00:00:00 2001 From: Facundo Bozzi Date: Wed, 9 Jul 2025 18:56:47 -0300 Subject: [PATCH 04/13] /pay pink background --- src/components/Global/Layout/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Global/Layout/index.tsx b/src/components/Global/Layout/index.tsx index d8b24f5c4..af5f4a2da 100644 --- a/src/components/Global/Layout/index.tsx +++ b/src/components/Global/Layout/index.tsx @@ -40,7 +40,7 @@ const Layout = ({ children, className }: LayoutProps) => { font-family: ${roboto.style.fontFamily}; } `} -
+
From 58ae0f2bae7fb445e79aec5cb0454e6feeaecb21 Mon Sep 17 00:00:00 2001 From: Facundo Bozzi Date: Wed, 9 Jul 2025 19:28:49 -0300 Subject: [PATCH 05/13] coderabbit suggestions --- src/components/Global/Layout/index.tsx | 4 ++-- src/components/Global/MigrationBanner/index.tsx | 2 +- src/components/Global/TryNow/index.tsx | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/Global/Layout/index.tsx b/src/components/Global/Layout/index.tsx index af5f4a2da..e76d3bb37 100644 --- a/src/components/Global/Layout/index.tsx +++ b/src/components/Global/Layout/index.tsx @@ -42,7 +42,7 @@ const Layout = ({ children, className }: LayoutProps) => { `}
- +
{
- +
-
+
Migration Icon WE'VE MIGRATED TO PEANUT.ME
diff --git a/src/components/Global/TryNow/index.tsx b/src/components/Global/TryNow/index.tsx index 4bd029c21..88dda2f61 100644 --- a/src/components/Global/TryNow/index.tsx +++ b/src/components/Global/TryNow/index.tsx @@ -18,6 +18,7 @@ interface ITryNowCard { icon: string href: string isExternal?: boolean + needsIconAdjustment?: boolean } const cards: ITryNowCard[] = [ @@ -64,6 +65,7 @@ const cards: ITryNowCard[] = [ icon: GITBOOK_ICON, href: 'https://docs.peanut.to/', isExternal: true, + needsIconAdjustment: true, }, ] @@ -98,7 +100,7 @@ const TryNow = () => { {card.title}
@@ -111,7 +113,7 @@ const TryNow = () => { {card.title}
From 11e41f90390cfabd637385d60bad9ea625638e12 Mon Sep 17 00:00:00 2001 From: Facundo Bozzi Date: Fri, 11 Jul 2025 12:56:28 -0300 Subject: [PATCH 06/13] animated thumbs up --- src/components/Global/MigrationBanner/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Global/MigrationBanner/index.tsx b/src/components/Global/MigrationBanner/index.tsx index 114928f28..1cc69716d 100644 --- a/src/components/Global/MigrationBanner/index.tsx +++ b/src/components/Global/MigrationBanner/index.tsx @@ -2,6 +2,7 @@ import React from 'react' import { MarqueeWrapper } from '../MarqueeWrapper' import { PEANUTMAN_CHEERING } from '@/assets' +import handThumbsUp from '@/assets/illustrations/hand-thumbs-up.svg' interface MigrationBannerProps { className?: string @@ -11,7 +12,7 @@ export function MigrationBanner({ className = '' }: MigrationBannerProps) { return (
- Migration Icon + Migration Icon WE'VE MIGRATED TO PEANUT.ME
From 008d9740d2198bdc26afa717824835bee1433afb Mon Sep 17 00:00:00 2001 From: Facundo Bozzi Date: Fri, 11 Jul 2025 19:55:08 -0300 Subject: [PATCH 07/13] added black gitbook icon --- src/assets/icons/gitbook-black.png | Bin 0 -> 3265 bytes src/assets/icons/index.ts | 1 + src/components/Global/TryNow/index.tsx | 7 ++++--- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 src/assets/icons/gitbook-black.png diff --git a/src/assets/icons/gitbook-black.png b/src/assets/icons/gitbook-black.png new file mode 100644 index 0000000000000000000000000000000000000000..416a92d1d258717ef399b5833222c03b3a89acaf GIT binary patch literal 3265 zcmV;y3_kOTP)-nZOAy<5FBl2lWm5H?ry|5yBY8a z82nhA?U;1{=i2I9)sl=Knz35ylGJkl&Vj=)FO5{He|1%LH-N|E@pwEQkH_Qjcsv?} z8%(FunfVsN3WVw>rC{;w34{UtwF7O~IvflJ&~R>~5zO7~bOF?J`e!%8%lm-%>Tqwc z1r6m!8G+%&zewaA)|+SyH^K ze+F!VY71JydJ~MH1r6md3!SCkm3mEAYl$9CfOT*YLRg)gnug;q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zy1+aDp^5?8fPEU8}ct4~aFQ3dG zZcqJ#iY5QzhhPz{`|V(Pe|PY2un2pr6QzDNxoPNF{)6LQpl7t0PX7|B`o%k~_UI1I zzogD+`cyf5gQSmP2s0Sy`bbw~ybrK$y%nuUBPs>tV~s%f^`CIwI|o9E8z<)`3Jq7S z>_SWN7hd-oqiO4@C`t?kudEw`18W(Gt~p@i_s3HRuH6Xh_-Odsh?vHR*+e;yKqg+Oa&Dq_{lIe&>;}YE zbpJA!R-4Ie1dLTf(0pGq#U^FO3({*1(G9a{^>?H!H)Lc4`oL@(g5;1=d~Tx5+{1WO z#=&?Otb%=Bx*y87*mTBbWPV9 z8bO}IlocaLkgNL1rJzR}gW!0dhJ4(L29}8nQ^xZTtQr9$nYcluT7E0okTC|}%w~sb z@k5@GC9zhcsO}dqSnEcRAhyIx1q(nIMRM+;jlz_e5hT>1F{CP_ZUoy2Dsdx7;6*6O zojh6-?PNSOsG-Ipp% zUHA^D5Yc!+cu$4|+a=xv$->l??}CbPb#9`l?h7TTMt&RA1gUs|S7xXB#!H(eYpJPo zx`@WEzvK~5ZHyp6G?!j5UXav%slrsI?}wTq8ZQ_cgIKZ$@~3+39z%_Z`W9f-dbyg3 zje*A8se3wU&HtT}Jg67s=z?|1)%~$Y0uCVENE)pJ00V_e-;JnnQEXmA4Ktli7(s%| z`zE5$+(R2UWdsSjkwuY2IARQS(EV{ZX#`BY<{FFw`>i&t#XGdr7H5qhp_azrK!x)> z&Kp63Sbo8Ps>l0zX^ashR1rLundg_FaYm3(hB3H)@e>+r1PN>msNfkToa{}MX~@M- zXuJ_5L@`6Sf`E_nSN-G~JF4Wy7{PhiAP~YOfZ(UG9)kCV3h2Uzuru)|*lxmIpT> {
Date: Mon, 14 Jul 2025 12:11:59 -0300 Subject: [PATCH 08/13] root layout fixed --- src/app/page.tsx | 7 ------- src/components/Global/Layout/index.tsx | 1 - src/components/LandingPage/hero.tsx | 7 ------- 3 files changed, 15 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index d0239e496..f5052e8ba 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -155,13 +155,6 @@ export default function LandingPage() { return ( - - - - -
- -
) } diff --git a/src/components/Global/Layout/index.tsx b/src/components/Global/Layout/index.tsx index e76d3bb37..5f687200b 100644 --- a/src/components/Global/Layout/index.tsx +++ b/src/components/Global/Layout/index.tsx @@ -53,7 +53,6 @@ const Layout = ({ children, className }: LayoutProps) => {
-
{ diff --git a/src/components/LandingPage/hero.tsx b/src/components/LandingPage/hero.tsx index dd24a1137..21210017a 100644 --- a/src/components/LandingPage/hero.tsx +++ b/src/components/LandingPage/hero.tsx @@ -2,7 +2,6 @@ import { AboutPeanut, ButterySmoothGlobalMoney, HandThumbsUp, PeanutGuyGIF, Spar import { Stack } from '@chakra-ui/react' import { motion } from 'framer-motion' import { useEffect, useState } from 'react' -import { MarqueeComp } from '../Global/MarqueeWrapper' import { CloudImages, HeroImages } from './imageAssets' type HeroProps = { @@ -65,12 +64,6 @@ export function Hero({ heading, marquee = { visible: false }, cta, buttonVisible
-
- {marquee && ( - - )} -
- {cta?.href && cta?.label && ( Date: Mon, 14 Jul 2025 13:19:09 -0300 Subject: [PATCH 09/13] small details --- src/components/Global/TryNow/index.tsx | 12 +----------- src/components/Welcome/welcomeSDK.tsx | 5 ++--- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/components/Global/TryNow/index.tsx b/src/components/Global/TryNow/index.tsx index a469c3f43..409b570dd 100644 --- a/src/components/Global/TryNow/index.tsx +++ b/src/components/Global/TryNow/index.tsx @@ -58,6 +58,7 @@ const cards: ITryNowCard[] = [ description: 'Refund unclaimed peanut links back to sender', icon: TRIANGLE_ICON, href: '/refund', + needsIconAdjustment: true, }, { title: 'Docs (legacy)', @@ -128,17 +129,6 @@ const TryNow = () => { ))}
-
- eyes - - What is Peanut Protocol? - -
) } diff --git a/src/components/Welcome/welcomeSDK.tsx b/src/components/Welcome/welcomeSDK.tsx index c5936b0db..6a6306b66 100644 --- a/src/components/Welcome/welcomeSDK.tsx +++ b/src/components/Welcome/welcomeSDK.tsx @@ -24,7 +24,6 @@ import { SBF_PERSON, SmileStars, PEANUTMAN_HAPPY, - REDPACKET_LOTTIE, TEAL_MOCKUP_1, DROPDOWN_ICON, } from '@/assets' @@ -178,7 +177,7 @@ const testimonials = [ const defaultLottieOptions = { loop: true, autoplay: true, - animationData: REDPACKET_LOTTIE, + animationData: '/lottie/redpacket-lottie.json', rendererSettings: { preserveAspectRatio: 'xMidYMid slice', }, @@ -333,7 +332,7 @@ export function WelcomeSDK() { target="_blank" >
- +
From 27190515c17caba6ec13006d62895a7234f53c3e Mon Sep 17 00:00:00 2001 From: facundobozzi <72771544+FacuBozzi@users.noreply.github.com> Date: Mon, 14 Jul 2025 22:45:26 +0000 Subject: [PATCH 10/13] CTA buttons done --- src/app/page.tsx | 18 +++++-- src/components/LandingPage/hero.tsx | 82 +++++++++++++++++------------ 2 files changed, 60 insertions(+), 40 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index f5052e8ba..828b88743 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -13,10 +13,18 @@ export default function LandingPage() { visible: true, message: 'Peanut', }, - cta: { - label: 'TRY NOW', - href: '/pay', - }, + ctas: [ + { + label: 'TRY NOW', + href: 'https://peanut.me', + primary: true, + }, + { + label: 'LEGACY', + href: '/pay', + primary: false, + }, + ], } const story = { marquee: { @@ -154,7 +162,7 @@ export default function LandingPage() { return ( - + ) } diff --git a/src/components/LandingPage/hero.tsx b/src/components/LandingPage/hero.tsx index 21210017a..96758dfe9 100644 --- a/src/components/LandingPage/hero.tsx +++ b/src/components/LandingPage/hero.tsx @@ -10,14 +10,15 @@ type HeroProps = { visible: boolean message?: string } - cta?: { + ctas?: Array<{ label: string href: string - } + primary: boolean + }> buttonVisible?: boolean } -export function Hero({ heading, marquee = { visible: false }, cta, buttonVisible }: HeroProps) { +export function Hero({ heading, marquee = { visible: false }, ctas, buttonVisible }: HeroProps) { const [duration, setDuration] = useState(10) const [screenWidth, setScreenWidth] = useState(typeof window !== 'undefined' ? window.innerWidth : 1200) // Added typeof check for SSR @@ -64,39 +65,50 @@ export function Hero({ heading, marquee = { visible: false }, cta, buttonVisible
- {cta?.href && cta?.label && ( - - Sparkle + {ctas && ctas.length > 0 && ( +
+ {ctas.map((cta, index) => ( + + {cta.primary && ( + Sparkle + )} - - {cta.label} - - + + {cta.label} + + + ))} +
)}
) From f96a791a9cd2ee2b61adf5b59b7abddc24bdf9f8 Mon Sep 17 00:00:00 2001 From: facundobozzi <72771544+FacuBozzi@users.noreply.github.com> Date: Mon, 14 Jul 2025 22:50:50 +0000 Subject: [PATCH 11/13] clickable migration banner --- src/components/Global/MigrationBanner/index.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/Global/MigrationBanner/index.tsx b/src/components/Global/MigrationBanner/index.tsx index 1cc69716d..7dfb17043 100644 --- a/src/components/Global/MigrationBanner/index.tsx +++ b/src/components/Global/MigrationBanner/index.tsx @@ -10,11 +10,13 @@ interface MigrationBannerProps { export function MigrationBanner({ className = '' }: MigrationBannerProps) { return ( - -
- Migration Icon - WE'VE MIGRATED TO PEANUT.ME -
-
+ + +
+ Migration Icon + WE'VE MIGRATED TO PEANUT.ME +
+
+
) } From 891fdee47d8a3c82e77fa56926cf67c883998ae6 Mon Sep 17 00:00:00 2001 From: facundobozzi <72771544+FacuBozzi@users.noreply.github.com> Date: Mon, 14 Jul 2025 22:52:51 +0000 Subject: [PATCH 12/13] formatting --- src/components/Global/MigrationBanner/index.tsx | 2 +- src/components/LandingPage/hero.tsx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/Global/MigrationBanner/index.tsx b/src/components/Global/MigrationBanner/index.tsx index 7dfb17043..52c666280 100644 --- a/src/components/Global/MigrationBanner/index.tsx +++ b/src/components/Global/MigrationBanner/index.tsx @@ -10,7 +10,7 @@ interface MigrationBannerProps { export function MigrationBanner({ className = '' }: MigrationBannerProps) { return ( - +
Migration Icon diff --git a/src/components/LandingPage/hero.tsx b/src/components/LandingPage/hero.tsx index 96758dfe9..47f5b9d79 100644 --- a/src/components/LandingPage/hero.tsx +++ b/src/components/LandingPage/hero.tsx @@ -98,10 +98,12 @@ export function Hero({ heading, marquee = { visible: false }, ctas, buttonVisibl /> )} - {cta.label} From d95132fc04b077e858e5ea95b23419b09bfba923 Mon Sep 17 00:00:00 2001 From: Hugo Montenegro Date: Tue, 15 Jul 2025 11:24:54 +0100 Subject: [PATCH 13/13] hotfix --- src/components/Global/TryNow/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Global/TryNow/index.tsx b/src/components/Global/TryNow/index.tsx index 409b570dd..b5731bb93 100644 --- a/src/components/Global/TryNow/index.tsx +++ b/src/components/Global/TryNow/index.tsx @@ -8,14 +8,14 @@ import { GITBOOK_BLACK_ICON, } from '@/assets' import { Card } from '@chakra-ui/react' -import Image from 'next/image' +import Image, { StaticImageData } from 'next/image' import Link from 'next/link' import { twMerge } from 'tailwind-merge' interface ITryNowCard { title: string description: string - icon: string + icon: StaticImageData | string href: string isExternal?: boolean needsIconAdjustment?: boolean