aboutsummaryrefslogtreecommitdiff
path: root/_content/play.tmpl
AgeCommit message (Collapse)Author
12 hours[DO-NOT-MERGE] _content: remove google tag managerShulhan
2023-08-09_content: make "Press Esc to move out of the editor" message stop flickeringRuss Cox
It's distracting to have this "Press Esc to move out of the editor" message flicker on and off as focus shifts around the pages, especially since it moves everything else up and down. Make the message permanent and unobtrusive instead. Change-Id: Iabe7a723f01ff2b54c49b3ef1214a1787b2751cd Reviewed-on: https://go-review.googlesource.com/c/website/+/517695 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-28_content/css: provide fix for text to meet the color contrastprudhvikrishna
requirements https://screenshot.googleplex.com/8RiRhFfeua2HQM8.png https://screenshot.googleplex.com/fTHSYz3NnJ7YPDN.png Change-Id: I04d00b4468e93f93ea418cb11df01976b150fb80 Reviewed-on: https://go-review.googlesource.com/c/website/+/506375 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-07-20_content: provide keyboard shortcut to avoid focus trap.prudhvikrishna
added 'Esc' key as shortcut to avoid focus trap for code editor in go website. https://screencast.googleplex.com/cast/NjM1MDM3ODI1MDUzNDkxMnwyMDllNGZlNi0yZA Change-Id: I291505a335ddaa04fc440d2d3052e6b9a891f86f Reviewed-on: https://go-review.googlesource.com/c/website/+/510875 Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-10-24_content/play.tmpl: remove unnecessary spacesryicoh
Change-Id: I616f2afe682215e7a0cf353dafd7aa930bffd1fb GitHub-Last-Rev: 42fd1858b0e147508f290fef7854c372006c82d6 GitHub-Pull-Request: golang/website#180 Reviewed-on: https://go-review.googlesource.com/c/website/+/425814 Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Yasuhiro Matsumoto <mattn.jp@gmail.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Hajime Hoshi <hajimehoshi@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-02-08_content: change generic min example to indexIan Lance Taylor
This avoids importing the constraints package, which is no longer in the standard library. For golang/go#50792 Change-Id: I0e0f48d414e87418a1fe95e500bb7629127007cc Reviewed-on: https://go-review.googlesource.com/c/website/+/383254 Reviewed-by: Eli Bendersky‎ <eliben@golang.org> Reviewed-by: Eli Bendersky <eliben@google.com> Trust: DO NOT USE <iant@google.com> Run-TryBot: DO NOT USE <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
2021-11-30_content: fix go.dev/play share not to reload pageRuss Cox
Mainly the JS invocation was set up wrong. Also add the display box for the share URL back, and style the share URL box and the Go release box the same as the example selector box. Also hide the example box when sharing. This used to happen somewhat accidentally on play.golang.org. Make it intentional. Fixes golang/go#49766. Change-Id: Ib297feff123f6fdabebe24cf868a54874c5afc83 Reviewed-on: https://go-review.googlesource.com/c/website/+/368014 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-30_content: add more playground examplesRuss Cox
These are copied from golang.org/x/playground/examples. They used to be on play.golang.org, so add them to go.dev/play. Fixes golang/go#49743. Change-Id: I82dabdca9f1ac93fff34d7846e45a90b9a1ecf5a Reviewed-on: https://go-review.googlesource.com/c/website/+/366414 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-30cmd/golangorg: add support for multiple play backendsRuss Cox
This lets people choose between the release version of Go (play.golang.org) and the dev branch version (gotipplay.golang.org). After CL 365854 goes live, it will offer Go 1.17, Go 1.16, and Go dev branch. Change-Id: I7480a0cb4f1b09636f5728c41af507aac5a72026 Reviewed-on: https://go-review.googlesource.com/c/website/+/366056 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-29go.dev: fix link to playground blog postAlberto Donizetti
The link to the playground blog post currently 404s because of a missing /blog/ prefix. Change-Id: Id676da0cfb9d0fe5345ba4ddd776fe76eb01591e Reviewed-on: https://go-review.googlesource.com/c/website/+/367335 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
2021-11-22go.dev: merge go.dev/_content into root _contentRuss Cox
Many renames. And then adjust references. Change-Id: I4d03c76dbc0bf4d070208d568861ee820904c0dc Reviewed-on: https://go-review.googlesource.com/c/website/+/365097 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>