-
Notifications
You must be signed in to change notification settings - Fork 100
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
New translation: using-multiple-gatsby-themes.md #200
Open
maykonmenezes
wants to merge
5
commits into
gatsbyjs:master
Choose a base branch
from
maykonmenezes:traducao-using-multiple-gatsby-themes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
1020a4e
Translate using-multiple-gatsby-themes to pt-br
maykonmenezes 88bda91
add missing vogals
maykonmenezes 95eb671
fix typo
maykonmenezes 5937cd3
keeping title
maykonmenezes 0d68855
Merge branch 'master' into traducao-using-multiple-gatsby-themes
jessescn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
@@ -1,16 +1,20 @@ | ||||
--- | ||||
title: Using Multiple Gatsby Themes | ||||
title: Usando Múltiplos Temas Gatsby | ||||
--- | ||||
|
||||
Gatsby themes are intended to be composable. This means you can install multiple themes alongside each other. | ||||
Os temas Gatsby podem ser combinados. Isso significa que você pode instalar múltiplos temas juntos. | ||||
|
||||
For example, `gatsby-starter-theme` composes two Gatsby themes: `gatsby-theme-blog` and `gatsby-theme-notes` | ||||
O `gatsby-starter-theme` é composto por dois temas Gatsby: `gatsby-theme-blog` e `gatsby-theme-notes` | ||||
|
||||
```shell | ||||
gatsby new my-notes-blog https://github.com/gatsbyjs/gatsby-starter-theme | ||||
``` | ||||
|
||||
You can include multiple theme packages in your `gatsby-config.js`. `gatsby-starter-theme` includes both theme packages: `gatsby-theme-blog` and `gatsby-theme-notes`. | ||||
|
||||
O tema starter inclui ambos pacotes de temas (`gatsby-theme-blog` e `gatsby-theme-notes`) no arquivo `gatsby-config.js` do tema starter. | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Apaga essa parte que eu deixei sem querer quando fui corrigir os conflitos |
||||
|
||||
Vocẽ pode incluir múltiplos pacote de temas em seu `gatsby-config.js`. `gatsby-starter-theme` inclui ambos os pacotes de temas: `gatsby-theme-blog` e `gatsby-theme-notes`. | ||||
|
||||
|
||||
```javascript:title=gatsby-config.js | ||||
module.exports = { | ||||
|
@@ -22,8 +26,8 @@ module.exports = { | |||
basePath: `/notes`, | ||||
}, | ||||
}, | ||||
// with gatsby-plugin-theme-ui, the last theme in the config | ||||
// will override the theme-ui context from other themes | ||||
// com o gatsby-plugin-theme-ui, o último tema na configuração | ||||
// irá sobrescrever o contexto de theme-ui dos outros temas | ||||
{ resolve: `gatsby-theme-blog` }, | ||||
], | ||||
siteMetadata: { | ||||
|
@@ -32,14 +36,14 @@ module.exports = { | |||
} | ||||
``` | ||||
|
||||
In the default setup, a blog will be served from the root path (`/`), and the notes content will be served from `/notes`. | ||||
Na configuração padrão, um blog será rodado no caminho raiz (`/`), e o conteúdo das notas estarão no caminho `/notes`. | ||||
|
||||
Run `gatsby develop` to start a development server and view your the site: | ||||
Rode `gatsby develop` para iniciar um servidor de desenvolvimento e visualizar o seu site: | ||||
|
||||
![The homepage of the site created by gatsby-theme-starter](../images/gatsby-theme-starter-home.png) | ||||
![A página inicial criada pelo gatsby-theme-starter](../images/gatsby-theme-starter-home.png) | ||||
|
||||
![The `notes` route of a site created by gatsby-theme starter](../images/gatsby-theme-starter-notes.png) | ||||
![A rota de `notas` criada pelo gatsby-theme-starter](../images/gatsby-theme-starter-notes.png) | ||||
|
||||
## Tutorial | ||||
|
||||
For a step-by-step tutorial, see the ["Using Multiple Themes Together" tutorial](/tutorial/using-multiple-themes-together). | ||||
Para um tutorial passo-a-passo, veja [Tutorial "Usando Múltiplos Temas Juntos"](/tutorial/using-multiple-themes-together). |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.