Skip to content

Commit c58fe91

Browse files
committed
docs: fix up README
1 parent d9920d4 commit c58fe91

10 files changed

+10
-124
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<br/>
3-
<img width="300" src="./packages/qwik-image/assets/qwik-image-logo.png" alt="The goal is a component to support performant images on the web and automatic image optimization.
3+
<img width="300" src="./assets/qwik-image-logo.png" alt="The goal is a component to support performant images on the web and automatic image optimization.
44
That will be built as a pluggable component so devs could connect different image loaders to it (like Cloudinary, or builder)">
55
<br/>
66
<br/>
@@ -29,7 +29,7 @@ That will be built as a pluggable component so devs could connect different imag
2929

3030
## Showcase ( network Slow 3G 🤯 )
3131

32-
![qwik-image-showcase](./packages/qwik-image/assets/qwik-image-showcase.gif)
32+
![qwik-image-showcase](./assets/qwik-image-showcase.gif)
3333

3434
## Installation
3535

@@ -104,16 +104,16 @@ default: `transparent`
104104

105105
#### `background: 'rgba(37,99,235,1)';`
106106

107-
<img width="320" alt="placeholder-1" src="./packages/qwik-image/assets/placeholder-1.png">
107+
<img width="320" alt="placeholder-1" src="./assets/placeholder-1.png">
108108

109109
#### `background: 'linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(166,206,247,1) 0%, rgba(37,99,235,1) 83%);';`
110110

111-
<img width="320" alt="placeholder-2" src="./packages/qwik-image/assets/placeholder-2.png">
111+
<img width="320" alt="placeholder-2" src="./assets/placeholder-2.png">
112112

113113
#### `background: 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNUTX59BgAEaQJBWyqr7QAAAABJRU5ErkJggg==")';`
114114

115-
<img width="320" alt="placeholder-3" src="./packages/qwik-image/assets/placeholder-3.png">
115+
<img width="320" alt="placeholder-3" src="./assets/placeholder-3.png">
116116

117117
#### `background: 'url("/public/placeholder.jpg") no-repeat center / cover';`
118118

119-
<img width="320" alt="placeholder-4" src="./packages/qwik-image/assets/placeholder-4.png">
119+
<img width="320" alt="placeholder-4" src="./assets/placeholder-4.png">
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/qwik-image/README.md

-117
This file was deleted.

packages/qwik-image/vite.config.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ export default defineConfig({
2323
skipDiagnostics: true,
2424
}),
2525
viteStaticCopy({
26-
targets: [{ src: './README.md', dest: './' }],
26+
targets: [
27+
{ src: '../../README.md', dest: './' },
28+
{ src: '../../assets/*', dest: './assets/' },
29+
],
2730
}),
2831
],
2932
server: {

0 commit comments

Comments
 (0)