File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -113,12 +113,18 @@ height and width MUST be defined ON SERVER component to prevent layout shift
113
113
----
114
114
img srcset
115
115
copy hooks for width for page size and observer form react - use or usehooks
116
-
116
+ rename all - images to gallery - images or gallery
117
+ og - image has its own random folder , reuse all gallery images
117
118
--------
119
+ fora - 1 : astro Image client component sa getImage ({widths , sizes }) create responsive < img / > props
118
120
fora0 : cant pass props from client component to child server component - slot (astro Image component )
119
121
fora1 : margin collapsing disabled in flex , grid , mdx container
120
122
fora2 : client component size must be set in server component to prevent layout shift (flex or height and max - height )
121
123
fora3 : px suffix for style = {{width , height }} in react
124
+ --------
125
+ must pass widths i sizes u getImage () za responsivne slike
126
+ eventi ne moze na < img / > ali moze na < div / > okolo , <Image /> ide u slot // no scroll transition, no blur preloader
127
+ bolje props od getImage ()
122
128
```
123
129
124
130
You can’t perform that action at this time.
0 commit comments