Add trial status to links

This commit is contained in:
Gregory Schier
2025-10-01 21:14:26 -07:00
parent cb1c0e4d8c
commit 57f231ca00

View File

@@ -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