Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
Russ Cox 6cc10c446b _content: make "Press Esc to move out of the editor" message stop flickering
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-08-09 16:33:15 +00:00
prudhvikrishna 7efaa41d53 _content: fix for screen reader to announce links open in new window.
Change-Id: Ic2498cf765722cb1d914c37a2b544ae1f4bd6e08
Reviewed-on: https://go-review.googlesource.com/c/website/+/512095
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-08-03 21:30:56 +00:00
prudhvikrishna b424f0c6d0 _content/css: provide fix for text to meet the color contrast
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-28 18:03:48 +00:00
prudhvikrishna 35ea40d93a _content: provide keyboard shortcut to avoid focus trap.
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>
2023-07-20 18:18:36 +00:00
prudhvikrishna 57cac55d24 _content: make purpose of buttons clear to screen reader users
Fix to make screen reader users understand the purpose of Get started   and download buttons

Change-Id: Ia8c75721a57a503c8659db328343f4dd5ac98ed8
Reviewed-on: https://go-review.googlesource.com/c/website/+/506999
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-17 15:40:36 +00:00
prudhvikrishna f7c0397718 _content: make purpose of link clear to screen reader users
Added fix for screen reader users to understand the
purpose of links.

Change-Id: I636f75bc334ac97f2bc2e88ad63c09b8e3bf8888
Reviewed-on: https://go-review.googlesource.com/c/website/+/507455
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Neelesh Bodas <neelesh@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
2023-07-17 15:40:23 +00:00
prudhvikrishna cef597aeee _content: fix heading level hierarchy
Change-Id: Icb333a465491af0c70bdfc5c1134a2c707711f12
Reviewed-on: https://go-review.googlesource.com/c/website/+/506997
Reviewed-by: Neelesh Bodas <neelesh@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-07-12 19:29:51 +00:00
Frederick Mixell 3c15923231 _content: Why Go/Solutions routing update
- Update links: solutions#case-studies => solutions/case-studies.
- Update links: solutions#use-cases    => solutions/use-cases.
- Adds blank markdown files as place holders for these pages.
- Removes js for tabbing because it's no longer used.
- Convert solutions index page into directory page (no design).
- Add old slider to case studies page so it isn't missing from a deploy

Screenshot: https://drive.google.com/file/d/1FWC_d6SUqPZ0UQfETCyvOjcvEUCI4KGA/view?usp=sharing

Change-Id: If9e2f866c5e3252cdd943068d212f0264f01b1e5
Reviewed-on: https://go-review.googlesource.com/c/website/+/436335
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-03-13 17:03:14 +00:00
Frederick Mixell 9abce52941 _content: Docs - linking update
- updates some links that were pointing to /dl to /doc/install
- Add "About Go Packages" link to the footer nav under "Packages"

Video: https://drive.google.com/file/d/1hAxhpJpHsAnHf5ww267IK6ovWnL-S1dG/view?usp=sharing

Change-Id: I0d71b095a6a60b809a5bceff9cc5fe4a38d5eb91
Reviewed-on: https://go-review.googlesource.com/c/website/+/449415
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2023-01-30 14:28:10 +00:00
Russ Cox 5934f13cc5 _content: change Go headline on go.dev
The old one (“Build fast, reliable, and efficient software at scale”)
is missing "simple" and "secure"; also "fast" and "efficient" are synonyms.

Change-Id: I50e6bb524e5095d88b4b71f644c3653da98712ff
Reviewed-on: https://go-review.googlesource.com/c/website/+/451297
Reviewed-by: Sameer Ajmani <sameer@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
2022-11-18 18:55:21 +00:00
Conor Britain 3cbdc17ec9 _content: update header nav with dropdowns and subnavs
Adds dropdown menus as well as fixed open/closed states. Adds submenus
to mobile header nav.

Change-Id: I0fdf6fd81008857b1ed28f0a8388de8e004eb722
Reviewed-on: https://go-review.googlesource.com/c/website/+/435522
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-10-31 17:00:13 +00:00
Jamal Carvalho d31a06e2b1 _content,cmd: remove events section from homepage and get started page
The upcoming changes to the navbar will feature the meetup events
page. We can remove these sections instead of rebuilding the
integration with the GraphQL API.

Fixes golang/go#54796.

Change-Id: Ic29d9031f9359714d0b90fafbaff289a1ae9c877
Reviewed-on: https://go-review.googlesource.com/c/website/+/429577
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-09-10 00:07:36 +00:00
Hana (Hyang-Ah) Kim 2cd3ef36e8 _content: stop the download button from opening /dl in a new tab
Download button opened the dl page in a new tab because previously, the download page was in a separate host (golang.org). Since now go.dev and golang.org are unified to one site, it makes sense to avoid a separate tab.

Fixes golang/go#53637

Change-Id: Ie8c9fd6741be9be154bb375082aff42f7b7d1720
Reviewed-on: https://go-review.googlesource.com/c/website/+/416177
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2022-07-19 20:50:36 +00:00
Russ Cox 7485a4ea00 all: update <meta> tags for social media
Use the same og:description and description; Signal at least uses description.

Use running gophers for the Twitter image for blog posts.

Adjust the gophers5logo to move the Go where it won't get cut off on Google chat.

Change-Id: I291ad7bf9ea58c0b6af3087213015196434d3163
Reviewed-on: https://go-review.googlesource.com/c/website/+/400434
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-04-15 21:34:11 +00:00
Mauricio Alvarado c3338c2439 _content: add dark mode styles
Added dark mode styles and images.

For golang/go#34601

Change-Id: I1a4d9599cbe8e3b51380be914cfe1abbc3cd79bb
Reviewed-on: https://go-review.googlesource.com/c/website/+/384874
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
2022-03-09 19:29:48 +00:00
Meng Zhuo 983ac793f3 _content: change default title to Go programming language
Fixes golang/go#49812

Change-Id: Ie99ca5731794c1d3fb86bf4b90dc25c1b429465a
Reviewed-on: https://go-review.googlesource.com/c/website/+/367434
Trust: Zhuo Meng <mzh@golangcn.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
2021-12-21 15:58:14 +00:00
Russ Cox 3499583bb4 go.dev: hide annoying vertical scroll bar in Try Go hello world
The window is sized properly to hold the text but we still
get a scroll bar that wiggles the text box a line or so.
Make it disappear.

Also correct the descriptions of the nearby buttons.

Fixes golang/go#49770.

Change-Id: I2c0ee6cba3b3160aa0666c3e48566f2f4940b3db
Reviewed-on: https://go-review.googlesource.com/c/website/+/366995
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>
Website-Publish: Russ Cox <rsc@golang.org>
2021-11-30 18:41:49 +00:00
Russ Cox 8ef0b27a15 _content: remove go.dev download button "smarts"
The go.dev front page download button changes what links to
based on JS: if this is a Mac, it links to the darwin/amd64 pkg.
Otherwise it links to the windows/amd64 msi.

This is obviously wrong on all non-Mac, non-Windows systems,
such as Linux, FreeBSD, phones, tablets, and so on.
None of them want the Windows MSI.

It is also less obviously wrong on all arm64 Mac and Windows systems,
of which there will be more and more.

Changing whether the button downloads a file or goes to a new page
based on browser properties also makes it very difficult to write
documentation about how to install Go, since "click Download"
does different things for different people.

It's also very difficult to tell what architecture the browser is, by design.
So our chance of linking to the right download is going to plummet as
arm64-based systems proliferate.

Instead, just link to the download page and let people find what they need.

Fixes golang/go#49765.

Change-Id: I0761fddffaef3a36087fd050ae276111339ea2dc
Reviewed-on: https://go-review.googlesource.com/c/website/+/366976
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 18:11:58 +00:00
Russ Cox e36abb69b0 _content: unhide various reference links in China
Sites like blog, play, talks, and tour (.golang.org)
were not available in China: we have just the one URL golang.google.cn.
But now:
 - Everything is consolidated to a single site, go.dev.
 - golang.google.cn serves the go.dev content.
 - We've arranged to use relative links for all the content on go.dev
   that points elsewhere on go.dev, so that it all works as golang.google.cn too.

So we can unhide various reference links that were previously hidden
to avoid advertising dead links.

Change-Id: I5e1bf84de61817b0df95049b1f6fc773139d6cf6
Reviewed-on: https://go-review.googlesource.com/c/website/+/365496
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-22 16:46:47 +00:00
Russ Cox 61fc64f202 _content: update links to tour
Now the tour is just /tour, not https://tour.golang.org.

Change-Id: Iebb2f7a5218b747896250815f4f46f62755e6a88
Reviewed-on: https://go-review.googlesource.com/c/website/+/365101
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-22 16:43:17 +00:00
Russ Cox 40c0eef097 go.dev: merge go.dev/_content into root _content
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>
2021-11-22 16:42:59 +00:00