Skip to content

Commit 84b26ff

Browse files
committed
fixup! fixup! fixup! feat(ui): add ui-components package
1 parent c0d4dae commit 84b26ff

File tree

9 files changed

+2375
-710
lines changed

9 files changed

+2375
-710
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

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@heroicons/react": "~2.1.5",
4040
"@mdx-js/mdx": "^3.0.1",
4141
"@node-core/website-i18n": "*",
42+
"@node-core/ui-components": "*",
4243
"@nodevu/core": "~0.1.0",
4344
"@orama/highlight": "^0.1.6",
4445
"@oramacloud/client": "^1.3.16",

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)