feat: move to tailwindcss from twind

This commit is contained in:
2023-12-14 13:49:38 +01:00
parent d5975e9103
commit 01a9fbd673
10 changed files with 39 additions and 19 deletions

View File

@@ -27,6 +27,7 @@ export default function App({ Component }: AppProps) {
/>
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="stylesheet" href="/styles.css" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#141218" />
<script src="/thumbnails.js" type="module"></script>

View File

@@ -20,7 +20,7 @@ export default function MyLayout({ Component }: PageProps) {
return (
<a
href={m.link}
class={`flex items-center gap-2 text-white [data-current]:bg-white [data-current]:text-black p-3 text-xl w-full rounded-2xl`}
class={`flex items-center gap-2 text-white data-[current]:bg-white data-[current]:text-black p-3 text-xl w-full rounded-2xl`}
>
{<Emoji class="w-6 h-6" name={m.emoji} />} {m.name}
</a>