Skip to content

Commit 418104c

Browse files
committed
Adding steps to lander
1 parent aaf4e71 commit 418104c

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

docs/pages/index.tsx

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,22 @@ export default function Home() {
4040
<a href={SITE.sst} target="_blank">
4141
SST
4242
</a>{" "}
43-
to{" "}
44-
<a href="https://sst.dev/examples/how-to-create-a-nextjs-app-with-serverless.html">
45-
deploy Next.js apps
46-
</a>{" "}
43+
to <a href="https://docs.sst.dev/start/nextjs">deploy Next.js apps</a>{" "}
4744
to AWS using Lambda, Lambda@Edge, CloudFront, and S3.
4845
</p>
46+
<pre>
47+
<code>
48+
$ npx create-next-app
49+
<br />$ npx create-sst
50+
<br />$ npx sst deploy
51+
</code>
52+
</pre>
53+
<p>
54+
<a href="https://docs.sst.dev/start/nextjs">
55+
Deploy your Next.js app to AWS with SST
56+
</a>
57+
.
58+
</p>
4959
</section>
5060

5161
<div className={styles.divider}></div>

docs/styles/globals.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,15 @@ body {
7575
color: var(--theme-text);
7676
}
7777

78+
pre {
79+
border-radius: 5px;
80+
padding: 0.75rem 1rem;
81+
}
7882
pre, code {
7983
font-family: var(--font-code);
84+
line-height: 2rem;
85+
background-color: var(--theme-code-bg);
86+
white-space: pre-line;
8087
}
8188

8289
a {

0 commit comments

Comments
 (0)