Tweak license message

This commit is contained in:
Gregory Schier
2024-12-17 06:14:12 -08:00
parent cb6e3d4ac8
commit a81f9d07cb
2 changed files with 11 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ export function SettingsLicense() {
<strong>License active!</strong> Enjoy using Yaak for commercial use. <strong>License active!</strong> Enjoy using Yaak for commercial use.
</Banner> </Banner>
) : ( ) : (
<Banner color="primary" className="flex flex-col gap-2"> <Banner color="primary" className="flex flex-col gap-3 max-w-lg">
{check.data?.type === 'trialing' && ( {check.data?.type === 'trialing' && (
<p> <p>
<strong>Your trial ends in {formatDistanceToNow(check.data.end)}.</strong> <strong>Your trial ends in {formatDistanceToNow(check.data.end)}.</strong>
@@ -34,14 +34,17 @@ export function SettingsLicense() {
)} )}
<p> <p>
A commercial license is required if using Yaak within a for-profit organization of two A commercial license is required if using Yaak within a for-profit organization of two
or more people. This helps support the ongoing development of Yaak and ensures continued or more people.{' '}
growth and improvement. <Link href="https://yaak.app/pricing" className="text-notice">
Learn More
</Link>
</p>
<p>
This helps support the ongoing development of Yaak and ensures continued growth and
improvement.{' '}
</p> </p>
<p>If you&#39;re using Yaak for personal use, no action is needed.</p> <p>If you&#39;re using Yaak for personal use, no action is needed.</p>
<p>~ Gregory</p> <p className="my-3">~ Gregory</p>
<Link href="https://yaak.app/pricing" className="text-sm text-text-subtle">
Learn More
</Link>
</Banner> </Banner>
)} )}

View File

@@ -30,7 +30,7 @@ export function Link({ href, children, className, event, ...other }: Props) {
{...other} {...other}
> >
<span className="underline">{children}</span> <span className="underline">{children}</span>
<Icon className="inline absolute right-0.5 top-1.5" size="xs" icon="external_link" /> <Icon className="inline absolute right-0.5 top-[0.3em]" size="xs" icon="external_link" />
</a> </a>
); );
} }