Skip to content

Commit

Permalink
fix: invalid anvil catalog config links (#886) (#3605)
Browse files Browse the repository at this point in the history
Co-authored-by: Fran McDade <[email protected]>
  • Loading branch information
frano-m and Fran McDade authored Aug 9, 2023
1 parent 8b4a0f6 commit 7dbe7f6
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
22 changes: 11 additions & 11 deletions explorer/site-config/anvil-catalog/dev/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ const config: SiteConfig = {
navLinks: [
{
label: "Help",
url: `${BROWSER_URL}/help`,
url: `${BROWSER_URL}help`,
},
{
label: "Privacy",
url: `${BROWSER_URL}/privacy`,
url: `${BROWSER_URL}privacy`,
},
],
socials,
Expand All @@ -126,49 +126,49 @@ const config: SiteConfig = {
navLinks: [
{
label: "Overview",
url: `${BROWSER_URL}/overview`,
url: `${BROWSER_URL}overview`,
},
{
label: "Learn",
url: `${BROWSER_URL}/learn`,
url: `${BROWSER_URL}learn`,
},
{
label: "Datasets",
url: `/`,
},
{
label: "Consortia",
url: `${BROWSER_URL}/consortia`,
url: `${BROWSER_URL}consortia`,
},
{
label: "News",
url: `${BROWSER_URL}/news`,
url: `${BROWSER_URL}news`,
},
{
label: "Events",
url: `${BROWSER_URL}/events`,
url: `${BROWSER_URL}events`,
},
{
label: "More",
menuItems: [
{
label: "Team",
url: `${BROWSER_URL}/team`,
url: `${BROWSER_URL}team`,
},
{
label: "FAQ",
url: `${BROWSER_URL}/faq`,
url: `${BROWSER_URL}faq`,
},
{
label: "Help",
url: `${BROWSER_URL}/help`,
url: `${BROWSER_URL}help`,
},
],
url: "",
},
],
searchEnabled: true,
searchURL: `${BROWSER_URL}/search`,
searchURL: `${BROWSER_URL}search`,
slogan: SLOGAN,
socials,
},
Expand Down
14 changes: 14 additions & 0 deletions explorer/site-config/anvil-catalog/prod/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ const config: SiteConfig = {
...anvilCatalogDevConfig,
layout: {
...anvilCatalogDevConfig.layout,
footer: {
...anvilCatalogDevConfig.layout.footer,
navLinks: [
{
label: "Help",
url: `${BROWSER_URL}/help`,
},
{
label: "Privacy",
url: `${BROWSER_URL}/privacy`,
},
],
},
header: {
...anvilCatalogDevConfig.layout.header,
navLinks: [
Expand Down Expand Up @@ -53,6 +66,7 @@ const config: SiteConfig = {
url: "",
},
],
searchURL: `${BROWSER_URL}/search`,
},
},
};
Expand Down

0 comments on commit 7dbe7f6

Please sign in to comment.