Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(misc): update to new logo #11290

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading