-
Notifications
You must be signed in to change notification settings - Fork 113
Translate tutorial/authentication-tutorial #34
Translate tutorial/authentication-tutorial #34
Conversation
uetchy
left a comment
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.
👍
Suggested changesが妥当だと感じたら、そのコメントに対して(👍)リアクションをしてください。他のレビュワーが変更をコミットします。不適切だと感じたら、単にコメントに対して返事を書いてください。
| return setUser({ | ||
| username: `john`, | ||
| name: `Johnny`, | ||
| username: `ジョン`, |
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.
このusernameはGitHubでいうIDのようなものなので、johnのままにしましょう。
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.
ご指摘ありがとうございます 🙇 修正します!
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.
3efe1d8 にて修正しました 🙇
| これで、ログインとユーザー制限エリアを持った認証ワークフローができました! | ||
|
|
||
| ## Further reading | ||
| ## 参考文献 |
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.
Further readingなので"関連項目"や"関連する記事"が近いかも?
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.
こちら同意です 🙇
関連する記事 に修正しますー
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.
6341600 にて修正しました。
| - [景品や Gatsby グッズの Gatsby ストア](https://github.com/gatsbyjs/store.gatsbyjs.org) | ||
| - [Gatsby、React、Webtask.io でブログを構築しよう!](https://auth0.com/blog/building-a-blog-with-gatsby-react-and-webtask/) | ||
| - [JAMstack PWA — Gatsby.js、Firebase、Styled-components でポーリングアプリを構築しよう パート 2](https://medium.com/@UnicornAgency/jamstack-pwa-lets-build-a-polling-app-with-gatsby-js-firebase-and-styled-components-pt-2-9044534ea6bc) | ||
| - [JAMstack Hackathon Starter - Netlify Identity を使用した認証済み Gatsby アプリスターター](/starters/sw-yx/jamstack-hackathon-starter) |
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.
| - [JAMstack Hackathon Starter - Netlify Identity を使用した認証済み Gatsby アプリスターター](/starters/sw-yx/jamstack-hackathon-starter) | |
| - [JAMstack Hackathon Starter - Netlify Identity を使用した認証機能付き Gatsby アプリスターター](/starters/sw-yx/jamstack-hackathon-starter) |
| - React Context API を使用して認証処理を行う [Gatsby メール _アプリケーション_](https://github.com/DSchau/gatsby-mail) | ||
| - [景品や Gatsby グッズの Gatsby ストア](https://github.com/gatsbyjs/store.gatsbyjs.org) | ||
| - [Gatsby、React、Webtask.io でブログを構築しよう!](https://auth0.com/blog/building-a-blog-with-gatsby-react-and-webtask/) | ||
| - [JAMstack PWA — Gatsby.js、Firebase、Styled-components でポーリングアプリを構築しよう パート 2](https://medium.com/@UnicornAgency/jamstack-pwa-lets-build-a-polling-app-with-gatsby-js-firebase-and-styled-components-pt-2-9044534ea6bc) |
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.
| - [JAMstack PWA — Gatsby.js、Firebase、Styled-components でポーリングアプリを構築しよう パート 2](https://medium.com/@UnicornAgency/jamstack-pwa-lets-build-a-polling-app-with-gatsby-js-firebase-and-styled-components-pt-2-9044534ea6bc) | |
| - [JAMstack PWA — Gatsby.js、Firebase、Styled-components で投票アプリをつくろう パート 2](https://medium.com/@UnicornAgency/jamstack-pwa-lets-build-a-polling-app-with-gatsby-js-firebase-and-styled-components-pt-2-9044534ea6bc) |
| --- | ||
|
|
||
| Sometimes, you need to create a site with gated content, restricted to only authenticated users. Using Gatsby, you may achieve this using the concept of [client-only routes](/docs/client-only-routes-and-user-authentication/), to define which pages a user can view only after logging in. | ||
| 往々にして、認証済みユーザーのみ閲覧可能なコンテンツを含むサイトを構築しないといけないことがあります。Gatsby を使用すると、[クライアントサイドルーティング](/docs/client-only-routes-and-user-authentication/)を用いて、ユーザーがログイン後にのみ閲覧できるページを作成できます。 |
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.
IMHO
| 往々にして、認証済みユーザーのみ閲覧可能なコンテンツを含むサイトを構築しないといけないことがあります。Gatsby を使用すると、[クライアントサイドルーティング](/docs/client-only-routes-and-user-authentication/)を用いて、ユーザーがログイン後にのみ閲覧できるページを作成できます。 | |
| 往々にして、認証されたユーザーのみが閲覧可能なコンテンツを含むサイトを構築しないといけないことがあります。Gatsby なら、[クライアントサイドルーティング](/docs/client-only-routes-and-user-authentication/)を用いてユーザーがログイン後にのみ閲覧できるページを作成できます。 |
uetchy
left a comment
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.
LGTM🎉(他のレビュワーをお待ちください)
| ## 前提条件 | ||
|
|
||
| You should have already configured your environment to be able to use the `gatsby-cli`. A good starting point is the [main tutorial](/tutorial). | ||
| 事前に `gatsby-cli` を使用できるように環境を設定しておく必要があります。適切な出発点は[メインチュートリアル](/tutorial)です。 |
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.
| 事前に `gatsby-cli` を使用できるように環境を設定しておく必要があります。適切な出発点は[メインチュートリアル](/tutorial)です。 | |
| 事前に `gatsby-cli` を使用できるように環境を設定しておく必要があります。設定の仕方に関しては、[メインチュートリアル](/tutorial)を参照しましょう。 |
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.
レビューありがとうございます 🙇 f1b2478 にて修正しました!
Naturalclar
left a comment
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.
全体的に良いと思います!LGTM! 👍
uetchy
left a comment
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.
🎉
|
Holy buckets, @hiramatsutaku — we just merged your PR to Gatsby! 💪💜 Gatsby is built by awesome people like you. Let us say “thanks” in two ways:
If there’s anything we can do to help, please don’t hesitate to reach out to us: tweet at @gatsbyjs and we’ll come a-runnin’. Thanks again! |
tutorial/authentication-tutorialpageレビューよろしくお願いします 🙇