Adding sign up button.

This commit is contained in:
Dessalines 2023-10-30 15:57:39 -04:00
parent ea6ae32be3
commit dd70d76b35
4 changed files with 13 additions and 8 deletions

@ -1 +1 @@
Subproject commit 5abee6854397d898bed9219b22166be718c2b8e7
Subproject commit 4e8db96053291ec8d147e41b4e6b4640dc16712f

@ -1 +1 @@
Subproject commit e80831ffe1885d98d88bd8c365f6c5898b523405
Subproject commit a6e2572e4c81f70ef9ae48e16c39265d4714f92c

@ -1 +1 @@
Subproject commit 6fbc86932a03c4d40829ee4a3395259b2a7660e5
Subproject commit 0bc4ee5944d2b5d1f2a83ec558788e7bc5d7a445

View file

@ -142,14 +142,19 @@ const InstanceCard = ({ instance }: InstanceCardProps) => {
monthlyUsers={monthlyUsers}
/>
</div>
<div className={`text-2xl font-bold ${TEXT_GRADIENT}`}>{domain}</div>
<a
href={buildUrl(domain)}
className={`text-2xl font-bold ${TEXT_GRADIENT}`}
>
{domain}
</a>
<p className="text-sm text-gray-300 mb-2">{description}</p>
<div className="flex flex-row flex-wrap justify-between gap-2">
<a
className="btn btn-primary text-white max-md:btn-block bg-gradient-to-r from-[#69D066] to-[#03A80E] normal-case"
href={buildUrl(domain)}
href={`${buildUrl(domain)}/signup`}
>
{i18n.t("browse_instance")}
{i18n.t("sign_up")}
</a>
<button
className="btn btn-secondary btn-outline text-white max-md:btn-block normal-case"
@ -297,9 +302,9 @@ export const DetailsModal = ({
)}
<a
className="btn btn-primary btn-block text-white normal-case"
href={buildUrl(domain)}
href={`${buildUrl(domain)}/signup`}
>
{i18n.t("browse_instance")}
{i18n.t("sign_up")}
</a>
</div>
</dialog>