Skip to content

Commit

Permalink
Updating navbar and adding a sign to tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
jayair committed Sep 1, 2023
1 parent a946b60 commit b9d048c
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 25 deletions.
4 changes: 0 additions & 4 deletions www/docs/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,6 @@ new Api(stack, "api", {
});
```

:::tip Tutorial
[Check out our tutorial](learn/index.md) on how to build an app with a GraphQL API.
:::

---

#### AppSync
Expand Down
8 changes: 4 additions & 4 deletions www/docs/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ npx create-sst@latest --template standard/nextjs

Let's create a simple hit counter in our app.

:::tip Guide
<a href={config.guide}>Check out our guide</a> for a full tutorial on how to build an app powered by a DynamoDB database.
:::

---

## Add the table
Expand Down Expand Up @@ -221,10 +225,6 @@ new RDS(stack, "db", {

Here we are using the [`RDS`](constructs/RDS.md) construct. It also supports [running migrations](constructs/RDS.md#migrations).

:::tip Tutorial
[Check out our tutorial](learn/index.md) on how to build an app powered by an RDS database.
:::

---

### MongoDB
Expand Down
2 changes: 1 addition & 1 deletion www/docs/design-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This might've been fine if you are an individual developer who has a ton of expe

Hence, one of the design principles of SST is to make sure that it works out of the box. It comes _**batteries included**_, making it easy to get started.

You can learn more about this if you [check out our tutorial](learn/index.md).
You can learn more about this if you <a href={config.guide}>check out our guide</a>.

---

Expand Down
8 changes: 4 additions & 4 deletions www/docs/learn/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ description: "Learn how to build your first full-stack application with SST."
import config from "../../config";
import styles from "../video.module.css";

:::info
This tutorial is currently undergoing an upgrade. <a href={config.guide}>**Check out our guide**</a> instead.
:::

We created this tutorial to help you build your first app with SST.

We'll cover most of the key concepts of SST by working on an app. You'll get a feel for how SST works and we'll end by deploying the app to production!

:::tip
Before you start, join our community on <a href={ config.discord }><b>Discord</b></a>. We are always around to answer any questions!
:::

---

## What are we building
Expand Down
2 changes: 1 addition & 1 deletion www/docs/start/astro.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,4 @@ pnpm sst deploy --stage prod
- [`AstroSite`](../constructs/AstroSite.md) — Deploy Astro sites to AWS
- [Live Lambda Dev](../live-lambda-development.md) — SST's local dev environment
- [Resource Binding](../resource-binding.md) — Typesafe access to your resources
2. Ready to dive into the details of SST? [**Check out our tutorial**](../learn/index.md).
2. Ready to dive into the details of SST? <a href={config.guide}>**Check out our guide**</a>.
2 changes: 1 addition & 1 deletion www/docs/start/nextjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,4 @@ The `sst deploy` command internally uses OpenNext to build your app.
- [Live Lambda Dev](../live-lambda-development.md) — SST's local dev environment
- [Resource Binding](../resource-binding.md) — Typesafe access to your resources
2. Have a Next.js app on Vercel? [**Migrate it to SST**](../migrating/vercel.md).
3. Ready to dive into the details of SST? [**Check out our tutorial**](../learn/index.md).
3. Ready to dive into the details of SST? <a href={config.guide}>**Check out our guide**</a>.
2 changes: 1 addition & 1 deletion www/docs/start/remix.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,4 +327,4 @@ pnpm sst deploy --stage prod
- [`Bucket`](../constructs/Bucket.md) — Add S3 buckets to your app
- [`RemixSite`](../constructs/RemixSite.md) — Deploy Remix apps to AWS
- [Live Lambda Dev](../live-lambda-development.md) — SST's local dev environment
2. Ready to dive into the details of SST? [**Check out our tutorial**](../learn/index.md).
2. Ready to dive into the details of SST? <a href={config.guide}>**Check out our guide**</a>.
2 changes: 1 addition & 1 deletion www/docs/start/solid.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,4 @@ pnpm sst deploy --stage prod
- [`SolidStartSite`](../constructs/SolidStartSite.md) — Deploy SolidStart apps to AWS
- [Live Lambda Dev](../live-lambda-development.md) — SST's local dev environment
- [Resource Binding](../resource-binding.md) — Typesafe access to your resources
2. Ready to dive into the details of SST? [**Check out our tutorial**](../learn/index.md).
2. Ready to dive into the details of SST? <a href={config.guide}>**Check out our guide**</a>.
2 changes: 1 addition & 1 deletion www/docs/start/standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,4 @@ pnpm sst deploy --stage prod
- [`StaticSite`](../constructs/StaticSite.md) — Deploy a static site to AWS
- [Live Lambda Dev](../live-lambda-development.md) — SST's local dev environment
- [Resource Binding](../resource-binding.md) — Typesafe access to your resources
2. Ready to dive into the details of SST? [**Check out our tutorial**](../learn/index.md).
2. Ready to dive into the details of SST? <a href={config.guide}>**Check out our guide**</a>.
2 changes: 1 addition & 1 deletion www/docs/start/svelte.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,4 @@ pnpm sst deploy --stage prod
- [`SvelteKitSite`](../constructs/SvelteKitSite.md) — Deploy SvelteKit apps to AWS
- [Live Lambda Dev](../live-lambda-development.md) — SST's local dev environment
- [Resource Binding](../resource-binding.md) — Typesafe access to your resources
2. Ready to dive into the details of SST? [**Check out our tutorial**](../learn/index.md).
2. Ready to dive into the details of SST? <a href={config.guide}>**Check out our guide**</a>.
3 changes: 2 additions & 1 deletion www/docs/what-is-sst.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: What is SST
description: "SST is a framework that makes it easy to build modern full-stack applications on AWS."
---

import config from "../config";
import styles from "./video.module.css";
import HeadlineText from "@site/src/components/HeadlineText";

Expand Down Expand Up @@ -414,4 +415,4 @@ With the Console you can view and interact with your application in real-time. Y
- [Create a standalone SST app](start/standalone.md)
- [Use SST with your Next.js app](start/nextjs.md)
- [Use SST with your Astro site](start/astro.md)
2. Ready to dive into the details of SST? [**Check out our tutorial**](learn/index.md).
2. Ready to dive into the details of SST? <a href={config.guide}>**Check out our guide**</a>.
8 changes: 3 additions & 5 deletions www/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,14 @@ module.exports = {
},
items: [
{
to: "/",
to: config.home,
label: "Home",
position: "left",
activeBaseRegex: "^/(?!(constructs|clients|learn))",
},
{
to: "/learn",
label: "Learn",
to: config.guide,
label: "Guide",
position: "left",
activeBaseRegex: "^/learn",
},
{
href: config.examples,
Expand Down

0 comments on commit b9d048c

Please sign in to comment.