From 1292d8b61ca50baa0e447d04d6575b70c8f793fd Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Mon, 25 Nov 2024 16:56:49 -0500 Subject: [PATCH 1/2] docs(misc): update to new logo --- .../components/LoginPage/examples/LoginPage.md | 2 +- .../LoginPage/examples/LoginPageBasic.tsx | 4 ++-- .../examples/LoginPageLanguageSelect.tsx | 4 ++-- .../examples/LoginPageShowHidePassword.tsx | 4 ++-- .../demos/CustomMenus/ApplicationLauncher.md | 2 +- .../src/demos/CustomMenus/CustomMenus.md | 2 +- .../examples/ApplicationLauncherDemo.tsx | 4 ++-- .../react-core/src/demos/assets/PF-IconLogo.svg | 17 +++++++++++++++++ 8 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 packages/react-core/src/demos/assets/PF-IconLogo.svg diff --git a/packages/react-core/src/components/LoginPage/examples/LoginPage.md b/packages/react-core/src/components/LoginPage/examples/LoginPage.md index 625f7d193e7..c9546615ddc 100644 --- a/packages/react-core/src/components/LoginPage/examples/LoginPage.md +++ b/packages/react-core/src/components/LoginPage/examples/LoginPage.md @@ -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'; diff --git a/packages/react-core/src/components/LoginPage/examples/LoginPageBasic.tsx b/packages/react-core/src/components/LoginPage/examples/LoginPageBasic.tsx index 57d059436d8..7952fe386e4 100644 --- a/packages/react-core/src/components/LoginPage/examples/LoginPageBasic.tsx +++ b/packages/react-core/src/components/LoginPage/examples/LoginPageBasic.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import brandImg2 from '../../assets/brandImgColor2.svg'; +import brandImg from '../../assets/PF-IconLogo.svg'; import { LoginFooterItem, LoginForm, @@ -114,7 +114,7 @@ export const SimpleLoginPage: React.FunctionComponent = () => { return ( { return ( { return ( ; @@ -69,7 +69,7 @@ export const ApplicationLauncherDemo: React.FunctionComponent = () => { id="3" isFavorited={favorites.includes('3')} isExternalLink - icon={} + icon={} component={(props) => } > Custom component with icon diff --git a/packages/react-core/src/demos/assets/PF-IconLogo.svg b/packages/react-core/src/demos/assets/PF-IconLogo.svg new file mode 100644 index 00000000000..11fb51730a5 --- /dev/null +++ b/packages/react-core/src/demos/assets/PF-IconLogo.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + From 93de930de35d49d4ff78990c9336083f51bd949a Mon Sep 17 00:00:00 2001 From: kmcfaul <45077788+kmcfaul@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:38:53 -0500 Subject: [PATCH 2/2] Update packages/react-core/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com> --- .../src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-core/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx b/packages/react-core/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx index 737ed0e425d..30d838d2861 100644 --- a/packages/react-core/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx +++ b/packages/react-core/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx @@ -69,7 +69,7 @@ export const ApplicationLauncherDemo: React.FunctionComponent = () => { id="3" isFavorited={favorites.includes('3')} isExternalLink - icon={} + icon={} component={(props) => } > Custom component with icon