Download resources/views/default/components/section-header.blade.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 578 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/resources/views/default/components/section-header.blade.php
- Command line
-
hf download hf://pnacorp/magicai/resources/views/default/components/section-header.blade.php
-
curl -L -o section-header.blade.php https://huggingface.co/pnacorp/magicai/resolve/main/resources/views/default/components/section-header.blade.php
578 Bytes
| $wrapper_classnames = ['lqd-section-header', 'mx-auto', 'text-center']; | |
| if (empty($width)) { | |
| $wrapper_classnames[] = 'w-2/5'; | |
| } else { | |
| $wrapper_classnames[] = $width; | |
| } | |
| if (empty($mb)) { | |
| $wrapper_classnames[] = 'mb-14'; | |
| } else { | |
| $wrapper_classnames[] = 'mb-' . $mb; | |
| } | |
| <header class="{{ join(' ', $wrapper_classnames) }} max-xl:w-8/12 max-lg:w-10/12 max-md:w-full"> | |
| {{ $slot }} | |
| <h2 class="lqd-section-header-title mb-[0.45em]">{{ $title }}</h2> | |
| <p class="lqd-section-header-desc text-[18px] leading-[1.444em]">{{ $subtitle }}</p> | |
| </header> | |