diff --git a/.gitignore b/.gitignore index f4f89e5..00871d2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +package-lock.json # testing /coverage diff --git a/.xata/version/compatibility.json b/.xata/version/compatibility.json new file mode 100644 index 0000000..9d49ef9 --- /dev/null +++ b/.xata/version/compatibility.json @@ -0,0 +1 @@ +{"@xata.io/cli":{"latest":"0.16.11","compatibility":[{"range":">=0.0.0"}]},"@xata.io/client":{"latest":"0.30.1","compatibility":[{"range":">=0.0.0"}]}} \ No newline at end of file diff --git a/src/app/(public)/_components/button.tsx b/src/app/(public)/_components/button.tsx index a56b3b1..f7590ce 100644 --- a/src/app/(public)/_components/button.tsx +++ b/src/app/(public)/_components/button.tsx @@ -11,10 +11,10 @@ export function Button({ ...props }: PropsWithChildren) { return ( -
+
diff --git a/src/app/(public)/repos/[language]/_components/repo-card.tsx b/src/app/(public)/repos/[language]/_components/repo-card.tsx index 40b665b..bf6ba23 100644 --- a/src/app/(public)/repos/[language]/_components/repo-card.tsx +++ b/src/app/(public)/repos/[language]/_components/repo-card.tsx @@ -31,7 +31,7 @@ export function RepoCard({ repo }: RepoCardProps) { const hasMoreTopics = sortedTopics.length > MAX_TOPICS_DISPLAY; return ( -
+
@@ -82,11 +82,10 @@ export function RepoCard({ repo }: RepoCardProps) { href={`https://github.com/topics/${topic}`} target="_blank" rel="noreferrer" - className={`badge inline px-3 py-0.5 h-auto ${ - topic === 'hacktoberfest' + className={`badge inline px-3 py-0.5 h-auto ${topic === 'hacktoberfest' ? 'bg-hacktoberfest-light-green text-hacktoberfest-dark-green' : 'bg-hacktoberfest-deep-pink text-hacktoberfest-light-pink' - }`} + }`} > {topic} @@ -98,7 +97,7 @@ export function RepoCard({ repo }: RepoCardProps) {
{/* stars and forks cards */} -
+