Skip to content
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
2 changes: 1 addition & 1 deletion i18n/en-US/components/Home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hero:
- Nullstack is a web framework that makes coding fun again.
- "Write the backend and frontend of a feature in a single isomorphic component with zero boilerplate or glue code."
getStarted: "Get Started"
callToAction: "npx create-nullstack-app"
callToAction: "npx create-nullstack-app --typescript --tailwind"
actionLink: '/getting-started'
actionCallback: 'Command copied, paste it in the terminal'
trinity:
Expand Down
2 changes: 1 addition & 1 deletion i18n/pt-BR/components/Home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hero:
- "Nullstack é um web framework que torna programar divertido novamente."
- "Escreva o backend e o frontend de um recurso em um único componente isomórfico sem boilerplate ou glue code."
getStarted: "Comece a usar"
callToAction: "npx create-nullstack-app"
callToAction: "npx create-nullstack-app --typescript --tailwind"
actionLink: '/pt-br/comecando'
actionCallback: 'Comando copiado, cole no terminal'
trinity:
Expand Down
6 changes: 3 additions & 3 deletions src/Home.njs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Home extends Translatable {

async getStarted({ router, action }) {
if ('clipboard' in navigator) {
const command = 'npx create-nullstack-app@latest';
const command = 'npx create-nullstack-app@latest --typescript --tailwind';
await navigator.clipboard.writeText(command);
}
clearTimeout(this.gettingStarted);
Expand Down Expand Up @@ -38,9 +38,9 @@ class Home extends Translatable {
<p class="text-xl sm:text-2xl text-center sm:text-left">
{this.i18n.hero.descriptions[1]}
</p>
<div class="space-x-4">
<div class="">
<a
class="bg-pink-600 text-white px-6 py-4 border border-pink-600 hover:bg-transparent hover:text-pink-600 w-full sm:w-auto block sm:inline-block text-center"
class="bg-pink-600 text-white px-6 py-4 border border-pink-600 hover:bg-transparent hover:text-pink-600 w-full sm:w-auto block sm:hidden text-center"
href={this.i18n.hero.actionLink}
>
{this.i18n.hero.getStarted}
Expand Down