|
1 | 1 | import {
|
| 2 | + ArrowUpRightIcon, |
2 | 3 | CheckIcon,
|
3 | 4 | ExclamationTriangleIcon,
|
4 | 5 | ShieldCheckIcon,
|
5 | 6 | XMarkIcon,
|
6 | 7 | } from "@heroicons/react/20/solid";
|
7 |
| -import { ArrowDownCircleIcon, XCircleIcon } from "@heroicons/react/24/outline"; |
| 8 | +import { ArrowDownCircleIcon } from "@heroicons/react/24/outline"; |
8 | 9 | import { Form, useLocation, useNavigation } from "@remix-run/react";
|
9 | 10 | import { ActionFunctionArgs } from "@remix-run/server-runtime";
|
10 | 11 | import { PlainClient, uiComponent } from "@team-plain/typescript-sdk";
|
11 |
| -import { GitHubLightIcon } from "@trigger.dev/companyicons"; |
12 | 12 | import {
|
13 | 13 | FreePlanDefinition,
|
14 | 14 | Limits,
|
@@ -331,7 +331,7 @@ export function TierFree({
|
331 | 331 | <div className="relative">
|
332 | 332 | <PricingHeader title={plan.title} cost={0} />
|
333 | 333 | <TierLimit href="https://trigger.dev/pricing#computePricing">
|
334 |
| - ${plan.limits.includedUsage / 100} free usage |
| 334 | + ${plan.limits.includedUsage / 100} free monthly usage |
335 | 335 | </TierLimit>
|
336 | 336 | {showGithubVerificationBadge && status === "approved" && (
|
337 | 337 | <SimpleTooltip
|
@@ -810,21 +810,28 @@ function PricingHeader({
|
810 | 810 | function TierLimit({ children, href }: { children: React.ReactNode; href?: string }) {
|
811 | 811 | return (
|
812 | 812 | <>
|
| 813 | + <hr className="my-6 border-grid-bright" /> |
813 | 814 | {href ? (
|
814 |
| - <div> |
815 |
| - <hr className="my-6 border-grid-bright" /> |
816 |
| - <a |
817 |
| - href={href} |
818 |
| - className="hover:decoration-bright font-sans text-lg font-normal text-text-bright underline decoration-charcoal-500 underline-offset-4 transition" |
819 |
| - > |
820 |
| - {children} |
821 |
| - </a> |
822 |
| - </div> |
| 815 | + <SimpleTooltip |
| 816 | + buttonClassName="text-left w-fit" |
| 817 | + disableHoverableContent |
| 818 | + button={ |
| 819 | + <a |
| 820 | + href={href} |
| 821 | + className="text-left font-sans text-lg font-normal text-text-bright underline decoration-charcoal-500 underline-offset-4 transition hover:decoration-text-bright" |
| 822 | + > |
| 823 | + {children} |
| 824 | + </a> |
| 825 | + } |
| 826 | + content={ |
| 827 | + <div className="flex items-center gap-1"> |
| 828 | + <Paragraph variant="small">View detailed compute pricing information</Paragraph> |
| 829 | + <ArrowUpRightIcon className="size-4 text-text-dimmed" /> |
| 830 | + </div> |
| 831 | + } |
| 832 | + /> |
823 | 833 | ) : (
|
824 |
| - <div> |
825 |
| - <hr className="my-6 border-grid-bright" /> |
826 |
| - <div className="font-sans text-lg font-normal text-text-bright">{children}</div> |
827 |
| - </div> |
| 834 | + <div className="font-sans text-lg font-normal text-text-bright">{children}</div> |
828 | 835 | )}
|
829 | 836 | </>
|
830 | 837 | );
|
|
0 commit comments