also looking at this
refactor(ui): adopt shared workspace badges
#17
5 files
+118
-9
| @@ -18,7 +18,7 @@ const activity = [ | ||
| 18 | 18 | <div class="mx-auto max-w-[1500px]"> |
| 19 | 19 | <header class="flex flex-col gap-5 lg:flex-row lg:items-end lg:justify-between pb-7 border-[#171916]/10 border-b dark:border-white/10"> |
| 20 | 20 | <div> |
| 21 | <p class="mb-2 font-bold text-[#bd3e2e] dark:text-[#ff8a78] text-[11px] tracking-[0.2em] uppercase">Sunday Paper Co.</p> | |
| 21 | <p class="mb-2 font-bold text-[#bd3e2e] text-[11px] tracking-[0.2em] uppercase dark:text-[#ff8a78]">Sunday Paper Co.</p> | |
| 22 | 22 | <h1 class="max-w-3xl font-semibold text-3xl tracking-[-0.04em] sm:text-4xl">Your audience is growing. Three moments need your attention.</h1> |
| 23 | 23 | </div> |
| 24 | 24 | <div class="flex flex-wrap gap-2"> |
| @@ -32,7 +32,7 @@ const activity = [ | ||
| 32 | 32 | <div class="grid gap-3 sm:grid-cols-2 xl:grid-cols-4"> |
| 33 | 33 | @foreach(performance as item) |
| 34 | 34 | <article class="p-5 bg-white/75 dark:bg-white/[0.04] border border-[#171916]/10 rounded-[1.4rem] dark:border-white/10 shadow-[0_1px_0_rgba(23,25,22,0.04)] hover:shadow-[0_18px_45px_rgba(35,28,22,0.08)] transition group hover:-translate-y-0.5"> |
| 35 | <div class="flex items-center justify-between mb-6"><span class="grid place-items-center h-9 w-9 text-[#bd3e2e] dark:text-[#ff8c79] bg-[#fce5df] dark:bg-[#e65743]/15 rounded-full"><span class="h-[18px] w-[18px] {{ item.icon }}"></span></span><span class="px-2.5 py-1 font-bold text-[#42652e] text-[11px] dark:text-[#a8d28e] bg-[#eef5e8] dark:bg-[#75a65a]/15 rounded-full">{{ item.change }}</span></div> | |
| 35 | <div class="flex items-center justify-between mb-6"><span class="grid place-items-center h-9 w-9 text-[#bd3e2e] dark:text-[#ff8c79] bg-[#fce5df] dark:bg-[#e65743]/15 rounded-full"><span class="h-[18px] w-[18px] {{ item.icon }}"></span></span><Badge size="sm" className="workspace-change-badge">{{ item.change }}</Badge></div> | |
| 36 | 36 | <p class="font-semibold text-3xl tracking-[-0.04em]">{{ item.value }}</p><p class="mt-1 text-[#6c6f68] text-sm dark:text-[#aaa9a3]">{{ item.label }}</p> |
| 37 | 37 | </article> |
| 38 | 38 | @endforeach |