Update img links

This commit is contained in:
Marc Rousavy 2021-03-03 12:42:28 +01:00
parent 0a0be78b10
commit 45c344c4df
9 changed files with 10 additions and 10 deletions

View File

@ -5,7 +5,7 @@ sidebar_label: Zooming with Reanimated
--- ---
<div> <div>
<img align="right" width="35%" src="../img/ultra-wide-demo.gif" /> <img align="right" width="35%" src="./img/ultra-wide-demo.gif" />
</div> </div>
## Animations ## Animations

View File

@ -5,7 +5,7 @@ sidebar_label: Camera Devices
--- ---
<div> <div>
<img align="right" width="35%" src="../static/img/ultra-wide-demo.gif" /> <img align="right" width="35%" src="../img/ultra-wide-demo.gif" />
</div> </div>
### What are camera devices? ### What are camera devices?

View File

@ -5,7 +5,7 @@ sidebar_label: Camera Errors
--- ---
<div> <div>
<img align="right" width="35%" src="../static/img/example_error.png" /> <img align="right" width="35%" src="../img/example_error.png" />
</div> </div>
## Why? ## Why?

View File

@ -5,7 +5,7 @@ sidebar_label: Camera Formats
--- ---
<div> <div>
<img align="right" width="35%" src="../static/img/example.png" /> <img align="right" width="35%" src="../img/example.png" />
</div> </div>
### What are camera formats? ### What are camera formats?

View File

@ -10,7 +10,7 @@ FRAME PROCESSORS ARE STILL WORK IN PROGRESS - SEE [#2](https://github.com/cuvent
<!-- TODO: Demo of QR code scanning or smth --> <!-- TODO: Demo of QR code scanning or smth -->
<div> <div>
<img align="right" width="35%" src="../static/img/ultra-wide-demo.gif" /> <img align="right" width="35%" src="./img/ultra-wide-demo.gif" />
</div> </div>
### What are frame processors? ### What are frame processors?
@ -20,7 +20,7 @@ Frame processors are functions that are written in JavaScript (or TypeScript) wh
For example, you might want to create a QR code scanner _without ever writing native code while still achieving almost-native performance_. Since you can write the scanning part yourself, you can implement a custom QR code system like the one Snapchat uses for Snap-codes. For example, you might want to create a QR code scanner _without ever writing native code while still achieving almost-native performance_. Since you can write the scanning part yourself, you can implement a custom QR code system like the one Snapchat uses for Snap-codes.
<div align="center"> <div align="center">
<img src="../img/snap-code.png" width="15%" /> <img src="./img/snap-code.png" width="15%" />
</div> </div>
<br /> <br />

View File

@ -6,7 +6,7 @@ slug: /
--- ---
<div> <div>
<img align="right" width="35%" src="../static/img/example_intro.png" /> <img align="right" width="35%" src="../img/example_intro.png" />
</div> </div>
## Installing the library ## Installing the library

View File

@ -5,7 +5,7 @@ sidebar_label: Troubleshooting
--- ---
<div> <div>
<img align="right" width="35%" src="../static/img/11_back.png" /> <img align="right" width="35%" src="../img/11_back.png" />
</div> </div>
Before opening an issue, make sure you try the following: Before opening an issue, make sure you try the following:

View File

@ -1,5 +1,5 @@
<div> <div>
<img align="right" width="35%" src="./../img/example.png"> <img align="right" width="35%" src="../docs/static/img/example.png">
<h1>Vison Camera playground</h1> <h1>Vison Camera playground</h1>

View File

@ -7,7 +7,7 @@ import { Camera, CameraPermissionStatus } from 'react-native-vision-camera';
import { CONTENT_SPACING, SAFE_AREA_PADDING } from './Constants'; import { CONTENT_SPACING, SAFE_AREA_PADDING } from './Constants';
// eslint-disable-next-line @typescript-eslint/no-var-requires // eslint-disable-next-line @typescript-eslint/no-var-requires
const BANNER_IMAGE = require('../../img/11.png') as ImageRequireSource; const BANNER_IMAGE = require('../docs/static/img/11.png') as ImageRequireSource;
export const Splash: NavigationFunctionComponent = ({ componentId }) => { export const Splash: NavigationFunctionComponent = ({ componentId }) => {
const [cameraPermissionStatus, setCameraPermissionStatus] = useState<CameraPermissionStatus>('not-determined'); const [cameraPermissionStatus, setCameraPermissionStatus] = useState<CameraPermissionStatus>('not-determined');