<div class="card">
</div>
{# --BLUEPRINT DO NOT REMOVE--
/--BLUEPRINT DO NOT REMOVE-- #}
<div class="card">
</div>
/* No context defined. */
<?php
namespace Theme\Views\Molecules\card;
use ACFToolkit\Types\CustomMolecule;
class Card extends CustomMolecule
{
public string $name = 'card';
public string $label = 'Card';
public int $needsJs = 0;
public int $needsVue = 0;
public int $needsVueInitialisation = 0;
public function __construct($name = '', $title = '', $children = [])
{
parent::__construct($name, $title);
$this->addChildren(array_merge($children, [
]));
}
}
<?php
namespace Theme\Views\Molecules\card;
use ACFToolkit\ViewModels\BaseViewModel;
class CardViewModel extends BaseViewModel
{
}
.card {
&.uploaded-image {
@apply inline-block rounded-lg overflow-hidden relative;
.member-avatar-layer {
@apply absolute left-0 bottom-0 z-20 w-full;
}
}
}
{% include '@molecules/card/card.twig' with {
} only %}Fields