Skip to content

Commit

Permalink
docs(misc): update to new logo (#11290)
Browse files Browse the repository at this point in the history
* docs(misc): update to new logo

* Update packages/react-core/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx

Co-authored-by: Eric Olkowski <[email protected]>

---------

Co-authored-by: Eric Olkowski <[email protected]>
  • Loading branch information
kmcfaul and thatblindgeye authored Dec 13, 2024
1 parent 4e43d6c commit ac75242
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ propComponents:
]
---

import brandImg2 from '../../assets/brandImgColor2.svg';
import brandImg from '../../assets/PF-IconLogo.svg';
import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
import GoogleIcon from '@patternfly/react-icons/dist/esm/icons/google-icon';
import GithubIcon from '@patternfly/react-icons/dist/esm/icons/github-icon';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import brandImg2 from '../../assets/brandImgColor2.svg';
import brandImg from '../../assets/PF-IconLogo.svg';
import {
LoginFooterItem,
LoginForm,
Expand Down Expand Up @@ -114,7 +114,7 @@ export const SimpleLoginPage: React.FunctionComponent = () => {
return (
<LoginPage
footerListVariants={ListVariant.inline}
brandImgSrc={brandImg2}
brandImgSrc={brandImg}
brandImgAlt="PatternFly logo"
backgroundImgSrc="/assets/images/pfbg-icon.svg"
footerListItems={listItem}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import brandImg2 from '../../assets/brandImgColor2.svg';
import brandImg from '../../assets/PF-IconLogo.svg';
import {
LoginFooterItem,
LoginForm,
Expand Down Expand Up @@ -187,7 +187,7 @@ export const LoginPageLanguageSelect: React.FunctionComponent = () => {
return (
<LoginPage
footerListVariants={ListVariant.inline}
brandImgSrc={brandImg2}
brandImgSrc={brandImg}
brandImgAlt="PatternFly logo"
backgroundImgSrc="/assets/images/pfbg-icon.svg"
footerListItems={listItem}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import brandImg2 from '../../assets/brandImgColor2.svg';
import brandImg from '../../assets/PF-IconLogo.svg';
import {
LoginFooterItem,
LoginForm,
Expand Down Expand Up @@ -115,7 +115,7 @@ export const LoginPageHideShowPassword: React.FunctionComponent = () => {
return (
<LoginPage
footerListVariants={ListVariant.inline}
brandImgSrc={brandImg2}
brandImgSrc={brandImg}
brandImgAlt="PatternFly logo"
backgroundImgSrc="/assets/images/pfbg-icon.svg"
footerListItems={listItem}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ propComponents:
---

import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon';
import pfIcon from '../assets/pf-logo-small.svg';
import brandImg from '../assets/PF-IconLogo.svg';

As the application launcher component is now deprecated, an application launcher may now be built using the new suite of menu components. This is showcased in the following demo, which uses the new [dropdown](/components/menus/dropdown) component that is built off of menu.

Expand Down
2 changes: 1 addition & 1 deletion packages/react-core/src/demos/CustomMenus/CustomMenus.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
import ClipboardIcon from '@patternfly/react-icons/dist/esm/icons/clipboard-icon';
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon';
import pfIcon from '../assets/pf-logo-small.svg';
import brandImg from '../assets/PF-IconLogo.svg';
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
import CaretDownIcon from '@patternfly/react-icons/dist/esm/icons/caret-down-icon';
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
DropdownItem
} from '@patternfly/react-core';
import ThIcon from '@patternfly/react-icons/dist/js/icons/th-icon';
import pfIcon from '@patternfly/react-core/src/demos/Card/pf-logo-small.svg';
import brandImg from '@patternfly/react-core/src/demos/assets/PF-IconLogo.svg';

const MockLink: React.FunctionComponent = ({ to, ...props }: any) => <a href={to} {...props}></a>;

Expand Down Expand Up @@ -69,7 +69,7 @@ export const ApplicationLauncherDemo: React.FunctionComponent = () => {
id="3"
isFavorited={favorites.includes('3')}
isExternalLink
icon={<img src={pfIcon} />}
icon={<img src={brandImg} alt="" width={25} height={25} />}
component={(props) => <MockLink {...props} to="#router-link2" />}
>
Custom component with icon
Expand Down
17 changes: 17 additions & 0 deletions packages/react-core/src/demos/assets/PF-IconLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ac75242

Please sign in to comment.