Skip to content

Commit

Permalink
fix dark
Browse files Browse the repository at this point in the history
  • Loading branch information
catdevnull committed Nov 30, 2024
1 parent 85a1bb9 commit 0be7327
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions sitio/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,18 @@
</Popover.Root>

<div class="grid gap-4 text-left md:grid-cols-2">
<div class="flex flex-col rounded-lg bg-neutral-100 p-4">
<div
class="flex flex-col rounded-lg bg-neutral-100 p-4 dark:bg-neutral-800"
>
<span class="text-xl">Milei estuvo aproximadamente</span>
<span class="text-4xl font-black leading-none">
{formatDurationFromMs(totalTime)}
</span>
<span class="text-xl">en Twitter.</span>
</div>
<div class="flex items-center gap-4 rounded-lg bg-neutral-100 p-4">
<div
class="flex items-center gap-4 rounded-lg bg-neutral-100 p-4 dark:bg-neutral-800"
>
{#if likesCutoffReached}
<Repeat2 class="size-12" />
{:else}
Expand Down Expand Up @@ -247,7 +251,7 @@
{/if}

<section
class="mx-auto flex w-full max-w-2xl flex-col gap-4 bg-neutral-100 p-4 md:rounded-lg"
class="mx-auto flex w-full max-w-2xl flex-col gap-4 bg-neutral-100 p-4 md:rounded-lg dark:bg-neutral-800"
>
<h2 class=" my-2 text-center text-xl font-bold md:text-4xl">
Su actividad en {dayjs(data.start).isAfter(dayjs().startOf("month"))
Expand Down Expand Up @@ -329,7 +333,7 @@
Como lo viste en la prensa
</h2>
<div
class="mx-auto flex flex-col items-center justify-center gap-4 bg-neutral-100 p-2 md:mb-8 md:flex-row md:rounded-lg md:text-lg"
class="mx-auto flex flex-col items-center justify-center gap-4 bg-neutral-100 p-2 md:mb-8 md:flex-row md:rounded-lg md:text-lg dark:bg-neutral-800"
>
<img
class="w-[300px] rounded-lg"
Expand Down

0 comments on commit 0be7327

Please sign in to comment.