Fixed linting errors
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { GiftIcon } from "@heroicons/react/outline";
|
||||
export default function DonateBanner() {
|
||||
|
||||
if (location.hostname.endsWith(".calendso.com")) {
|
||||
return null;
|
||||
}
|
||||
if (location.hostname.endsWith(".calendso.com")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -17,21 +16,19 @@ return null;
|
||||
<GiftIcon className="h-6 w-6 text-white" aria-hidden="true" />
|
||||
</span>
|
||||
<p className="ml-3 font-medium text-white truncate">
|
||||
<span className="md:hidden">
|
||||
Support the ongoing development
|
||||
</span>
|
||||
<span className="md:hidden">Support the ongoing development</span>
|
||||
<span className="hidden md:inline">
|
||||
You're using the free self-hosted version. Support the
|
||||
ongoing development by making a donation.
|
||||
You're using the free self-hosted version. Support the ongoing development by making
|
||||
a donation.
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
<div className="order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto">
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
href="https://calendso.com/donate"
|
||||
className="flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-blue-600 bg-white hover:bg-blue-50"
|
||||
>
|
||||
className="flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-blue-600 bg-white hover:bg-blue-50">
|
||||
Donate
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
@apply font-medium;
|
||||
} */
|
||||
|
||||
.text {
|
||||
}
|
||||
|
||||
.text--body {
|
||||
@apply text-lg leading-relaxed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user