Skip to content

Commit 74c7dca

Browse files
committed
React Component Gallery website to showcase React Components
1 parent a98b26c commit 74c7dca

39 files changed

+43361
-4
lines changed

package-lock.json

Lines changed: 609 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@
5050
"devDependencies": {
5151
"@tailwindcss/forms": "^0.5.10",
5252
"@tailwindcss/postcss": "^4.1.17",
53+
"@tailwindcss/typography": "^0.5.19",
5354
"@testing-library/react": "^16.3.0",
5455
"@types/node": "^24.10.0",
5556
"@types/react": "^19.2.2",
5657
"@types/react-dom": "^19.2.2",
58+
"@types/react-syntax-highlighter": "^15.5.13",
5759
"@vitejs/plugin-react": "^5.1.0",
5860
"@vitest/browser": "^4.0.7",
5961
"@vitest/browser-playwright": "^4.0.7",
@@ -66,6 +68,7 @@
6668
"react": "^19.2.0",
6769
"react-dom": "^19.2.0",
6870
"react-router-dom": "^7.9.5",
71+
"react-syntax-highlighter": "^16.1.0",
6972
"shx": "^0.4.0",
7073
"tailwindcss": "^4.1.17",
7174
"typescript": "~5.9.3",

src/demo/App.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,10 @@ export default function App() {
197197
return (
198198
<>
199199
<ClientContext.Provider value={client}>
200-
<div className="absolute top-2 right-2">
200+
<div className="absolute top-2 right-2 flex items-center gap-4">
201+
<a href="/gallery" className="text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-200 font-medium">
202+
Component Gallery
203+
</a>
201204
<DarkModeToggle />
202205
</div>
203206

0 commit comments

Comments
 (0)