@@ -7,6 +7,7 @@ import { useNotifications } from './useNotifications'
77import { useRouter } from 'next/navigation'
88import useKycStatus from './useKycStatus'
99import type { StaticImageData } from 'next/image'
10+ import { PIX } from '@/assets'
1011
1112export type CarouselCTA = {
1213 id : string
@@ -19,6 +20,7 @@ export type CarouselCTA = {
1920 onClose ?: ( ) => void
2021 isPermissionDenied ?: boolean
2122 iconContainerClassName ?: string
23+ secondaryIcon ?: StaticImageData | string
2224}
2325
2426export const useHomeCarouselCTAs = ( ) => {
@@ -32,6 +34,19 @@ export const useHomeCarouselCTAs = () => {
3234 const generateCarouselCTAs = useCallback ( ( ) => {
3335 const _carouselCTAs : CarouselCTA [ ] = [ ]
3436
37+ _carouselCTAs . push ( {
38+ id : 'merchant-map-pix' ,
39+ title : '20% Off with PIX Payments' ,
40+ description : 'Click to explore participating merchants. Pay with PIX QR, save instantly, earn points.' ,
41+ iconContainerClassName : 'bg-secondary-1' ,
42+ icon : 'shield' ,
43+ onClick : ( ) => {
44+ router . push ( 'https://peanutprotocol.notion.site/Peanut-Foodie-Guide-29a83811757980e79896f2a610d6591a' )
45+ } ,
46+ logo : PIX ,
47+ secondaryIcon : 'https://flagcdn.com/w320/br.png' ,
48+ } )
49+
3550 // add notification prompt as first item if it should be shown
3651 if ( showReminderBanner ) {
3752 _carouselCTAs . push ( {
0 commit comments