mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-30 18:56:45 +02:00
Make large
This commit is contained in:
parent
58b4144f91
commit
8ff3313ca0
2 changed files with 4 additions and 3 deletions
|
@ -132,7 +132,7 @@ export function PayWallDialogContent(props: DialogProps) {
|
|||
</section>
|
||||
<footer className="space-y-4">
|
||||
<div className="grid gap-2">
|
||||
<UpgradeButton annual={period === "yearly"}>
|
||||
<UpgradeButton large annual={period === "yearly"}>
|
||||
<Trans i18nKey="subscribe" defaults="Subscribe" />
|
||||
</UpgradeButton>
|
||||
</div>
|
||||
|
|
|
@ -8,7 +8,8 @@ import { usePostHog } from "@/utils/posthog";
|
|||
export const UpgradeButton = ({
|
||||
children,
|
||||
annual,
|
||||
}: React.PropsWithChildren<{ annual?: boolean }>) => {
|
||||
large,
|
||||
}: React.PropsWithChildren<{ annual?: boolean; large?: boolean }>) => {
|
||||
const posthog = usePostHog();
|
||||
|
||||
return (
|
||||
|
@ -24,7 +25,7 @@ export const UpgradeButton = ({
|
|||
value={window.location.pathname}
|
||||
/>
|
||||
<Button
|
||||
size="lg"
|
||||
size={large ? "lg" : "default"}
|
||||
className="w-full"
|
||||
type="submit"
|
||||
variant="primary"
|
||||
|
|
Loading…
Add table
Reference in a new issue