mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:08:32 +02:00
Add trial status to links
This commit is contained in:
@@ -62,7 +62,7 @@ function SettingsLicenseCmp() {
|
|||||||
<p>
|
<p>
|
||||||
<Link
|
<Link
|
||||||
noUnderline
|
noUnderline
|
||||||
href="https://yaak.app/pricing?s=learn"
|
href={`https://yaak.app/pricing?s=learn&t=${check.data?.type ?? ''}`}
|
||||||
className="text-sm text-notice opacity-80 hover:opacity-100"
|
className="text-sm text-notice opacity-80 hover:opacity-100"
|
||||||
>
|
>
|
||||||
Learn More
|
Learn More
|
||||||
@@ -98,18 +98,17 @@ function SettingsLicenseCmp() {
|
|||||||
</HStack>
|
</HStack>
|
||||||
) : (
|
) : (
|
||||||
<HStack space={2}>
|
<HStack space={2}>
|
||||||
<Button
|
<Button variant="border" color="secondary" size="sm" onClick={toggleActivateFormVisible}>
|
||||||
variant="border"
|
|
||||||
color="secondary"
|
|
||||||
size="sm"
|
|
||||||
onClick={toggleActivateFormVisible}
|
|
||||||
>
|
|
||||||
Activate License
|
Activate License
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
color="primary"
|
color="primary"
|
||||||
onClick={() => openUrl('https://yaak.app/pricing?s=purchase&ref=app.yaak.desktop')}
|
onClick={() =>
|
||||||
|
openUrl(
|
||||||
|
`https://yaak.app/pricing?s=purchase&ref=app.yaak.desktop&t=${check.data?.type ?? ''}`,
|
||||||
|
)
|
||||||
|
}
|
||||||
rightSlot={<Icon icon="external_link" />}
|
rightSlot={<Icon icon="external_link" />}
|
||||||
>
|
>
|
||||||
Purchase License
|
Purchase License
|
||||||
|
|||||||
Reference in New Issue
Block a user