Merge branch 'main' into hosted
This commit is contained in:
commit
a6be4379e5
@ -178,7 +178,7 @@ function App() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mt-2">
|
<div className="mt-2">
|
||||||
{IS_RUNNING_ON_CLOUD && <PicoBadge />}
|
{IS_RUNNING_ON_CLOUD && <PicoBadge settings={settings} />}
|
||||||
{IS_RUNNING_ON_CLOUD && (
|
{IS_RUNNING_ON_CLOUD && (
|
||||||
<TermsOfServiceDialog
|
<TermsOfServiceDialog
|
||||||
open={!settings.isTermOfServiceAccepted}
|
open={!settings.isTermOfServiceAccepted}
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
export function PicoBadge() {
|
import { Settings } from "../types";
|
||||||
|
|
||||||
|
export function PicoBadge({ settings }: { settings: Settings }) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<a href="https://buy.stripe.com/8wM6sre70gBW1nqaEE" target="_blank">
|
<a href="https://buy.stripe.com/8wM6sre70gBW1nqaEE" target="_blank">
|
||||||
@ -20,14 +22,26 @@ export function PicoBadge() {
|
|||||||
feature requests?
|
feature requests?
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://picoapps.xyz?ref=screenshot-to-code" target="_blank">
|
{!settings.accessCode && (
|
||||||
<div
|
<a href="https://picoapps.xyz?ref=screenshot-to-code" target="_blank">
|
||||||
className="fixed z-50 bottom-5 right-5 rounded-md shadow text-black
|
<div
|
||||||
|
className="fixed z-50 bottom-5 right-5 rounded-md shadow text-black
|
||||||
bg-white px-4 text-xs py-3 cursor-pointer"
|
bg-white px-4 text-xs py-3 cursor-pointer"
|
||||||
>
|
>
|
||||||
an open source project by Pico
|
an open source project by Pico
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
)}
|
||||||
|
{settings.accessCode && (
|
||||||
|
<a href="mailto:support@picoapps.xyz" target="_blank">
|
||||||
|
<div
|
||||||
|
className="fixed z-50 bottom-5 right-5 rounded-md shadow text-black
|
||||||
|
bg-white px-4 text-xs py-3 cursor-pointer"
|
||||||
|
>
|
||||||
|
email support
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user