forked from brooksbingham/theme-elegance
refactor: style the link block
parent
d25067a064
commit
93f15c1620
|
@ -22,16 +22,16 @@
|
||||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
<div class="container">
|
<div class="flex flex-wrap flex-1">
|
||||||
{foreach $linkBlocks as $linkBlock}
|
{foreach $linkBlocks as $linkBlock}
|
||||||
<div class="flex flex-col mb-4">
|
<div class="flex flex-col mb-4 w-1/3">
|
||||||
<div class="font-bold mb-4">
|
<div class="font-bold mb-4">
|
||||||
{$linkBlock.title}
|
{$linkBlock.title}
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul class="flex flex-col">
|
||||||
{foreach $linkBlock.links as $link}
|
{foreach $linkBlock.links as $link}
|
||||||
<li>
|
<li class="flex">
|
||||||
<a id="{$link.id}-{$linkBlock.id}" class="{$link.class}" href="{$link.url}" title="{$link.description}" {if !empty($link.target)} target="{$link.target}" {/if}>
|
<a id="{$link.id}-{$linkBlock.id}" class="text-sm font-normal leading-6 {$link.class}" href="{$link.url}" title="{$link.description}" {if !empty($link.target)} target="{$link.target}" {/if}>
|
||||||
{$link.title}
|
{$link.title}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue