Codex Marketplace UI components resuable for the Codex decentralized storage network. https://storybook.codex.storage
Go to file
Arnaud 252fb1b4f1
Merge pull request #7 from codex-storage/page-component
Page component
2024-08-23 15:41:44 +02:00
.storybook Add page component 2024-08-23 15:31:37 +02:00
src Add page component 2024-08-23 15:31:37 +02:00
stories Fix layout style 2024-08-23 15:39:50 +02:00
.eslintrc.cjs Add page component 2024-08-23 15:31:37 +02:00
.gitignore Normalize structure by moving components to src folder and update build process 2024-08-21 17:14:40 +02:00
README.md Normalize structure by moving components to src folder and update build process 2024-08-21 17:14:40 +02:00
package-lock.json Add page component 2024-08-23 15:31:37 +02:00
package.json Add page component 2024-08-23 15:31:37 +02:00
tsconfig.app.json Normalize structure by moving components to src folder and update build process 2024-08-21 17:14:40 +02:00
tsconfig.build.json Normalize structure by moving components to src folder and update build process 2024-08-21 17:14:40 +02:00
tsconfig.json Normalize structure by moving components to src folder and update build process 2024-08-21 17:14:40 +02:00
tsconfig.node.json Normalize structure by moving components to src folder and update build process 2024-08-21 17:14:40 +02:00
vite-env.d.ts Change build instructions 2024-08-20 15:57:59 +02:00
vite-storybook.config.ts Normalize structure by moving components to src folder and update build process 2024-08-21 17:14:40 +02:00
vite.config.ts Add page component 2024-08-23 15:31:37 +02:00

README.md

Codex Marketplace Components

This project provide UI components for Codex Marketplace.
It's in pre-alpha version, the API will change.

Philosophy

This CSS is written with semantic style. For more details check this link.

The components are designed for Codex Marketplace but they can be customized with CSS variables at the global level or at the component level (class or style).

Prerequisites

  • Node 18+

Install

Run the npm install command:

npm install

Run

npm run storybook

Build

Storybook

npm run build-storybook

The files are generated under the folder storybook-static.

You can preview by using the command:

npm run preview

Components

In order to build the components library you need for to clone the Codex SDK (it's currently in early stage so it is not published yet to the npm registry).

Follow the instructions to install and build the SDK, then run this command in the SDK repository:

npm link

Now in the current repository, you'll we able to link your local SDK build by running:

npm link @codex/sdk-js

You can finally build the Components by running:

npm run build