Skip to content

Commit

Permalink
Merge pull request #332 from aversini/docs-trying-to-deploy-preview-o…
Browse files Browse the repository at this point in the history
…n-PR

docs: trying to deploy preview on PR
  • Loading branch information
aversini authored Feb 20, 2024
2 parents 7cf0351 + 724fe2e commit 6a2d683
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 22 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
pnpm install
npx lerna run build --ignore @versini/documentation
npx lerna run build:ci --scope=@versini/documentation
- name: Setup Pages
if: ${{ always() }}
uses: actions/configure-pages@v4
Expand Down
1 change: 0 additions & 1 deletion packages/documentation/.ladle/config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/** @type {import('@ladle/react').UserConfig} */

export default {
base: "/ui-components/",
port: 8080,
defaultStory: "getting-started--overview",
storyOrder: [
Expand Down
Binary file removed packages/documentation/public/hero-13.jpg
Binary file not shown.
Binary file added packages/documentation/public/hero-14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 25 additions & 20 deletions packages/documentation/src/GettingStarted/overview.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,32 @@ import {

# UI Components

> UI Components provides a strong, responsive, and accessible library of foundational React components.
<Flexgrid alignVertical="center">
<FlexgridItem span={6}>
> UI Components provides a strong, responsive, and accessible library of
foundational React components.

<img
className="mt-5"
src="hero-13.jpg"
alt="An illustration of web page rendered on both desktop and mobile devices."
title="Hero image of a web page rendered on both desktop and mobile devices."
height={300}
width={300}
/>
<ButtonIcon
spacing={{ t: 8 }}
labelLeft="Installation"
noBorder
onClick={linkTo("getting-started--installation")}
>
<IconNext decorative monotone />
</ButtonIcon>

</FlexgridItem>
<FlexgridItem>
<img
className="mt-5"
src="hero-14.jpg"
alt="An illustration of web page rendered on both desktop and mobile devices."
title="Hero image of a web page rendered on both desktop and mobile devices."
height={400}
width={400}
/>
</FlexgridItem>
</Flexgrid>

## Features

Expand Down Expand Up @@ -62,14 +78,3 @@ import {
</li>
</ul>
</div>

<div className="not-docs-typography mt-8">
<Flexgrid alignHorizontal="flex-end">
<FlexgridItem>
<ButtonIcon labelLeft="Installation" noBorder onClick={linkTo("getting-started--installation")}>
<IconNext decorative monotone />
</ButtonIcon>
</FlexgridItem>
</Flexgrid>

</div>

0 comments on commit 6a2d683

Please sign in to comment.