Skip to content

Commit a2b7369

Browse files
madhuramendisMirage20
authored andcommitted
Add Enterprise link
Signed-off-by: Madhura Mendis <madhuramendis@gmail.com>
1 parent a61b2d5 commit a2b7369

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

docusaurus.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,12 @@ const config: Config = {
163163
},
164164
{ to: '/modules', label: 'Modules', position: 'left' },
165165
{ to: '/blog', label: 'Blog', position: 'left' },
166+
{
167+
href: 'https://wso2.com/engineering-platform/openchoreo/',
168+
label: 'Enterprise',
169+
position: 'left',
170+
className: 'navbar-enterprise-link',
171+
},
166172
{
167173
type: 'docsVersionDropdown',
168174
position: 'right',

src/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
* work well for content-centric websites.
55
*/
66

7+
/* Hide external link icon on Enterprise navbar item */
8+
.navbar-enterprise-link svg {
9+
display: none;
10+
}
11+
712
/* Prevent swagger-ui's dark background from overriding Docusaurus's own background */
813
html[data-theme='dark'] {
914
background: unset !important;

0 commit comments

Comments
 (0)