Skip to content
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
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 4 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: 11 additions & 11 deletions docs/docs/themes/using-multiple-gatsby-themes.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
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.

The `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
```

The starter includes both theme packages (`gatsby-theme-blog` and `gatsby-theme-notes`) in the starter's `gatsby-config.js` file.
O tema starter inclui ambos pacotes de temas (`gatsby-theme-blog` e `gatsby-theme-notes`) no arquivo `gatsby-config.js` do tema starter.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
O tema starter inclui ambos pacotes de temas (`gatsby-theme-blog` e `gatsby-theme-notes`) no arquivo `gatsby-config.js` do tema starter.

Apaga essa parte que eu deixei sem querer quando fui corrigir os conflitos


```javascript:title=gatsby-config.js
module.exports = {
Expand All @@ -22,8 +22,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: {
Expand All @@ -32,14 +32,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).