File tree Expand file tree Collapse file tree
src/marketing/app/_components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ const footerLinkClassName =
2020const CONTACT_URL = 'https://tempo.xyz/contact'
2121const GITHUB_URL = 'https://github.com/tempoxyz'
2222const X_URL = 'https://twitter.com/tempo'
23+ const TEMPO_DOCS_URL = 'https://docs.tempo.xyz/docs'
2324
2425function 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 ] ,
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ import {
2525import SearchDialog from './SearchDialog'
2626import TempoLogo from './TempoLogo'
2727
28+ const TEMPO_DOCS_URL = 'https://docs.tempo.xyz/docs'
29+
2830const 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.
You can’t perform that action at this time.
0 commit comments