/
githubmirror
/
tabler
Обзор
Документация
Войти
/
githubmirror
/
tabler
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
shared/components/cards/IconsBanner.astro
33 строки
1 KB
Paweł Kuna
Add quality gates: Prettier for Astro, astro check for shared, unused SCSS variable lint (#2749)
03 авг 2026, 01:47
Не верифицирован
03 авг 2026, 01:47
8962710
Код
Авторство
О чём код?
--- import Icon from '@ui/Icon.astro' import CardStamp from '@ui/CardStamp.astro' import Prose from '@ui/Prose.astro' import { site } from '@shared/lib/site' interface Props { class?: string } const { class: className } = Astro.props --- <div class:list={['card card-md', className]}> <CardStamp size="lg" icon="ghost" color="primary" /> <div class="card-body"> <div class="row align-items-center"> <div class="col-10"> <h3 class="h1">Tabler Icons</h3> <Prose> All icons come from the Tabler Icons set and are MIT-licensed. Visit <a href={site.icons.link} target="_blank" rel="noopener">Tabler Icons Website</a>, download any of the {site.iconsCount} icons in SVG, PNG or React and use them in your favourite design tools. </Prose> <div class="mt-3"> <a href={site.icons.link} class="btn btn-primary" target="_blank" rel="noopener"> <Icon name="download" /> Download icons </a> </div> </div> </div> </div> </div>