Skip to content

Add playground to nav #985

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

Merged
merged 3 commits into from
Jan 20, 2020
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
3 changes: 2 additions & 1 deletion locales/en-US/common.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ nav-tools = Tools
nav-governance = Governance
nav-community = Community
nav-blog = Blog
nav-playground = Playground

choose-language = Language

Expand Down Expand Up @@ -54,4 +55,4 @@ footer-attribution = Maintained by the Rust Team. See a typo?
footer-old-site = Looking for the <a href="https://prev.rust-lang.org">previous website</a>?

## what/index.hbs
what-header = What
what-header = What
1 change: 1 addition & 0 deletions locales/ru/common.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ nav-tools = Инструменты
nav-governance = Управление
nav-community = Сообщество
nav-blog = Блог
nav-playground = Песочница
choose-language = Язык
nav-logo-alt = Логотип Rust

Expand Down
1 change: 1 addition & 0 deletions templates/components/nav.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<ul class="nav list w-100 w-auto-l flex flex-none flex-row flex-wrap justify-center justify-end-l items-center pv2 ph0 ph4-ns">
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/tools/install">{{fluent "nav-install"}}</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/learn">{{fluent "nav-learn"}}</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://play.rust-lang.org/">{{fluent "nav-playground"}}</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/tools">{{fluent "nav-tools"}}</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/governance">{{fluent "nav-governance"}}</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/community">{{fluent "nav-community"}}</a></li>
Expand Down