Skip to content

Commit 7dbe7f6

Browse files
frano-mFran McDade
andauthored
fix: invalid anvil catalog config links (#886) (#3605)
Co-authored-by: Fran McDade <[email protected]>
1 parent 8b4a0f6 commit 7dbe7f6

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

explorer/site-config/anvil-catalog/dev/config.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ const config: SiteConfig = {
110110
navLinks: [
111111
{
112112
label: "Help",
113-
url: `${BROWSER_URL}/help`,
113+
url: `${BROWSER_URL}help`,
114114
},
115115
{
116116
label: "Privacy",
117-
url: `${BROWSER_URL}/privacy`,
117+
url: `${BROWSER_URL}privacy`,
118118
},
119119
],
120120
socials,
@@ -126,49 +126,49 @@ const config: SiteConfig = {
126126
navLinks: [
127127
{
128128
label: "Overview",
129-
url: `${BROWSER_URL}/overview`,
129+
url: `${BROWSER_URL}overview`,
130130
},
131131
{
132132
label: "Learn",
133-
url: `${BROWSER_URL}/learn`,
133+
url: `${BROWSER_URL}learn`,
134134
},
135135
{
136136
label: "Datasets",
137137
url: `/`,
138138
},
139139
{
140140
label: "Consortia",
141-
url: `${BROWSER_URL}/consortia`,
141+
url: `${BROWSER_URL}consortia`,
142142
},
143143
{
144144
label: "News",
145-
url: `${BROWSER_URL}/news`,
145+
url: `${BROWSER_URL}news`,
146146
},
147147
{
148148
label: "Events",
149-
url: `${BROWSER_URL}/events`,
149+
url: `${BROWSER_URL}events`,
150150
},
151151
{
152152
label: "More",
153153
menuItems: [
154154
{
155155
label: "Team",
156-
url: `${BROWSER_URL}/team`,
156+
url: `${BROWSER_URL}team`,
157157
},
158158
{
159159
label: "FAQ",
160-
url: `${BROWSER_URL}/faq`,
160+
url: `${BROWSER_URL}faq`,
161161
},
162162
{
163163
label: "Help",
164-
url: `${BROWSER_URL}/help`,
164+
url: `${BROWSER_URL}help`,
165165
},
166166
],
167167
url: "",
168168
},
169169
],
170170
searchEnabled: true,
171-
searchURL: `${BROWSER_URL}/search`,
171+
searchURL: `${BROWSER_URL}search`,
172172
slogan: SLOGAN,
173173
socials,
174174
},

explorer/site-config/anvil-catalog/prod/config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ const config: SiteConfig = {
77
...anvilCatalogDevConfig,
88
layout: {
99
...anvilCatalogDevConfig.layout,
10+
footer: {
11+
...anvilCatalogDevConfig.layout.footer,
12+
navLinks: [
13+
{
14+
label: "Help",
15+
url: `${BROWSER_URL}/help`,
16+
},
17+
{
18+
label: "Privacy",
19+
url: `${BROWSER_URL}/privacy`,
20+
},
21+
],
22+
},
1023
header: {
1124
...anvilCatalogDevConfig.layout.header,
1225
navLinks: [
@@ -53,6 +66,7 @@ const config: SiteConfig = {
5366
url: "",
5467
},
5568
],
69+
searchURL: `${BROWSER_URL}/search`,
5670
},
5771
},
5872
};

0 commit comments

Comments
 (0)