Skip to content

Commit 6557317

Browse files
fix: images paths in readme NO-JIRA (#86)
1 parent 5bd9825 commit 6557317

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="header.svg" width="100%" alt="css-in-readme">
1+
<img src="./public/header.svg" width="100%" alt="css-in-readme">
22

33
# Tetrisly React
44

@@ -53,20 +53,6 @@ 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-
7056
## Usage/Examples
7157

7258
```typescript
@@ -113,7 +99,7 @@ To run tests, run the following command
11399

114100
## Documentation
115101

116-
<img src="public/logo_docs.svg" />
102+
<img src="./public/logo_docs.svg" />
117103

118104
If you want to dive deeper into the components Tetrisly offers, check out our official documentation: [Tetrisly Docs](https://docs.tetrisly.com/)
119105

File renamed without changes.

src/docs-pages/ReadMe.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ import { Meta, Markdown } from '@storybook/addon-docs';
22
import readme from '@/../README.md?raw';
33

44
<Meta title="Docs/ReadMe" />
5-
6-
<Markdown>{readme}</Markdown>
5+
<Markdown>{readme.replaceAll('./public', '')}</Markdown>

0 commit comments

Comments
 (0)