Compare commits

..

2 Commits

2 changed files with 4 additions and 8 deletions

View File

@ -90,9 +90,9 @@ export function ProjectCard({
<CardContent className="mt-auto flex flex-col px-2"> <CardContent className="mt-auto flex flex-col px-2">
{tags?.badges && tags.badges.length > 0 && ( {tags?.badges && tags.badges.length > 0 && (
<div className="mt-2 flex flex-wrap gap-1"> <div className="mt-2 flex flex-wrap gap-1">
{tags.badges.map((b) => ( {tags.badges.map((b, i) => (
<Badge <Badge
key={crypto.randomUUID()} key={title + dates + b + i.toString()}
variant="secondary" variant="secondary"
className={clsx( className={clsx(
'px-1 py-0 text-[10px]', 'px-1 py-0 text-[10px]',

View File

@ -1,11 +1,7 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
export default { export default {
content: ['./src /**/*.{jsx,tsx content: ['./src /**/*.{jsx,tsx}'], // tell tailwind where to look
}' darkMode: ['selector', '[data-theme="dark"]', '.dark'],
], // tell tailwind where to look
darkMode: ['selector', '[data-theme="dark"
]', '.dark'
],
theme: { theme: {
extend: {}, extend: {},
}, },