From 28be9c033a90c1fd16ee19bb42e1def893f1995b Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Wed, 28 Aug 2024 15:07:28 +0200 Subject: [PATCH] Add the Developer survey announcement --- docs/assets/css/gradle.css | 10 ++++++++++ overrides/main.html | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/assets/css/gradle.css b/docs/assets/css/gradle.css index 0d40fb6..4f0d786 100644 --- a/docs/assets/css/gradle.css +++ b/docs/assets/css/gradle.css @@ -14,6 +14,16 @@ --md-primary-fg-color--dark: var(--gradle-bg-dark); } +.md-banner { + div { + text-align: center; + a { + color: var(--gradle-blue); + font-weight: bold; + } + } +} + .md-content { --md-typeset-a-color: var(--gradle-blue-lite); } diff --git a/overrides/main.html b/overrides/main.html index 9e78d7c..6203726 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -1,8 +1,13 @@ {% extends "base.html" %} +{% block announce %} + Want to have better developer experience whith Gradle? + We need your help, take the Gradle Developer Survey! +{% endblock %} + {% block scripts %} {{ super() }} - +