feat: community preview in feeds
This commit is contained in:
1 parent
31d295747b
commit
87649204ba
4 files changed
+152
-130
No files matched your search
@@ -42,6 +42,7 @@
|
||||
|
||||
{#if optimizedURLs[0] != undefined}
|
||||
<img
|
||||
{...$$restProps}
|
||||
loading="lazy"
|
||||
srcset="{optimizedURLs[0]} 1x, {optimizedURLs[1]} 2x, {optimizedURLs[2]} 4x, {optimizedURLs[3]} 6x"
|
||||
src={optimizedURLs[0]}
|
||||
@@ -49,7 +50,7 @@
|
||||
{width}
|
||||
{title}
|
||||
class="aspect-square object-cover overflow-hidden {$$props.class} flex-shrink-0"
|
||||
style="width: {width}px; height: {width}px;"
|
||||
style="width: {width}px; height: {width}px; {$$props.style || undefined}"
|
||||
class:rounded-full={circle}
|
||||
class:rounded-md={!circle}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user