Skip to content

Commit 8b104d7

Browse files
authored
Add framework section landing page.' (#3894)
1 parent 6d85768 commit 8b104d7

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

Diff for: sites/upsun/layouts/shortcodes/frameworks-landing.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{{ $python := "[Django](/get-started/stacks/django.md)<br/>[Flask](/get-started/stacks/flask.md)" }}
2+
{{ $php := "[Symfony](/get-started/stacks/symfony/_index.md)<br/>[Laravel](/get-started/stacks/laravel.md)" }}
3+
{{ $nodejs := "[Express](/get-started/stacks/express.md)<br/>[Next.js](/get-started/stacks/nextjs.md)<br/>[Strapi](/get-started/stacks/strapi.md)" }}
4+
5+
<table>
6+
<tr>
7+
<th>Language</th>
8+
<th>Frameworks</th>
9+
</tr>
10+
<tr>
11+
<td>{{ "[Python](/languages/python/_index.md)" | .Page.RenderString }}</td>
12+
<td>{{ $python | .Page.RenderString }}</td>
13+
</tr>
14+
<tr>
15+
<td>{{ "[PHP](/languages/php/_index.md) " | .Page.RenderString }}</td>
16+
<td>{{ $php | .Page.RenderString }}</td>
17+
</tr>
18+
<tr>
19+
<td>{{ "[Javascript/Node.js](/languages/nodejs/_index.md)" | .Page.RenderString }}</td>
20+
<td>{{ $nodejs | .Page.RenderString }}</td>
21+
</tr>
22+
</table>

Diff for: sites/upsun/src/_index.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ After going through the **Get started** section, you may want to know more about
4848
Now that you understand the basic rules of {{% vendor/name %}}, you're likely ready to deploy your own custom code in a chosen framework.
4949
The **Frameworks** section is a collection of framework-specific how-to guides - from best practices to configuration, local development, and more.
5050

51-
| Language | Frameworks |
52-
| :---------------- |:----------------------------------------------------------------------------------------------------------------------------|
53-
| [Python](/languages/python/_index.md) | [Django](/get-started/stacks/django.md)<br/>[Flask](/get-started/stacks/flask.md) |
54-
| [PHP](/languages/php/_index.md) | [Symfony](/get-started/stacks/symfony/_index.md)<br/>[Laravel](/get-started/stacks/laravel.md) |
55-
| [Javascript/Node.js](/languages/nodejs/_index.md) | [Express](/get-started/stacks/express.md)<br/>[Next.js](/get-started/stacks/nextjs.md)<br/>[Strapi](/get-started/stacks/strapi.md) |
51+
{{< frameworks-landing >}}
5652

5753
### Reference
5854

Diff for: sites/upsun/src/get-started/stacks/_index.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,13 @@ layout: single
66
# - /get-started/_index.md
77
---
88

9-
{{< get-started/steps >}}
9+
Upsun aims to provide sane defaults out-of-the-box, while exposing a high degree of flexibility when you are configuring your projects, environments, and applications.
10+
Because of this, you can deploy most frameworks on Upsun.
11+
Below are some common examples sorted by programming language.
12+
13+
{{< note theme="info" >}}
14+
Before you start, check out the [Upsun demo app](https://console.upsun.com/projects/create-project) and the main [Getting started guide](/get-started/here).
15+
They provide all the core concepts and common commands you need to know before using the following materials.
16+
{{< /note >}}
17+
18+
{{< frameworks-landing >}}

0 commit comments

Comments
 (0)