diff --git a/apps/site/public/static/logos/nodejsDarkPride.svg b/apps/site/public/static/logos/nodejsDarkPride.svg deleted file mode 100644 index b6d0c77f854f3..0000000000000 --- a/apps/site/public/static/logos/nodejsDarkPride.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/apps/site/public/static/logos/nodejsLightPride.svg b/apps/site/public/static/logos/nodejsLightPride.svg deleted file mode 100644 index 9de9a30fa9e23..0000000000000 --- a/apps/site/public/static/logos/nodejsLightPride.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/apps/site/site.json b/apps/site/site.json index 6da498a337cd1..1b5eed62a744f 100644 --- a/apps/site/site.json +++ b/apps/site/site.json @@ -3,7 +3,7 @@ "description": "Node.jsĀ® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.", "favicon": "/static/images/favicons/favicon.png", "accentColor": "#333", - "logoVariant": "pride", + "logoVariant": "default", "twitter": { "username": "@nodejs", "card": "summary", diff --git a/apps/site/types/config.ts b/apps/site/types/config.ts index f307d15457aab..3601fb94c2608 100644 --- a/apps/site/types/config.ts +++ b/apps/site/types/config.ts @@ -13,7 +13,7 @@ export interface OGConfig { imgHeight: string; } -export type LogoVariant = 'default' | 'pride'; +export type LogoVariant = 'default'; export interface SiteConfig { title: string; diff --git a/packages/ui-components/Common/NodejsLogo/index.stories.tsx b/packages/ui-components/Common/NodejsLogo/index.stories.tsx index acaa659efbae6..f13cf397d2d82 100644 --- a/packages/ui-components/Common/NodejsLogo/index.stories.tsx +++ b/packages/ui-components/Common/NodejsLogo/index.stories.tsx @@ -7,8 +7,4 @@ type Meta = MetaObj; export const Default: Story = {}; -export const WithPride: Story = { - args: { variant: 'pride' }, -}; - export default { component: NodejsLogo } as Meta; diff --git a/packages/ui-components/Icons/Logos/Nodejs.tsx b/packages/ui-components/Icons/Logos/Nodejs.tsx index d6129d77d73a5..76367ac614f79 100644 --- a/packages/ui-components/Icons/Logos/Nodejs.tsx +++ b/packages/ui-components/Icons/Logos/Nodejs.tsx @@ -1,16 +1,12 @@ import classNames from 'classnames'; import type { FC, SVGProps } from 'react'; -import type { LogoVariant } from '#ui/types'; - type NodeJsLogoProps = SVGProps & { - variant?: LogoVariant; ariaLabel?: string; }; const NodejsIcon: FC = ({ className, - variant = 'default', ariaLabel = '', ...props }) => { @@ -71,300 +67,62 @@ const NodejsIcon: FC = ({ fill="#5FA04E" /> - {variant === 'pride' ? ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) : ( - <> - - - - - )} + + + - {variant === 'pride' ? ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) : ( - - - - - - - - - - - - - - - - - - - - - - )} + + + + + + + + + + + + + + + + + + + + + ); }; diff --git a/packages/ui-components/__design__/node-logos.stories.tsx b/packages/ui-components/__design__/node-logos.stories.tsx index 543538c03f6cc..29c9224b0dc65 100644 --- a/packages/ui-components/__design__/node-logos.stories.tsx +++ b/packages/ui-components/__design__/node-logos.stories.tsx @@ -14,10 +14,6 @@ export const HorizontalLogo: StoryObj = { render: () => , }; -export const PrideLogo: StoryObj = { - render: () => , -}; - export const StackedLogos: StoryObj = { render: () => (
diff --git a/packages/ui-components/types.ts b/packages/ui-components/types.ts index 86088827f76e8..2e1a5859ca350 100644 --- a/packages/ui-components/types.ts +++ b/packages/ui-components/types.ts @@ -6,7 +6,7 @@ import type { ReactNode, } from 'react'; -export type LogoVariant = 'default' | 'pride'; +export type LogoVariant = 'default'; export type TailwindSVG = SVGProps & { tw?: string }; export type BlogPreviewType = 'announcements' | 'release' | 'vulnerability'; export type LinkLike =