Skip to content
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
6 changes: 3 additions & 3 deletions src/components/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ const Links = () => {
const { t } = useTranslation();

const links = [
{ title: t('components.navbar.sellCrypto'), href: '/' },
{ title: t('components.navbar.howItWorks'), href: 'https://www.vortexfinance.co/#lowest-code' },
{ title: t('components.navbar.community'), href: 'https://www.vortexfinance.co/#call-to-action' },
{ title: t('components.navbar.support'), href: 'https://pendulum.gitbook.io/vortex/support-and-contact' },
{ title: t('components.navbar.docs'), href: 'https://pendulum.gitbook.io/vortex' },
{ title: t('components.navbar.faq'), href: 'https://app.vortexfinance.co/#faq' },
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the expected behavior for clicking on the FAQ link? Do you want it to scroll down on the same page or open a new page?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scroll down to the same page to the faq section

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't work in that case then. For one, you are always putting the production address so on deploy previews etc. it will always open a new page. If you feel like it, feel free to try troubleshooting it yourself with AI. Otherwise one of the @pendulum-chain/devs needs to add that before we can merge.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok let me give a try

];

return (
Expand Down
6 changes: 3 additions & 3 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@
"signatures": "Signatures"
},
"navbar": {
"sellCrypto": "Sell Crypto",
"howItWorks": "How it works",
"community": "Community"
"support": "Support",
"docs": "Docs",
"faq": "FAQ"
},
"swap": {
"sellCrypto": "Sell",
Expand Down
6 changes: 3 additions & 3 deletions src/translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@
"signatures": "Assinaturas"
},
"navbar": {
"sellCrypto": "Vender Cripto",
"howItWorks": "Como funciona",
"community": "Comunidade"
"support": "Suporte",
"docs": "Docs",
"faq": "FAQ"
},
"swap": {
"sellCrypto": "Vender Cripto",
Expand Down