Skip to content

Commit

Permalink
Remove homepage and re-order navigation tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
leanazulyoro committed Apr 4, 2024
1 parent ed28746 commit 5a371a6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 89 deletions.
62 changes: 0 additions & 62 deletions site/components/Utilities.js

This file was deleted.

20 changes: 10 additions & 10 deletions site/components/UtilitiesTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,30 @@ function UtilitiesTabs() {
label: t('token-approvals'),
selected: pathname === '/token-approvals'
},
{
href: '/wrap-eth',
label: t('wrap-unwrap'),
selected: pathname === '/wrap-eth'
},
{
href: '/token-revokes',
label: t('token-revokes'),
selected: pathname === '/token-revokes'
},
{
href: '/dp-auctions',
label: t('dp-auctions'),
selected: pathname === '/dp-auctions'
},
{
href: '/payment-streams',
label: t('payment-streams'),
selected: pathname === '/payment-streams'
},
{
href: '/wrap-eth',
label: t('wrap-unwrap'),
selected: pathname === '/wrap-eth'
},
{
href: '/sign-message',
label: t('sign-message'),
selected: pathname === '/sign-message'
},
{
href: '/dp-auctions',
label: t('dp-auctions'),
selected: pathname === '/dp-auctions'
}
]}
/>
Expand Down
14 changes: 0 additions & 14 deletions site/pages/[locale]/index.js

This file was deleted.

5 changes: 2 additions & 3 deletions site/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { useRedirectToDefaultLocale } from '../hooks/useRedirectToDefaultLocale'
import { defaultLocale, locales } from '../navigation'

const HomePage = () => {
function HomePage() {
useRedirectToDefaultLocale({
defaultLocale,
locales,
redirectPage: '/'
redirectPage: '/merkle-claims'
})

return null
}

Expand Down

0 comments on commit 5a371a6

Please sign in to comment.