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

Nav update #3480

Merged
merged 2 commits into from
Dec 30, 2024
Merged
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 @@ -59,10 +59,10 @@ export function LandingPageWrapper({ children }: { children: any }) {
style={TODO_REMOVE_wrapperStyle}
>
<AnnouncementBanner
bannerId="2024-12-11-hyperliquid"
bannerContent="Synapse now supports Hyperliquid. Bridge and deposit to your Hyperliquid account now!"
startDate={new Date('2024-12-11T18:45:09+00:00')}
endDate={new Date('2025-01-10T18:45:09+00:00')}
bannerId="2024-12-18-cortex-staking"
bannerContent="Stake your SYN to receive CX (Cortex Protocol) tokens!"
startDate={new Date('2024-12-17T18:45:09+00:00')}
endDate={new Date('2025-01-25T18:45:09+00:00')}
/>
<MaintenanceBanners />
<LandingNav />
Expand Down
6 changes: 6 additions & 0 deletions packages/synapse-interface/constants/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
BRIDGE_PATH,
SOLANA_BRIDGE_LINK,
SYN_TOKEN_LINK,
STAKE_SYN_FOR_CX_URL,
} from './urls'

export interface RouteObject {
Expand Down Expand Up @@ -63,4 +64,9 @@ export const NAVIGATION: RouteObject = {
text: 'Solana Bridge',
match: null,
},
Cortex: {
path: STAKE_SYN_FOR_CX_URL,
text: 'Stake SYN for CX',
match: null,
},
}
1 change: 1 addition & 0 deletions packages/synapse-interface/constants/urls/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const PRIVACY_POLICY_PATH =
'https://explorer.synapseprotocol.com/privacy'
export const SYNAPSE_PFP_PATH = '/returntomonke'
export const JOBS_URL = 'https://jobs.ashbyhq.com/Synapse%20Labs'
export const STAKE_SYN_FOR_CX_URL = 'https://cortexprotocol.com/stake'

/** Synapse Social Links */
export const DISCORD_URL = 'https://discord.gg/synapseprotocol'
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@
"Stake": "الرهن",
"Explorer": "المستكشف",
"Interchain Network": "شبكة بين السلاسل",
"Stake SYN for CX": "$SYN الرهن",
"Solana Bridge": "جسر سولانا",
"Careers": "الوظائف",
"Documentation": "التوثيق",
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@
"Stake": "Stake",
"Explorer": "Explorer",
"Interchain Network": "Interchain Network",
"Stake SYN for CX": "Stake SYN for CX",
"Solana Bridge": "Solana Bridge",
"Careers": "Careers",
"Documentation": "Documentation",
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@
"Stake": "Apostar",
"Explorer": "Explorador",
"Interchain Network": "Red Intercadenas",
"Stake SYN for CX": "SYN -> CX",
"Solana Bridge": "Puente Solana",
"Careers": "Carreras",
"Documentation": "Documentación",
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@
"Stake": "Staker",
"Explorer": "Explorateur",
"Interchain Network": "Réseau Interchain",
"Stake SYN for CX": "SYN -> CX",
"Solana Bridge": "Bridge Solana",
"Careers": "Carrières",
"Documentation": "Documentation",
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@
"Stake": "ステーク",
"Explorer": "エクスプローラー",
"Interchain Network": "インターチェーンネットワーク",
"Stake SYN for CX": "SYN -> CX",
"Solana Bridge": "Solanaブリッジ",
"Careers": "採用情報",
"Documentation": "ドキュメンテーション",
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@
"Stake": "Stake Et",
"Explorer": "Gezgin",
"Interchain Network": "Zincirler Arası Ağ",
"Stake SYN for CX": "SYN -> CX",
"Solana Bridge": "Solana Köprüsü",
"Careers": "Kariyer",
"Documentation": "Dokümantasyon",
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@
"Stake": "质押",
"Explorer": "浏览器",
"Interchain Network": "跨链网络",
"Stake SYN for CX": "SYN -> CX",
"Solana Bridge": "Solana桥接",
"Careers": "招聘",
"Documentation": "文档",
Expand Down
Loading