Skip to content

Commit 57d095c

Browse files
committed
Revert "Rename empty n icon to Placeholder"
This reverts commit 5846bff.
1 parent b1ccc8e commit 57d095c

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

apps/site/components/Icons/InstallationMethod/Placeholder.tsx renamed to apps/site/components/Icons/InstallationMethod/N.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { FC, SVGProps } from 'react';
22

33
// This is an empty placeholder for layout purposes.
4-
const Placeholder: FC<SVGProps<SVGSVGElement>> = props => (
4+
const N: FC<SVGProps<SVGSVGElement>> = props => (
55
<svg
66
width="32"
77
height="32"
@@ -12,4 +12,4 @@ const Placeholder: FC<SVGProps<SVGSVGElement>> = props => (
1212
></svg>
1313
);
1414

15-
export default Placeholder;
15+
export default N;

apps/site/components/Icons/InstallationMethod/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Devbox from '@/components/Icons/InstallationMethod/Devbox';
33
import Docker from '@/components/Icons/InstallationMethod/Docker';
44
import FNM from '@/components/Icons/InstallationMethod/FNM';
55
import Homebrew from '@/components/Icons/InstallationMethod/Homebrew';
6+
import N from '@/components/Icons/InstallationMethod/N';
67
import NVM from '@/components/Icons/InstallationMethod/NVM';
7-
import Placeholder from '@/components/Icons/InstallationMethod/Placeholder';
88

9-
export default { Choco, Devbox, Docker, FNM, Homebrew, NVM, Placeholder };
9+
export default { Choco, Devbox, Docker, FNM, Homebrew, N, NVM };

apps/site/components/__design__/platform-logos.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const PlatformLogos: StoryObj = {
1717
<InstallMethodIcons.Homebrew width={64} height={64} />
1818
<InstallMethodIcons.NVM width={64} height={64} />
1919
<InstallMethodIcons.Devbox width={64} height={64} />
20-
<InstallMethodIcons.Placeholder width={64} height={64} />
20+
<InstallMethodIcons.N width={64} height={64} />
2121
</div>
2222
<div className="flex flex-col items-center gap-4">
2323
<InstallMethodIcons.Choco width={64} height={64} />

apps/site/util/downloadUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export const INSTALL_METHODS: Array<
214214
label: InstallationMethodLabel.N,
215215
value: 'N',
216216
compatibility: { os: ['MAC', 'LINUX'] },
217-
iconImage: <InstallMethodIcons.Placeholder width={16} height={16} />,
217+
iconImage: <InstallMethodIcons.N width={16} height={16} />,
218218
url: 'https://github.com/tj/n',
219219
info: 'layouts.download.codeBox.platformInfo.n',
220220
},

0 commit comments

Comments
 (0)