Skip to content

Commit 0088850

Browse files
authored
Merge pull request #6064 from EnterpriseDB/docs/fix/infobox
Misc fixes to infobox and EDB/docs header
2 parents 44d07be + f5a640d commit 0088850

File tree

4 files changed

+31
-20
lines changed

4 files changed

+31
-20
lines changed

advocacy_docs/edb-postgres-ai/overview/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: EDB Postgres AI overview
33
navTitle: Overview
44
indexCards: simple
5-
iconName: Earth
5+
directoryDefaults:
6+
iconName: Earth
67
description: An overview of all the EDB Postgres AI platform and tools
78
navigation:
89
- overview-and-concepts

src/components/left-nav.js

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,25 @@ const SectionHeading = ({ navTree, path, iconName }) => {
2121

2222
return (
2323
<li className="ms-0 mb-4 d-flex align-items-center">
24-
<Icon
25-
iconName={myIconName}
26-
className={className}
27-
width="50"
28-
height="50"
29-
/>
3024
<Link
3125
to={navTree.path}
3226
className="d-block py-1 align-middle balance-text h5 m-0 text-dark"
3327
>
34-
{navTree.title}
28+
<Icon
29+
iconName={myIconName}
30+
className={className}
31+
width="50"
32+
height="50"
33+
/>
3534
</Link>
35+
<div>
36+
<Link
37+
to={navTree.path}
38+
className="d-block py-1 align-middle balance-text h5 m-0 text-dark"
39+
>
40+
{navTree.title}
41+
</Link>
42+
</div>
3643
</li>
3744
);
3845
};
@@ -46,12 +53,17 @@ const SectionHeadingWithVersions = ({
4653
}) => {
4754
return (
4855
<li className="ms-0 mb-4 d-flex align-items-center">
49-
<Icon
50-
iconName={iconName || productIcon(path) || iconNames.DOTTED_BOX}
51-
className="fill-orange me-3"
52-
width="50"
53-
height="50"
54-
/>
56+
<Link
57+
to={navTree.path}
58+
className="d-block py-1 align-middle balance-text h5 m-0 text-dark"
59+
>
60+
<Icon
61+
iconName={iconName || productIcon(path) || iconNames.DOTTED_BOX}
62+
className="fill-orange me-3"
63+
width="50"
64+
height="50"
65+
/>
66+
</Link>
5567
<div className="rightsidenoclass">
5668
<Link
5769
to={navTree.path}

src/components/search-navigation.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ const LogoLink = () => (
1313
const DocsLink = ({ className }) => (
1414
<Link
1515
to="/"
16-
className={["me-3 lead text-muted pt-2 header-docs-link", className].join(
17-
" ",
18-
)}
16+
className={["me-3 lead text-muted pt-2", className].join(" ")}
1917
title="EDB Docs homepage"
2018
>
21-
/<span className="ps-1">docs</span>
19+
/<span className="ps-0">docs</span>
2220
</Link>
2321
);
2422

src/components/side-navigation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { DarkModeToggle, Link, Logo } from "./";
55
const DocsLink = () => (
66
<Link
77
to="/"
8-
className="me-3 lead text-muted pt-3 header-docs-link"
8+
className="ms-1 me-3 lead text-muted pt-3"
99
title="EDB Docs homepage"
1010
>
11-
/<span className="ps-1">docs</span>
11+
/<span className="ps-0">docs</span>
1212
</Link>
1313
);
1414

0 commit comments

Comments
 (0)