|
1 | 1 | import { LoaderFunctionArgs } from "@remix-run/server-runtime"; |
2 | 2 | import { redirect, typedjson, useTypedLoaderData } from "remix-typedjson"; |
3 | | -import { MainCenteredContainer } from "~/components/layout/AppLayout"; |
| 3 | +import { BackgroundWrapper } from "~/components/BackgroundWrapper"; |
| 4 | +import { AppContainer } from "~/components/layout/AppLayout"; |
4 | 5 | import { Header1 } from "~/components/primitives/Headers"; |
5 | 6 | import { prisma } from "~/db.server"; |
6 | 7 | import { featuresForRequest } from "~/features.server"; |
@@ -48,16 +49,22 @@ export default function ChoosePlanPage() { |
48 | 49 | useTypedLoaderData<typeof loader>(); |
49 | 50 |
|
50 | 51 | return ( |
51 | | - <MainCenteredContainer className="flex max-w-[80rem] flex-col items-center gap-8 p-3"> |
52 | | - <Header1 className="text-center">Subscribe for full access</Header1> |
53 | | - <PricingPlans |
54 | | - plans={plans} |
55 | | - subscription={v3Subscription} |
56 | | - organizationSlug={organizationSlug} |
57 | | - hasPromotedPlan |
58 | | - showGithubVerificationBadge |
59 | | - periodEnd={periodEnd} |
60 | | - /> |
61 | | - </MainCenteredContainer> |
| 52 | + <AppContainer className="bg-charcoal-900"> |
| 53 | + <BackgroundWrapper> |
| 54 | + <div className="mx-auto flex h-full w-full max-w-[80rem] flex-col items-center justify-center gap-8 p-3"> |
| 55 | + <Header1 className="text-center">Subscribe for full access</Header1> |
| 56 | + <div className="w-full rounded-lg border border-grid-bright bg-background-dimmed p-5 shadow-lg"> |
| 57 | + <PricingPlans |
| 58 | + plans={plans} |
| 59 | + subscription={v3Subscription} |
| 60 | + organizationSlug={organizationSlug} |
| 61 | + hasPromotedPlan |
| 62 | + showGithubVerificationBadge |
| 63 | + periodEnd={periodEnd} |
| 64 | + /> |
| 65 | + </div> |
| 66 | + </div> |
| 67 | + </BackgroundWrapper> |
| 68 | + </AppContainer> |
62 | 69 | ); |
63 | 70 | } |
0 commit comments