Skip to content

gravity-ui/landing

Repository files navigation

Gravity UI landing page

https://gravity-ui.com/

Development

Add .env file to the root of project with the following content:

GITHUB_TOKEN=<TOKEN>

<TOKEN> is your GitHub personal access token.

Install dependencies:

npm ci

Start dev server:

npm run start

Optional env variables

GITHUB_PROFILE="your profile" # default gravity-ui, target profile for pulling documentation from components

# Dev branches for testing component documentation
DEV_BRANCH_UIKIT="dev-branch-name"
DEV_BRANCH_COMPONENTS="dev-branch-name"
DEV_BRANCH_DATE_COMPONENTS="dev-branch-name"
DEV_BRANCH_NAVIGATION="dev-branch-name"