I need a way to identify the type of layout row e.g 1/2 1/2. I know I can use $layout->id() , but this is a random string unique to each layout. Is this possible?
<?php foreach ($page->features()->toLayouts() as $layout): ?>
<div class="flex flex-wrap md:-mx-3 layout-<?= $layout->id() ?>">
<?php foreach ($layout->columns() as $column): ?>
<div class="w-full sm:w-<?= $column->span() ?>/12 pb-[39px] md:px-3 ">
<?= $column->blocks() ?>
</div>
<?php endforeach ?>
</div>
<?php endforeach ?>