Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[do not merge - for after beacon upgrade] Remove countdown page #2230

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,16 +160,14 @@ export function PopoverPanelContainer({
}

function TopBarButtons() {
const topBarNavLinks = Object.entries(NAVIGATION)
.filter(([key, value]) => value.path !== NAVIGATION.Countdown.path)
.map(([key, value]) => (
<TopBarNavLink
key={key}
to={value.path}
labelText={value.text}
match={value.match}
/>
))
const topBarNavLinks = Object.entries(NAVIGATION).map(([key, value]) => (
<TopBarNavLink
key={key}
to={value.path}
labelText={value.text}
match={value.match}
/>
))

return <>{topBarNavLinks}</>
}
Expand Down Expand Up @@ -225,16 +223,14 @@ function SocialButtons() {
}

function MobileBarButtons() {
const mobileBarItems = Object.entries(NAVIGATION)
.filter(([key, value]) => value.path !== NAVIGATION.Countdown.path)
.map(([key, value]) => (
<MobileBarItem
key={key}
to={value.path}
labelText={value.text}
match={value.match}
/>
))
const mobileBarItems = Object.entries(NAVIGATION).map(([key, value]) => (
<MobileBarItem
key={key}
to={value.path}
labelText={value.text}
match={value.match}
/>
))

return <>{mobileBarItems}</>
}
Expand Down
6 changes: 0 additions & 6 deletions packages/synapse-interface/constants/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
BRIDGE_PATH,
INTERCHAIN_LINK,
SOLANA_BRIDGE_LINK,
COUNTDOWN_PATH,
} from './urls'

export interface RouteObject {
Expand Down Expand Up @@ -64,9 +63,4 @@ export const NAVIGATION: RouteObject = {
text: 'Solana Bridge',
match: null,
},
Countdown: {
path: COUNTDOWN_PATH,
text: 'Countdown',
match: COUNTDOWN_PATH,
},
}
1 change: 0 additions & 1 deletion packages/synapse-interface/constants/urls/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const STAKE_PATH = '/stake'
export const POOLS_PATH = '/pools'
export const POOL_PATH = '/pool'
export const LANDING_PATH = '/landing'
export const COUNTDOWN_PATH = '/4844'

/** External Links */
export const EXPLORER_KAPPA = 'https://explorer.synapseprotocol.com/tx/'
Expand Down
Loading