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>
<img align="right" width="35%" src="../img/ultra-wide-demo.gif" />
<img align="right" width="35%" src="./img/ultra-wide-demo.gif" />
</div>
## Animations

View File

@ -5,7 +5,7 @@ sidebar_label: Camera Devices
---
<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>
### What are camera devices?

View File

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

View File

@ -5,7 +5,7 @@ sidebar_label: Camera Formats
---
<div>
<img align="right" width="35%" src="../static/img/example.png" />
<img align="right" width="35%" src="../img/example.png" />
</div>
### 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 -->
<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>
### 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.
<div align="center">
<img src="../img/snap-code.png" width="15%" />
<img src="./img/snap-code.png" width="15%" />
</div>
<br />

View File

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

View File

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

View File

@ -1,5 +1,5 @@
<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>

View File

@ -7,7 +7,7 @@ import { Camera, CameraPermissionStatus } from 'react-native-vision-camera';
import { CONTENT_SPACING, SAFE_AREA_PADDING } from './Constants';
// 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 }) => {
const [cameraPermissionStatus, setCameraPermissionStatus] = useState<CameraPermissionStatus>('not-determined');