docs: Post component comments

This commit is contained in:
sevonj committed 2024-07-06 18:02:50 +03:00
1 parent 80fff16671
commit 45f73ff3dc
6 files changed
+27

No files matched your search

@@ -23,6 +23,12 @@
let showAltText = false
</script>
<!--
@component
This component will show either
- A media item (pictures, videos) (large form factor posts only)
- Embed link/card.
-->
{#if type == 'image'}
{#if view == 'card' || view == 'cozy'}
<!--disabled preloads here since most people will hover over every image while scrolling-->