<!-- Error rendering component -->
<!-- TwigException: Unable to find filter resize -->
<!-- Error: TwigException: Unable to find filter resize
at /builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:156:24
at new Promise (<anonymous>)
at TwigAdapter.render (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:134:16)
at ComponentSource._renderVariant (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/fractal/src/api/components/source.js:212:30)
at _renderVariant.next (<anonymous>)
at onFulfilled (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/co/index.js:65:19) -->
{# --BLUEPRINT DO NOT REMOVE--
<!-- atom / Avatar avatar -->
{% include '@atoms/Avatar/.twig' with avatar only %}
/--BLUEPRINT DO NOT REMOVE-- #}
<a class="message-preview no-underline my-0.75 inline-block" href="{{ link }}">
<span class="flex justify-between">
<span class="flex items-center gap-x-1">
{% include '@atoms/avatar/avatar.twig' with {avatar: avatar} only %}
{% include '@atoms/copy/copy.twig' with {
text: name,
className: 'caption'
} %}
</span>
{% include '@atoms/copy/copy.twig' with {
text: date|date('d.m.Y'),
type: 'small',
className: 'caption'
} %}
</span>
{% include '@atoms/copy/copy.twig' with {
text: messagePreview,
className: 'flex pl-4.5 message-preview-text'
} %}
</a>
{
"avatar": {
"default": {
"src": "https://loremflickr.com/100/100/peoples?lock=8674128630382592",
"alt": "Quas perspiciatis impedit animi veniam.",
"width": 100,
"height": 100
},
"sources": [
{
"src": "https://loremflickr.com/100/100/peoples?lock=8674128630382592",
"media": "(max-width: 2560px)"
}
]
},
"link": "#",
"name": "Ova Z.",
"messagePreview": "Vitae doloremque adipisci odit consequuntur odio minima facere nesciunt voluptas quae autem animi vel dolore aliquam ducimus nihil possimus eligendi.",
"date": "2023-06-13T02:48:44.969Z"
}
{% include '@molecules/message_preview/message_preview.twig' with {
} only %}Fields avatar -> atom