mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-27 06:33:18 +00:00
23 lines
725 B
PHP
23 lines
725 B
PHP
@aware(['axis' => 'x'])
|
|
|
|
@if ($axis === 'x')
|
|
<template name="axis-line">
|
|
<line {{ $attributes->merge([
|
|
'class' => '[:where(&)]:text-zinc-300 dark:[:where(&)]:text-white/40',
|
|
'orientation' => 'bottom',
|
|
'stroke-width' => '1',
|
|
'stroke' => 'currentColor',
|
|
'fill' => 'none',
|
|
]) }}></line>
|
|
</template>
|
|
@else
|
|
<template name="axis-line">
|
|
<line {{ $attributes->merge([
|
|
'class' => '[:where(&)]:text-zinc-300 dark:[:where(&)]:text-white/40',
|
|
'orientation' => 'left',
|
|
'stroke-width' => '1',
|
|
'stroke' => 'currentColor',
|
|
'fill' => 'none',
|
|
]) }}></line>
|
|
</template>
|
|
@endif |