Skip to content

Commit 9ade4ac

Browse files
committed
fixup! fixup! fixup! feat(ui): add ui-components package
1 parent 4331958 commit 9ade4ac

File tree

9 files changed

+2376
-711
lines changed

9 files changed

+2376
-711
lines changed

apps/site/components/Common/NodejsLogo/index.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import Nodejs from '@node-core/ui-components/Icons/Logos/Nodejs';
2+
import type { LogoVariant } from '@node-core/ui-components/types';
23
import type { FC } from 'react';
34

4-
import type { LogoVariant } from '@/types';
5-
65
import style from './index.module.css';
76

87
type NodejsLogoProps = {

apps/site/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@heroicons/react": "~2.1.5",
4040
"@mdx-js/mdx": "^3.1.0",
4141
"@node-core/website-i18n": "*",
42+
"@node-core/ui-components": "*",
4243
"@nodevu/core": "0.3.0",
4344
"@opentelemetry/api": "1.9.0",
4445
"@orama/highlight": "0.1.6",
@@ -129,4 +130,4 @@
129130
"typescript-eslint": "~8.8.1",
130131
"user-agent-data-types": "0.4.2"
131132
}
132-
}
133+
}

apps/site/types/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type { LogoVariant } from '@node-core/ui-components/types';
2+
13
import type { RSSFeed, WebsiteBadge, WebsiteBanner } from './features';
24

35
export interface TwitterConfig {
@@ -13,8 +15,6 @@ export interface OGConfig {
1315
imgHeight: string;
1416
}
1517

16-
export type LogoVariant = 'default' | 'pride';
17-
1818
export interface SiteConfig {
1919
title: string;
2020
description: string;

apps/site/types/og.ts

-3
This file was deleted.

0 commit comments

Comments
 (0)