Skip to content

Commit ac75242

Browse files
docs(misc): update to new logo (#11290)
* docs(misc): update to new logo * Update packages/react-core/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com> --------- Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com>
1 parent 4e43d6c commit ac75242

File tree

8 files changed

+28
-11
lines changed

8 files changed

+28
-11
lines changed

packages/react-core/src/components/LoginPage/examples/LoginPage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ propComponents:
1818
]
1919
---
2020

21-
import brandImg2 from '../../assets/brandImgColor2.svg';
21+
import brandImg from '../../assets/PF-IconLogo.svg';
2222
import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
2323
import GoogleIcon from '@patternfly/react-icons/dist/esm/icons/google-icon';
2424
import GithubIcon from '@patternfly/react-icons/dist/esm/icons/github-icon';

packages/react-core/src/components/LoginPage/examples/LoginPageBasic.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import brandImg2 from '../../assets/brandImgColor2.svg';
2+
import brandImg from '../../assets/PF-IconLogo.svg';
33
import {
44
LoginFooterItem,
55
LoginForm,
@@ -114,7 +114,7 @@ export const SimpleLoginPage: React.FunctionComponent = () => {
114114
return (
115115
<LoginPage
116116
footerListVariants={ListVariant.inline}
117-
brandImgSrc={brandImg2}
117+
brandImgSrc={brandImg}
118118
brandImgAlt="PatternFly logo"
119119
backgroundImgSrc="/assets/images/pfbg-icon.svg"
120120
footerListItems={listItem}

packages/react-core/src/components/LoginPage/examples/LoginPageLanguageSelect.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import brandImg2 from '../../assets/brandImgColor2.svg';
2+
import brandImg from '../../assets/PF-IconLogo.svg';
33
import {
44
LoginFooterItem,
55
LoginForm,
@@ -187,7 +187,7 @@ export const LoginPageLanguageSelect: React.FunctionComponent = () => {
187187
return (
188188
<LoginPage
189189
footerListVariants={ListVariant.inline}
190-
brandImgSrc={brandImg2}
190+
brandImgSrc={brandImg}
191191
brandImgAlt="PatternFly logo"
192192
backgroundImgSrc="/assets/images/pfbg-icon.svg"
193193
footerListItems={listItem}

packages/react-core/src/components/LoginPage/examples/LoginPageShowHidePassword.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import brandImg2 from '../../assets/brandImgColor2.svg';
2+
import brandImg from '../../assets/PF-IconLogo.svg';
33
import {
44
LoginFooterItem,
55
LoginForm,
@@ -115,7 +115,7 @@ export const LoginPageHideShowPassword: React.FunctionComponent = () => {
115115
return (
116116
<LoginPage
117117
footerListVariants={ListVariant.inline}
118-
brandImgSrc={brandImg2}
118+
brandImgSrc={brandImg}
119119
brandImgAlt="PatternFly logo"
120120
backgroundImgSrc="/assets/images/pfbg-icon.svg"
121121
footerListItems={listItem}

packages/react-core/src/demos/CustomMenus/ApplicationLauncher.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ propComponents:
1919
---
2020

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

2424
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.
2525

packages/react-core/src/demos/CustomMenus/CustomMenus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
1717
import ClipboardIcon from '@patternfly/react-icons/dist/esm/icons/clipboard-icon';
1818
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
1919
import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon';
20-
import pfIcon from '../assets/pf-logo-small.svg';
20+
import brandImg from '../assets/PF-IconLogo.svg';
2121
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
2222
import CaretDownIcon from '@patternfly/react-icons/dist/esm/icons/caret-down-icon';
2323
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
DropdownItem
1313
} from '@patternfly/react-core';
1414
import ThIcon from '@patternfly/react-icons/dist/js/icons/th-icon';
15-
import pfIcon from '@patternfly/react-core/src/demos/Card/pf-logo-small.svg';
15+
import brandImg from '@patternfly/react-core/src/demos/assets/PF-IconLogo.svg';
1616

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

@@ -69,7 +69,7 @@ export const ApplicationLauncherDemo: React.FunctionComponent = () => {
6969
id="3"
7070
isFavorited={favorites.includes('3')}
7171
isExternalLink
72-
icon={<img src={pfIcon} />}
72+
icon={<img src={brandImg} alt="" width={25} height={25} />}
7373
component={(props) => <MockLink {...props} to="#router-link2" />}
7474
>
7575
Custom component with icon
Lines changed: 17 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)