-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: merged js logos and fixed svgs (#5930)
- Loading branch information
Showing
18 changed files
with
231 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
import type { Meta as MetaObj, StoryObj } from '@storybook/react'; | ||
import Image from 'next/image'; | ||
|
||
export const HorizontalLogos: StoryObj = { | ||
render: () => ( | ||
<div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/horizontal-light.svg`} | ||
className="bg-black" | ||
alt="Node.js" | ||
width={267} | ||
height={80} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/horizontal-dark.svg`} | ||
alt="Node.js" | ||
width={267} | ||
height={80} | ||
/> | ||
</div> | ||
</div> | ||
), | ||
}; | ||
|
||
export const StackedLogos: StoryObj = { | ||
render: () => ( | ||
<div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/stacked-dark.svg`} | ||
alt="Node.js" | ||
width={267} | ||
height={80} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/stacked-black.svg`} | ||
alt="Node.js" | ||
width={267} | ||
height={80} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/stacked-white.svg`} | ||
alt="Node.js" | ||
width={267} | ||
height={80} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/stacked-light.svg`} | ||
alt="Node.js" | ||
width={267} | ||
height={80} | ||
/> | ||
</div> | ||
</div> | ||
), | ||
}; | ||
|
||
export const JSSymbols: StoryObj = { | ||
render: () => ( | ||
<div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/js-white.svg`} | ||
alt="Node.js" | ||
width={30} | ||
height={30} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/js-green.svg`} | ||
alt="Node.js" | ||
width={30} | ||
height={30} | ||
/> | ||
</div> | ||
</div> | ||
), | ||
}; | ||
|
||
export const HexSymbols: StoryObj = { | ||
render: () => ( | ||
<div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/hex-white.svg`} | ||
alt="Node.js" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/hex-black.svg`} | ||
alt="Node.js" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src={`/static/images/logos/hex-green.svg`} | ||
alt="Node.js" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
</div> | ||
), | ||
}; | ||
|
||
export default { title: 'Design System/Node.js Logos' } as MetaObj; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,51 @@ | ||
import type { Meta as MetaObj, StoryObj } from '@storybook/react'; | ||
import Image from 'next/image'; | ||
|
||
export const PlatformLogos: StoryObj = {}; | ||
|
||
export default { | ||
title: 'Design System/Platform Logos', | ||
component: () => { | ||
return ( | ||
export const PlatformLogos: StoryObj = { | ||
render: () => ( | ||
<div> | ||
<div> | ||
<Image | ||
src="/static/images/logos/platform-linux.svg" | ||
alt="Ubuntu Logo" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src="/static/images/logos/platform-apple.svg" | ||
alt="Apple Logo" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
<div> | ||
<div> | ||
<Image | ||
src="/static/images/logos/platform-apple.svg" | ||
alt="Apple Logo" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src="/static/images/logos/platform-microsoft.svg" | ||
alt="Microsoft Logo" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src="/static/images/logos/platform-homebrew.svg" | ||
alt="Homebrew Logo" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src="/static/images/logos/platform-placeholder.svg" | ||
alt="Placeholder Logo" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
<Image | ||
src="/static/images/logos/platform-microsoft.svg" | ||
alt="Microsoft Logo" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
); | ||
}, | ||
} as MetaObj; | ||
<div> | ||
<Image | ||
src="/static/images/logos/platform-homebrew.svg" | ||
alt="Homebrew Logo" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
<div> | ||
<Image | ||
src="/static/images/logos/platform-placeholder.svg" | ||
alt="Placeholder Logo" | ||
width={64} | ||
height={64} | ||
/> | ||
</div> | ||
</div> | ||
), | ||
}; | ||
|
||
export default { title: 'Design System' } as MetaObj; |
Oops, something went wrong.