diff --git a/packages/docs/package.json b/packages/docs/package.json index 1448b1fe5..b8df4f4c1 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -38,6 +38,7 @@ "react-dom": "^18.3.1", "recharts": "^2.12.7", "remark-smartypants": "^2.1.0", + "res": "workspace:*", "semver": "^7.6.3", "server-only": "^0.0.1", "tailwind-merge": "^2.5.2", diff --git a/packages/docs/src/components/logo.tsx b/packages/docs/src/components/logo.tsx index 5e05df7b7..2c49bd12f 100644 --- a/packages/docs/src/components/logo.tsx +++ b/packages/docs/src/components/logo.tsx @@ -1,23 +1,17 @@ -import { cn } from '../lib/utils' +import Image from 'next/image' +import Wordmark from 'res/wordmark.svg' +import { cn } from 'src/lib/utils' -export function NuqsWordmark({ - className, - ...props -}: React.ComponentProps<'span'>) { +export function NuqsWordmark({ className }: React.ComponentProps<'img'>) { return ( - - ? - n - = - u - & - q - = - s - + <> + nuqs + nuqs + ) } diff --git a/packages/res/package.json b/packages/res/package.json new file mode 100644 index 000000000..0e8c0eea4 --- /dev/null +++ b/packages/res/package.json @@ -0,0 +1,10 @@ +{ + "name": "res", + "version": "0.0.0-internal", + "private": true, + "files": [ + "./wordmark.svg", + "./wordmark.light.svg", + "./wordmark.dark.svg" + ] +} diff --git a/packages/res/wordmark.dark.svg b/packages/res/wordmark.dark.svg new file mode 100644 index 000000000..8e53bef64 --- /dev/null +++ b/packages/res/wordmark.dark.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/packages/res/wordmark.light.svg b/packages/res/wordmark.light.svg new file mode 100644 index 000000000..0ebf2b5c2 --- /dev/null +++ b/packages/res/wordmark.light.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/packages/res/wordmark.svg b/packages/res/wordmark.svg new file mode 100644 index 000000000..b3f40d6d6 --- /dev/null +++ b/packages/res/wordmark.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cf01edda6..06dea00fa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -122,6 +122,9 @@ importers: remark-smartypants: specifier: ^2.1.0 version: 2.1.0 + res: + specifier: workspace:* + version: link:../res semver: specifier: ^7.6.3 version: 7.6.3 @@ -264,6 +267,8 @@ importers: specifier: ^1.6.0 version: 1.6.0(@types/node@20.16.3)(terser@5.31.6) + packages/res: {} + packages/scripts: dependencies: '@mailpace/mailpace.js':