Skip to content

Commit e7ef81d

Browse files
authored
Update docs landing links (#599)
1 parent 2a51708 commit e7ef81d

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/marketing/app/_components/Footer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const footerLinkClassName =
2020
const CONTACT_URL = 'https://tempo.xyz/contact'
2121
const GITHUB_URL = 'https://github.com/tempoxyz'
2222
const X_URL = 'https://twitter.com/tempo'
23+
const TEMPO_DOCS_URL = 'https://docs.tempo.xyz/docs'
2324

2425
function FooterLinkItem({ link }: { link: FooterLink }) {
2526
return link.href.startsWith('/') ? (
@@ -44,7 +45,7 @@ const columns: FooterColumn[] = [
4445
{
4546
header: 'Documentation',
4647
links: [
47-
{ label: 'Docs', href: '/docs' },
48+
{ label: 'Docs', href: TEMPO_DOCS_URL },
4849
{ label: 'Payments guide', href: '/docs/guide/payments' },
4950
{ label: 'Token issuance', href: '/docs/guide/issuance' },
5051
],

src/marketing/app/_components/Header.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import {
2525
import SearchDialog from './SearchDialog'
2626
import TempoLogo from './TempoLogo'
2727

28+
const TEMPO_DOCS_URL = 'https://docs.tempo.xyz/docs'
29+
2830
const protocolMenu: MegaMenuData = {
2931
variant: 'vertical',
3032
columns: [
@@ -61,7 +63,7 @@ const developersMenu: MegaMenuData = {
6163
{
6264
label: 'Docs',
6365
desc: 'Guides, references & quickstart',
64-
href: '/docs',
66+
href: TEMPO_DOCS_URL,
6567
icon: <DocsIcon />,
6668
},
6769
],
@@ -171,7 +173,7 @@ const menu: MenuItem[] = [
171173
{ label: 'Resources', href: '/docs', mega: developersMenu },
172174
{ label: 'Performance', href: '/performance' },
173175
{ label: 'Blog', href: '/blog' },
174-
{ label: 'Docs', href: '/docs' },
176+
{ label: 'Docs', href: TEMPO_DOCS_URL },
175177
]
176178

177179
// Flatten a mega menu into its leaf links for the mobile accordion.

0 commit comments

Comments
 (0)