Skip to content

Commit

Permalink
feat: add pf 6 alpha banner to home page and version switcher (patter…
Browse files Browse the repository at this point in the history
…nfly#3896)

* feat: add pf 6 alpha banner to home page and version switcher

* update wording
  • Loading branch information
nicolethoen committed Mar 28, 2024
1 parent 665fa7e commit ca5b485
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,26 @@ const HeaderTools = ({
</DropdownList>
</DropdownGroup>
)}
<Divider key="divider" className="ws-switcher-divider"/>
<Divider key="divider1" className="ws-switcher-divider"/>
<DropdownGroup key="Alpha preview version" label="Alpha preview version">
<DropdownList>
<DropdownItem
key="PatternFly 6"
className="ws-patternfly-versions"
isExternalLink
to="https://staging-v6.patternfly.org/"
itemId="patternfly-6"
>
PatternFly 6
</DropdownItem>
</DropdownList>
</DropdownGroup>
<Divider key="divider2" className="ws-switcher-divider"/>
<DropdownGroup key="Previous versions" label="Previous versions">
<DropdownList>
<DropdownItem
key="PatternFly 4"
className="ws-patternfly-3"
className="ws-patternfly-versions"
isExternalLink
to="http://v4-archive.patternfly.org/v4/"
itemId="patternfly-4"
Expand All @@ -177,7 +191,7 @@ const HeaderTools = ({
</DropdownItem>
<DropdownItem
key="PatternFly 3"
className="ws-patternfly-3"
className="ws-patternfly-versions"
isExternalLink
to="https://pf3.patternfly.org/"
itemId="patternfly-3"
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation-framework/templates/mdx.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ws-page-content-router {
display: flex;
flex-direction: column;
height: 100%;
flex-shrink: 0;
}

.ws-release-notes-toc {
Expand Down

0 comments on commit ca5b485

Please sign in to comment.