mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-27 06:33:18 +00:00
22 lines
618 B
PHP
22 lines
618 B
PHP
@aware(['axis' => 'x'])
|
|
|
|
@if ($axis === 'x')
|
|
<template name="grid-line">
|
|
<line {{ $attributes->merge([
|
|
'type' => 'horizontal',
|
|
'class' => 'text-zinc-200/50 dark:text-white/15',
|
|
'stroke' => 'currentColor',
|
|
'stroke-width' => '1',
|
|
]) }}></line>
|
|
</template>
|
|
@else
|
|
<template name="grid-line">
|
|
<line {{ $attributes->merge([
|
|
'type' => 'vertical',
|
|
'class' => 'text-zinc-200/50 dark:text-white/15',
|
|
'stroke' => 'currentColor',
|
|
'stroke-width' => '1',
|
|
]) }}></line>
|
|
</template>
|
|
@endif
|