Skip to content

Commit 0c90eb5

Browse files
committed
docs: replace recorded gif with animated svg
This reduces the file size, makes the recording sharp as well as makes the page look better in dark mode. The recording is done using https://asciinema.org/ and converted to svg with https://github.com/marionebl/svg-term-cli
1 parent 4435abe commit 0c90eb5

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed
-846 KB
Binary file not shown.

docs/assets/create-react-native-library.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/pages/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ npx create-react-native-library@latest awesome-library
2525

2626
This will ask you a few questions about your project and generate a new project in a folder named `awesome-library`.
2727

28-
![Demo](../assets/create-react-native-library.gif)
28+
![Demo](../assets/create-react-native-library.svg)
2929

3030
After the project is created, you can find the development workflow in the generated `CONTRIBUTING.md` file.
3131

lefthook.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ pre-commit:
99
run: npx tsc --noEmit
1010
markdown:
1111
glob: "*.md"
12-
run: npx prettier --write {staged_files} && git add {staged_files}
12+
run: npx prettier --write {staged_files}
13+
stage_fixed: true
1314
commit-msg:
1415
parallel: true
1516
commands:

0 commit comments

Comments
 (0)