diff --git a/solidjs-tailwind/README.md b/solidjs-tailwind/README.md index 7e93aeda0..afa75b8a2 100644 --- a/solidjs-tailwind/README.md +++ b/solidjs-tailwind/README.md @@ -89,7 +89,7 @@ git clone https://github.com/thisdot/starter.dev.git - `pnpm run dev` - Runs the development server on localhost port 3000 with HMR - `pnpm run test` - Runs the test suite -- `pnpm run storbook` - To showcase the component library +- `pnpm run storybook` - To showcase the component library - `pnpm run build` - Builds a production version of the app to deploy - `pnpm run serve` - Serves a production build on localhost port 4173 - `pnpm run lint` - Uses eslint to find potential issues in the codebase diff --git a/solidjs-tailwind/package.json b/solidjs-tailwind/package.json index 48fd5ec1c..6939178b6 100644 --- a/solidjs-tailwind/package.json +++ b/solidjs-tailwind/package.json @@ -50,6 +50,7 @@ "@heroicons/react": "1.0.5" }, "dependencies": { + "solid-heroicons": "^3.1.0", "solid-js": "1.6.0" }, "keywords": [ diff --git a/solidjs-tailwind/pnpm-lock.yaml b/solidjs-tailwind/pnpm-lock.yaml index a680ae44c..e4401d8b1 100644 --- a/solidjs-tailwind/pnpm-lock.yaml +++ b/solidjs-tailwind/pnpm-lock.yaml @@ -24,6 +24,7 @@ specifiers: jsdom: 20.0.1 postcss: 8.4.18 prettier: 2.7.1 + solid-heroicons: ^3.1.0 solid-icons: ^1.0.2 solid-js: 1.6.0 solid-testing-library: 0.3.0 @@ -35,6 +36,7 @@ specifiers: vitest: 0.24.3 dependencies: + solid-heroicons: 3.1.0_solid-js@1.6.0 solid-js: 1.6.0 devDependencies: @@ -12337,6 +12339,13 @@ packages: - supports-color dev: true + /solid-heroicons/3.1.0_solid-js@1.6.0: + resolution: {integrity: sha512-cOw5cxS3zgcoOChyvobvHZmHSCinnkkpsiyEiMW+irltb/6iwKq123CUD/W70astfwBvVopnixCQIF19JUzzMA==} + peerDependencies: + solid-js: '>= ^1.2.5' + dependencies: + solid-js: 1.6.0 + dev: false /solid-icons/1.0.2_solid-js@1.6.0: resolution: {integrity: sha512-Pockp4vkCFFW+uubuRpb50pqKZNzjLhUUDm5VPpcZJWSgDw7fOxnMLcO1fC2bK8l+kYbJOr52y+pB5fnoZXg3Q==} engines: {node: '>= 16'} diff --git a/solidjs-tailwind/src/components/Icons/TwitterIcon.jsx b/solidjs-tailwind/src/components/Icons/TwitterIcon.jsx new file mode 100644 index 000000000..8bb5a2924 --- /dev/null +++ b/solidjs-tailwind/src/components/Icons/TwitterIcon.jsx @@ -0,0 +1,15 @@ +function TwitterIcon(className) { + return ( + + ); +} + +export default TwitterIcon; diff --git a/solidjs-tailwind/src/components/Icons/index.js b/solidjs-tailwind/src/components/Icons/index.js new file mode 100644 index 000000000..93e73e0cc --- /dev/null +++ b/solidjs-tailwind/src/components/Icons/index.js @@ -0,0 +1 @@ +export { default as TwitterIcon } from './TwitterIcon'; diff --git a/solidjs-tailwind/src/components/UserProfile/OrgList.jsx b/solidjs-tailwind/src/components/UserProfile/OrgList.jsx new file mode 100644 index 000000000..44072c242 --- /dev/null +++ b/solidjs-tailwind/src/components/UserProfile/OrgList.jsx @@ -0,0 +1,19 @@ +import { For } from 'solid-js'; +function OrgList(props) { + return ( +