All Prompts
All Prompts

cardcalendarheatmaptailwinddashboardusage-historystatus-indicatorsresponsive
Irrigation Usage Calendar Card
Карточка календаря использования полива. Отображает 4 недели истории полива в сетке календаря. Отлично подходит для отслеживания статуса полива в IoT и садовых приложениях.
Prompt
<section class="md:col-span-8 lg:col-span-4 sm:p-6 flex flex-col shadow-black/60 min-h-[280px] bg-neutral-900 border-white/10 border rounded-3xl pt-5 pr-5 pb-5 pl-5 shadow-lg">
<div class="flex items-center justify-between mb-4">
<div>
<p class="text-xs font-medium uppercase tracking-[0.14em] text-neutral-400">Usage history</p>
<h2 class="text-[22px] font-semibold tracking-tight">Irrigation Calendar</h2>
</div>
<button class="inline-flex h-8 w-8 items-center justify-center rounded-full bg-neutral-800 border border-white/10 hover:bg-neutral-700 hover:border-white/20 transition">
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" width="1em" height="1em" viewBox="0 0 24 24" data-icon="solar:calendar-bold-duotone" class="iconify h-4.5 w-4.5 text-neutral-200 iconify--solar"><path fill="currentColor" d="M6.94 2c.416 0 .753.324.753.724v1.46c.668-.012 1.417-.012 2.26-.012h4.015c.842 0 1.591 0 2.259.013v-1.46c0-.4.337-.725.753-.725s.753.324.753.724V4.25c1.445.111 2.394.384 3.09 1.055c.698.67.982 1.582 1.097 2.972L22 9H2v-.724c.116-1.39.4-2.302 1.097-2.972s1.645-.944 3.09-1.055V2.724c0-.4.337-.724.753-.724" class=""></path><path fill="currentColor" d="M22 14v-2c0-.839-.004-2.335-.017-3H2.01c-.013.665-.01 2.161-.01 3v2c0 3.771 0 5.657 1.172 6.828S6.228 22 10 22h4c3.77 0 5.656 0 6.828-1.172S22 17.772 22 14" opacity=".5" class=""></path><path fill="currentColor" d="M18 17a1 1 0 1 1-2 0a1 1 0 0 1 2 0m0-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-5 4a1 1 0 1 1-2 0a1 1 0 0 1 2 0m0-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-5 4a1 1 0 1 1-2 0a1 1 0 0 1 2 0m0-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0" class=""></path></svg>
</button>
</div>
<p class="text-xs text-neutral-400 mb-4 border-b border-white/5 pb-3">412 litres used in the last 30 days.</p>
<div class="grid grid-cols-7 gap-2 text-center text-[11px] text-neutral-400 mb-2">
<span>M</span><span>T</span><span>W</span><span>T</span><span>F</span><span>S</span><span>S</span>
</div>
<div class="grid grid-cols-7 gap-2 flex-1">
<!-- Row 1 -->
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
<div class="absolute inset-y-0 right-0 h-7 w-3.5 rounded-r-full bg-amber-400"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
<div class="absolute inset-y-0 right-0 h-7 w-3.5 rounded-r-full bg-amber-400"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<!-- Row 2 -->
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
<div class="absolute inset-y-0 right-0 h-7 w-3.5 rounded-r-full bg-amber-400"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<!-- Row 3 -->
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
<div class="absolute inset-y-0 right-0 h-7 w-3.5 rounded-r-full bg-amber-400"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<!-- Row 4 -->
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-neutral-800 border border-white/10"></div>
</div>
<div class="relative flex items-center justify-center">
<div class="h-7 w-7 rounded-full bg-amber-400 border border-amber-200/80"></div>
</div>
</div>
<div class="mt-4 pt-3 border-t border-white/10 flex items-center justify-between text-[11px] text-neutral-400">
<div class="flex items-center gap-2">
<span class="inline-block h-2.5 w-2.5 rounded-full bg-amber-400"></span>
<span>Watered</span>
</div>
<div class="flex items-center gap-2">
<span class="inline-block h-2.5 w-2.5 rounded-full bg-neutral-700"></span>
<span>Skipped</span>
</div>
</div>
</section>