Skip to content

Commit 5bd9825

Browse files
feat: changelog and reame pages in storybook NO-JIRA (#85)
1 parent 45bd519 commit 5bd9825

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ function App() {
5353
}
5454
```
5555

56+
### Default font
57+
58+
Tetrisly uses [Inter](https://fonts.google.com/specimen/Inter) font as default. To add it to your app you should link it
59+
in your root `.html` file:
60+
61+
```html
62+
<link rel="preconnect" href="https://fonts.googleapis.com" />
63+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
64+
<link
65+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;450;600&display=swap"
66+
rel="stylesheet"
67+
/>
68+
```
69+
5670
## Usage/Examples
5771

5872
```typescript

src/docs-pages/Changelog.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { Meta, Markdown } from '@storybook/addon-docs';
2+
import changeLog from '@/../CHANGELOG.md?raw';
3+
4+
<Meta title="Docs/Changelog" />
5+
6+
<Markdown>{changeLog}</Markdown>

src/docs-pages/ReadMe.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { Meta, Markdown } from '@storybook/addon-docs';
2+
import readme from '@/../README.md?raw';
3+
4+
<Meta title="Docs/ReadMe" />
5+
6+
<Markdown>{readme}</Markdown>

0 commit comments

Comments
 (0)