Skip to content

Commit 6196cf2

Browse files
feat: add a note explaining the signup requirement
1 parent eeb4203 commit 6196cf2

File tree

5 files changed

+19
-14
lines changed

5 files changed

+19
-14
lines changed

apps/frontend/src/components/SignupBuyNow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function SignUpBuyNowButton({
3131
color={color}
3232
className={clsx(
3333
"rounded-lg text-xl px-14 py-4 hover:shadow-lg border-white",
34-
className
34+
className,
3535
)}
3636
>
3737
{text || "Sign up and buy"}

apps/frontend/src/marketing-pages/components/TwitterCTA.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function TwitterCTA() {
66
href="https://twitter.com/darraghor"
77
className="underline underline-offset-2"
88
>
9-
@Darraghor
9+
@darraghor
1010
</a>
1111
</p>
1212
);

apps/frontend/src/marketing-pages/dev-shell-home/Pricing.tsx

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,19 @@ export function Pricing({ user }: { user: UserDto }) {
4848
<p className="text-6xl py-16 text-center">
4949
$29<span className="text-base">USD</span>
5050
</p>
51-
<div className="mx-auto flex gap-x-6 md:mx-0 mb-10">
52-
<SignUpBuyNowButton
53-
user={user}
54-
productKey="dev-shell"
55-
color="cyan"
56-
className="w-full"
57-
/>
51+
<div className="flex flex-col gap-x-6 mb-10">
52+
<div className="mx-auto flex md:mx-0">
53+
<SignUpBuyNowButton
54+
user={user}
55+
productKey="dev-shell"
56+
color="cyan"
57+
className="w-full"
58+
/>
59+
</div>
60+
<p className="mt-3">
61+
I need an account to store your GitHub username
62+
for access to the repo.
63+
</p>
5864
</div>
5965
</div>
6066
</div>

apps/frontend/src/pages/docs/[productKey]/reference/[projectKey]/[codeFile].tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const DynamicCodeExplorer = dynamic(
1919
{
2020
loading: () => <p>Loading Code...</p>,
2121
ssr: false,
22-
}
22+
},
2323
);
2424

2525
export default function CodeFileHome({
@@ -39,7 +39,7 @@ export default function CodeFileHome({
3939

4040
const setSelectedFile = (fileParam: string, projectKeyParam: string) => {
4141
router.push(
42-
`/docs/${productKey}/reference/${projectKeyParam}/${fileParam}`
42+
`/docs/${productKey}/reference/${projectKeyParam}/${fileParam}`,
4343
);
4444
};
4545

@@ -85,7 +85,7 @@ export default function CodeFileHome({
8585
// This is one of the hackiest things in the app. Harmless tho. Will fix later
8686
// need to actually check that the users access to the product(s)
8787
markdownFile?.data?.contents?.includes(
88-
"Purchase Notice"
88+
"Purchase Notice",
8989
) && (
9090
<div className="bg-yellow-50 text-yellow-800">
9191
<ExclamationTriangleIcon
@@ -98,7 +98,7 @@ export default function CodeFileHome({
9898
</span>
9999
It looks like you haven't purchased yet. You can
100100
explore the full project structure here, but you
101-
will see clipped code files. After purchasing
101+
will see scrambled code files. After purchasing
102102
you will see full file content here, and get
103103
full access on GitHub.
104104
</span>

infrastructure/production/dokku-app/dokku_app.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ resource "dokku_app" "frontend_app" {
1212
AUTH0_AUDIENCE = var.frontend_app_auth0_audience
1313
OTEL_EXPORTER_OTLP_ENDPOINT = var.otel_exporter_otlp_endpoint
1414
OTEL_EXPORTER_OTLP_HEADERS = var.frontend_app_otel_exporter_otlp_headers
15-
1615
}
1716

1817
domains = var.frontend_app_domains

0 commit comments

Comments
 (0)