Fix small issue and add Mercury Cloud excetion (not github repo)

This commit is contained in:
2024-01-27 01:29:37 +01:00
parent df5e5ceb67
commit fca63b3665

View File

@@ -18,11 +18,13 @@ const projectCard = ({ project: { title, description, tags, link} }) => {
<div className="px-4 py-1 border-2 rounded-full dark:text-gray-300">{tag}</div>
))}
</div>
{title !== "Mercury Cloud" && (
<div className="w-full text-center">
<GitHubButton href={link} data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star ntkme/github-buttons on GitHub">Star</GitHubButton>
{" "}
<GitHubButton href={link + "/fork"} data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork ntkme/github-buttons on GitHub">Fork</GitHubButton>
</div>
)}
</div>
);
};