Skip to content

Upsun: framework section landing page #3894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions sites/upsun/layouts/shortcodes/frameworks-landing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{{ $python := "[Django](/get-started/stacks/django.md)<br/>[Flask](/get-started/stacks/flask.md)" }}
{{ $php := "[Symfony](/get-started/stacks/symfony/_index.md)<br/>[Laravel](/get-started/stacks/laravel.md)" }}
{{ $nodejs := "[Express](/get-started/stacks/express.md)<br/>[Next.js](/get-started/stacks/nextjs.md)<br/>[Strapi](/get-started/stacks/strapi.md)" }}

<table>
<tr>
<th>Language</th>
<th>Frameworks</th>
</tr>
<tr>
<td>{{ "[Python](/languages/python/_index.md)" | .Page.RenderString }}</td>
<td>{{ $python | .Page.RenderString }}</td>
</tr>
<tr>
<td>{{ "[PHP](/languages/php/_index.md) " | .Page.RenderString }}</td>
<td>{{ $php | .Page.RenderString }}</td>
</tr>
<tr>
<td>{{ "[Javascript/Node.js](/languages/nodejs/_index.md)" | .Page.RenderString }}</td>
<td>{{ $nodejs | .Page.RenderString }}</td>
</tr>
</table>
6 changes: 1 addition & 5 deletions sites/upsun/src/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ After going through the **Get started** section, you may want to know more about
Now that you understand the basic rules of {{% vendor/name %}}, you're likely ready to deploy your own custom code in a chosen framework.
The **Frameworks** section is a collection of framework-specific how-to guides - from best practices to configuration, local development, and more.

| Language | Frameworks |
| :---------------- |:----------------------------------------------------------------------------------------------------------------------------|
| [Python](/languages/python/_index.md) | [Django](/get-started/stacks/django.md)<br/>[Flask](/get-started/stacks/flask.md) |
| [PHP](/languages/php/_index.md) | [Symfony](/get-started/stacks/symfony/_index.md)<br/>[Laravel](/get-started/stacks/laravel.md) |
| [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) |
{{< frameworks-landing >}}

### Reference

Expand Down
11 changes: 10 additions & 1 deletion sites/upsun/src/get-started/stacks/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@ layout: single
# - /get-started/_index.md
---

{{< get-started/steps >}}
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.
Because of this, you can deploy most frameworks on Upsun.
Below are some common examples sorted by programming language.

{{< note theme="info" >}}
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).
They provide all the core concepts and common commands you need to know before using the following materials.
{{< /note >}}

{{< frameworks-landing >}}
Loading