Skip to content

Commit 79fe43c

Browse files
committed
todo
1 parent 86d5b84 commit 79fe43c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/working-notes/todo4.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,18 @@ height and width MUST be defined ON SERVER component to prevent layout shift
113113
----
114114
img srcset
115115
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
117118
--------
119+
fora-1: astro Image client component sa getImage({widths, sizes}) create responsive <img /> props
118120
fora0: cant pass props from client component to child server component - slot (astro Image component)
119121
fora1: margin collapsing disabled in flex, grid, mdx container
120122
fora2: client component size must be set in server component to prevent layout shift (flex or height and max-height)
121123
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()
122128
```
123129

124130

0 commit comments

Comments
 (0)