Skip to content

Commit 2330171

Browse files
committed
chore: move assets folder
1 parent 654968d commit 2330171

File tree

8 files changed

+9
-7
lines changed

8 files changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<br/>
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.
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.
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](./assets/qwik-image-showcase.gif)
32+
![qwik-image-showcase](./packages/qwik-image/assets/qwik-image-showcase.gif)
3333

3434
## Installation
3535

@@ -81,12 +81,15 @@ default: `lazy`
8181
## layout values:
8282

8383
### `constrained`
84+
8485
If the width of the image is larger than the screen, the screen size is taken, otherwise the actual image size is kept
8586

8687
### `fixed`
88+
8789
regardless of the screen width, the width of the image is kept
8890

8991
### `fullWidth`
92+
9093
the width of the image is always equal to the width of the screen
9194

9295
## objectFit values:
@@ -101,17 +104,16 @@ default: `transparent`
101104

102105
#### `background: 'rgba(37,99,235,1)';`
103106

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)