diff options
| author | Frederick Mixell <frederick.mixell@leftfieldlabs.com> | 2022-11-28 14:17:03 -0500 |
|---|---|---|
| committer | Jamal Carvalho <jamal@golang.org> | 2023-02-14 17:07:04 +0000 |
| commit | 6e1dd4f0068b6905ecae96304872ef52928af6b1 (patch) | |
| tree | 969c89c91a86b62b3ac795e8446a38810896d013 /_content/site.tmpl | |
| parent | d7a0e24020db201fe021c108073fd99339e7b83a (diff) | |
| download | go-x-website-6e1dd4f0068b6905ecae96304872ef52928af6b1.tar.xz | |
_content: qa updates play page
- adds dark mode functionality for the community menu
- adds 'overflow: auto;' over 'overflow: scroll;' for play page about modal to prevent ghost scroll bars on certain devices.
Change-Id: I175f21aa06b47bd590010551e8bd3757993bea96
Reviewed-on: https://go-review.googlesource.com/c/website/+/453795
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to '_content/site.tmpl')
| -rw-r--r-- | _content/site.tmpl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/_content/site.tmpl b/_content/site.tmpl index 24c51657..df0fc204 100644 --- a/_content/site.tmpl +++ b/_content/site.tmpl @@ -83,7 +83,12 @@ {{- if .socialIconsList}} <div class="Header-socialIcons"> {{ range .socialIconsList }} - <a class="Header-socialIcon" href="{{.url}}"><img src="/images/logos/social/{{.img}}" /></a> + {{ if .darkImg }} + <a class="Header-socialIcon Header-socialIcon-light" href="{{.url}}"><img src="/images/logos/social/{{.img}}" /></a> + <a class="Header-socialIcon Header-socialIcon-dark" href="{{.url}}"><img src="/images/logos/social/{{.darkImg}}" /></a> + {{else}} + <a class="Header-socialIcon" href="{{.url}}"><img src="/images/logos/social/{{.img}}" /></a> + {{end}} {{- end}} </div> {{- end}} |
