Announce gRPC Conf 2020 on every page (#284)

This commit is contained in:
Patrice Chalin 2020-06-15 16:43:10 -04:00 committed by GitHub
parent 4ed9521a96
commit 10bb58b76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 0 deletions

View File

@ -11,6 +11,8 @@ params:
font_awesome_version: 5.12.1 font_awesome_version: 5.12.1
description: A high-performance, open source universal RPC framework description: A high-performance, open source universal RPC framework
show_banner: true
social: social:
gitter: https://gitter.im/grpc/grpc gitter: https://gitter.im/grpc/grpc
reddit: https://www.reddit.com/r/grpc reddit: https://www.reddit.com/r/grpc

View File

@ -14,6 +14,7 @@
<body class="is-page has-navbar-fixed-top"> <body class="is-page has-navbar-fixed-top">
<main class="is-main"> <main class="is-main">
{{ partial "navbar.html" . }} {{ partial "navbar.html" . }}
{{ partial "banner.html" -}}
{{ block "main" . }} {{ block "main" . }}
{{ end }} {{ end }}
</main> </main>

View File

@ -0,0 +1,17 @@
{{ if site.Params.show_banner -}}
<div class="hero-head">
<div class="notification is-warning has-text-centered">
<p>
<a href="https://events.linuxfoundation.org/grpc-conf/register/" target="_blank" rel="noopener">
Register now
{{- partial "external-link.html" -}}
</a>
for the all virtual
<a href="https://events.linuxfoundation.org/grpc-conf" target="_blank" rel="noopener">
<strong>gRPC Conf 2020</strong>
{{- partial "external-link.html" -}}
</a>, July 27-28!
</p>
</div>
</div>
{{ end -}}

View File

@ -0,0 +1 @@
<i class="fas fa-external-link-alt"></i>