diff --git a/docs/get-started/index.md b/docs/get-started/index.md index 9328dc203b4..7780cee4fba 100644 --- a/docs/get-started/index.md +++ b/docs/get-started/index.md @@ -6,22 +6,7 @@ hideRendererSelector: true export const RightArrow = () => ( - - - + ); @@ -48,94 +33,104 @@ Storybook is a standalone tool that runs alongside your app. It's a zero-config -Want to know more about the installation process? Check out the [installation guide](./install.md). - -Storybook works with many frontend tools. Choose your framework to get started and learn more. - -
- +
+

Next.js

-

Next.js is a React framework for building full-stack web applications.

- + -

React + Vite

-

React is the library for web and native user interfaces. Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects.

+
+

React

+

with Vite

+
- + -

React + Webpack

-

React is the library for web and native user interfaces. Webpack is a static module bundler for modern JavaScript applications.

+
+

React

+

with Webpack

+
- +

React Native

-

React Native combines the best parts of native development with React, a best-in-class JavaScript library for building user interfaces.

- + -

Vue + Vite

-

Vue is an approachable, performant, and versatile framework for building web user interfaces. Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects.

+
+

Vue

+

with Vite

+
- + -

Vue + Webpack

-

Vue is an approachable, performant, and versatile framework for building web user interfaces. Webpack is a static module bundler for modern JavaScript applications.

+
+

Vue

+

with Webpack

+
- +

Angular

-

Angular is a development platform, built on TypeScript.

- +

SvelteKit

-

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte.

- + -

Svelte + Vite

-

Svelte is a front-end, open-source JavaScript framework for making interactive webpages. Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects.

+
+

Svelte

+

with Vite

+
- + -

Svelte + Webpack

-

Svelte is a front-end, open-source JavaScript framework for making interactive webpages. Webpack is a static module bundler for modern JavaScript applications.

+
+

Svelte

+

with Webpack

+
- + -

Web components + Vite

-

Web components are a set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use in web pages and web apps. Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects.

+
+

Web Components

+

with Vite

+
- + -

Web components + Webpack

-

Web components are a set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use in web pages and web apps. Webpack is a static module bundler for modern JavaScript applications.

+
+

Web Components

+

with Webpack

+
+Want to know more about the installation process? Check out the [installation guide](./install.md). + ## Main concepts Storybook is a powerful tool that can help you with many aspects of your UI development workflow. Here are some of the main concepts to get you started.
- +

Stories

A story captures the rendered state of a UI component. Each component can have multiple stories which describe all the "interesting" states that component supports.

- +

Docs

Storybook automatically creates documentation for your components using your stories. That allows you to create UI library usage guidelines, design system sites, and more.

- +

Testing

Stories are a pragmatic starting point for your UI testing strategy. You already write stories as a natural part of UI development, testing those stories is a low-effort way to prevent UI bugs over time.

- +

Sharing

Publishing your Storybook allows you to share your work with others. It can also be embedded in other places like Notion or Figma.

@@ -147,31 +142,31 @@ Storybook is a powerful tool that can help you with many aspects of your UI deve Once you've got the basics down, you can explore these other ways to get the most out of Storybook.
- + Essential addons - + Addon catalog - + Recipes - + Builders - + How to contribute - + Migrate to 8.0 - + FAQ @@ -180,13 +175,13 @@ Once you've got the basics down, you can explore these other ways to get the mos ---
-
+ -
+

Latest product updates

-

See changelog

+ See changelog
@@ -198,15 +193,27 @@ Once you've got the basics down, you can explore these other ways to get the mos } .sb-grid.two-up { - grid-template-columns: repeat(2, 1fr); + grid-template-columns: repeat(1, 1fr); } .sb-grid.three-up { - grid-template-columns: repeat(3, 1fr); + grid-template-columns: repeat(1, 1fr); } - - .sb-grid.four-up { - grid-template-columns: repeat(4, 1fr); + + @media (min-width: 440px) { + .sb-grid.two-up { + grid-template-columns: repeat(2, 1fr); + } + + .sb-grid.three-up { + grid-template-columns: repeat(2, 1fr); + } + } + + @media (min-width: 1280px) { + .sb-grid.three-up { + grid-template-columns: repeat(3, 1fr); + } } a.sb-grid-item.sb-grid-item.sb-grid-item { @@ -219,6 +226,8 @@ Once you've got the basics down, you can explore these other ways to get the mos border: 1px solid #D9E8F2; padding: 12px; transition: border-color 0.2s ease; + color: inherit; + text-decoration: none; } .card:hover { @@ -230,12 +239,16 @@ Once you've got the basics down, you can explore these other ways to get the mos font-weight: 600; line-height: 28px; margin: 0; + color: #000; + text-decoration: none; } .card p { font-size: 14px; line-height: 24px; margin: 0; + color: #454E54; + text-decoration: none; } .card.card-large { @@ -246,35 +259,55 @@ Once you've got the basics down, you can explore these other ways to get the mos font-size: 18px; font-weight: 700; } - - .media.media.media { - display: grid; + + .framework { + display: flex !important; + flex-direction: row; + align-items: center; + height: 80px; + gap: 12px; + padding-left: 20px; } - .media { + .framework h3 { + line-height: 18px; + } + + .concept { + display: grid !important; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; - gap: 0 12px; - } - - .media .img { - align-self: baseline; - } - - .media:not(.media-title-only) .img { - grid-row: span 2; - } - - .media-title-only { + gap: 12px; row-gap: 12px; } - .media-title-only .img { + .concept .img { + align-self: baseline; margin-top: 4px; } - .media-title-only p { + .concept p { grid-column: span 2; } + + .resource { + display: flex !important; + align-items: center; + gap: 8px; + } + + .help { + margin-bottom: 24px; + } + + .help h3 { + margin-top: 0; + } + + .help a { + display: flex !important; + align-items: center; + gap: 4px; + } `}