GeezerVison is showing github.com — :lipstick: update get started command · HallexCosta/nullstack.github.io@2370577
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: i18n/en-US/components/Home.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
7 | 7 | - Nullstack is a web framework that makes coding fun again. |
8 | 8 | - "Write the backend and frontend of a feature in a single isomorphic component with zero boilerplate or glue code." |
9 | 9 | getStarted: "Get Started" |
10 | | - callToAction: "npx create-nullstack-app" |
| 10 | + callToAction: "npx create-nullstack-app --typescript --tailwind" |
11 | 11 | actionLink: '/getting-started' |
12 | 12 | actionCallback: 'Command copied, paste it in the terminal' |
13 | 13 | trinity: |
|
Collapse file
Copy file name to clipboardExpand all lines: i18n/pt-BR/components/Home.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
7 | 7 | - "Nullstack é um web framework que torna programar divertido novamente." |
8 | 8 | - "Escreva o backend e o frontend de um recurso em um único componente isomórfico sem boilerplate ou glue code." |
9 | 9 | getStarted: "Comece a usar" |
10 | | - callToAction: "npx create-nullstack-app" |
| 10 | + callToAction: "npx create-nullstack-app --typescript --tailwind" |
11 | 11 | actionLink: '/pt-br/comecando' |
12 | 12 | actionCallback: 'Comando copiado, cole no terminal' |
13 | 13 | trinity: |
|
Collapse file
Copy file name to clipboardExpand all lines: src/Home.njs +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -10,7 +10,7 @@ class Home extends Translatable { |
10 | 10 |
|
11 | 11 | async getStarted({ router, action }) { |
12 | 12 | if ('clipboard' in navigator) { |
13 | | - const command = 'npx create-nullstack-app@latest'; |
| 13 | + const command = 'npx create-nullstack-app@latest --typescript --tailwind'; |
14 | 14 | await navigator.clipboard.writeText(command); |
15 | 15 | } |
16 | 16 | clearTimeout(this.gettingStarted); |
@@ -38,9 +38,9 @@ class Home extends Translatable { |
38 | 38 | <p class="text-xl sm:text-2xl text-center sm:text-left"> |
39 | 39 | {this.i18n.hero.descriptions[1]} |
40 | 40 | </p> |
41 | | - <div class="space-x-4"> |
| 41 | + <div class=""> |
42 | 42 | <a |
43 | | - 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" |
| 43 | + 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" |
44 | 44 | href={this.i18n.hero.actionLink} |
45 | 45 | > |
46 | 46 | {this.i18n.hero.getStarted} |
|