Skip to content

Commit

Permalink
update id for gtm
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Apr 12, 2024
1 parent 51dea1c commit fe55052
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions app/(private)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export default function Layout({ children }: { children: ReactNode }) {
<div className='flex md:flex-col gap-4 items-center justify-center md:justify-normal'>
<div
className='cursor-pointer'
id='screen_forge'
onClick={() => {
router.push('/')
}}>
Expand All @@ -54,11 +53,15 @@ export default function Layout({ children }: { children: ReactNode }) {
</div>
</div>
<Image src={ForgeActive} alt='' className={`hidden w-[157px] ${pathname == '/' ? 'md:block' : ''}`} />
<Image src={ForgeInactive} alt='' className={` hidden w-[112px] ${pathname != '/' ? 'md:block' : ''}`} />
<Image
src={ForgeInactive}
id='screen_forge'
alt=''
className={` hidden w-[112px] ${pathname != '/' ? 'md:block' : ''}`}
/>
</div>
<div
className='cursor-pointer'
id='screen_redeem'
onClick={() => {
router.push('/redeem')
}}>
Expand All @@ -71,20 +74,16 @@ export default function Layout({ children }: { children: ReactNode }) {
<div className='capitalize'>redeem</div>
</div>
</div>
<Image
src={RedeemActive}
alt=''
className={` hidden w-[157px] ${pathname == '/redeem' ? 'md:block' : ''}`}
/>{' '}
<Image src={RedeemActive} alt='' className={` hidden w-[157px] ${pathname == '/redeem' ? 'md:block' : ''}`} />{' '}
<Image
src={RedeemInactive}
alt=''
id='screen_redeem'
className={` hidden w-[112px] ${pathname != '/redeem' ? 'md:block' : ''}`}
/>
</div>
<div
className='cursor-pointer'
id='screen_quests'
onClick={() => {
router.push('/quests')
}}>
Expand All @@ -100,6 +99,7 @@ export default function Layout({ children }: { children: ReactNode }) {
<Image src={QuestActive} alt='' className={` hidden w-[157px] ${pathname == '/quests' ? 'md:block' : ''}`} />{' '}
<Image
src={QuestInactive}
id='screen_quests'
alt=''
className={` hidden w-[112px] ${pathname != '/quests' ? 'md:block' : ''}`}
/>
Expand Down
8 changes: 4 additions & 4 deletions app/(public)/connect/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ ${Date.now()}`
</span>
{shorten(address, 5, 5)}
</div>
<FilledButton className='mt-6' onClick={() => router.push('/')}>
<FilledButton className='mt-6' onClick={() => router.push('/')} id="continue" >
Continue
</FilledButton>
</>
Expand All @@ -140,7 +140,7 @@ ${Date.now()}`
</span>
{shorten(address)}
</div>
<FilledButton className='mt-6' onClick={() => disconnect()}>
<FilledButton className='mt-6' onClick={() => disconnect()} id="disconnect_wallet">
Disconnect
</FilledButton>
<div className='mt-6 italic text-sm text-[#FEA768]'>
Expand All @@ -151,7 +151,7 @@ ${Date.now()}`
)
) : (
<>
<FilledButton className='mt-16' onClick={() => connect()}>
<FilledButton className='mt-16' onClick={() => connect()} id="connect_wallet">
Connect Wallet
</FilledButton>
<div className='mt-6 italic text-sm text-[#FEA768]'>
Expand All @@ -162,7 +162,7 @@ ${Date.now()}`
)
) : (
<>
<FilledButton className='mt-16' onClick={() => connect()}>
<FilledButton className='mt-16' onClick={() => connect()} id="connect_wallet">
Connect Wallet
</FilledButton>
<div className='mt-6 italic text-sm text-[#FEA768]'>
Expand Down

0 comments on commit fe55052

Please sign in to comment.