Skip to content

Commit c016605

Browse files
committed
modals: Improve Modal aesthetics
1 parent 926ec96 commit c016605

File tree

13 files changed

+31
-3
lines changed

13 files changed

+31
-3
lines changed

clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/finance/account/ClientPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ export default function ClientPage({
315315
) : null}
316316

317317
<Modal
318+
title="Create Payout Account"
318319
isShown={isShownSetupModal}
319320
className="min-w-[400px]"
320321
hide={hideSetupModal}

clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/settings/members/ClientPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export default function ClientPage({
9090
)}
9191

9292
<Modal
93+
title="Invite Member"
9394
className="max-w-(--breakpoint-sm)!"
9495
modalContent={
9596
<InviteMemberModal

clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/usage-billing/events/ClientPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ const ClientPage: React.FC<ClientPageProps> = ({ organization }) => {
341341
</div>
342342
</div>
343343
<Modal
344+
title="Create Event"
344345
isShown={isEventCreationGuideShown}
345346
hide={hideEventCreationGuide}
346347
modalContent={

clients/apps/web/src/components/Auth/GetStartedButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ const GetStartedButton = ({
7575
</Button>
7676

7777
<Modal
78+
title="Login"
7879
isShown={isModalShown}
7980
hide={hideModal}
8081
modalContent={

clients/apps/web/src/components/CheckoutLinks/CheckoutLinkPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export const CheckoutLinkPage = ({ checkoutLink }: CheckoutLinkPageProps) => {
121121
/>
122122

123123
<Modal
124+
title="Checkout QR Code"
124125
isShown={isQRCodeModalOpen}
125126
hide={hideQRCodeModal}
126127
modalContent={

clients/apps/web/src/components/CustomerPortal/CustomerPortalSettings.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ export const CustomerPortalSettings = ({
110110
</Well>
111111

112112
<Modal
113+
title="Add Payment Method"
113114
isShown={isAddPaymentMethodModalOpen}
114115
hide={hideAddPaymentMethodModal}
115116
modalContent={

clients/apps/web/src/components/CustomerPortal/OrderPaymentRetryModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export const OrderPaymentRetryModal = ({
9191

9292
return (
9393
<Modal
94+
title="Update Payment Method"
9495
isShown={isOpen}
9596
hide={handleClose}
9697
modalContent={

clients/apps/web/src/components/Events/EventCreationGuideModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const EventCreationGuideModal = ({
1717
<div className="flex flex-col gap-4 p-8">
1818
<h1 className="text-2xl">Event Ingestion</h1>
1919
<p>Events can only be created through the Polar Ingestion API.</p>
20-
<Well className="dark:border-polar-700 rounded-lg border border-gray-200 p-4 text-sm">
20+
<Well className="dark:bg-polar-900 rounded-lg bg-gray-100 p-4 text-sm">
2121
<SyntaxHighlighterClient
2222
lang="typescript"
2323
code={`import { Polar } from "@polar-sh/sdk";

clients/apps/web/src/components/Landing/LandingLayout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ const LandingPageMobileNavigation = () => {
153153
</SidebarContent>
154154
</Sidebar>
155155
<Modal
156+
title="Login"
156157
isShown={isModalShown}
157158
hide={hideModal}
158159
modalContent={<AuthModal />}
@@ -307,6 +308,7 @@ const LandingPageDesktopNavigation = () => {
307308
</Button>
308309
</div>
309310
<Modal
311+
title="Login"
310312
isShown={isModalShown}
311313
hide={hideModal}
312314
modalContent={<AuthModal />}

clients/apps/web/src/components/Layout/Public/TopbarRight.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const TopbarRight = ({
5454
/>
5555

5656
<Modal
57+
title="Login"
5758
isShown={isModalShown}
5859
hide={hideModal}
5960
modalContent={<AuthModal returnTo={loginReturnTo} />}

0 commit comments

Comments
 (0)