From eedcd1d86126095a4380265b2e60d0bcfef57a63 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Thu, 11 Feb 2021 14:10:33 -0800 Subject: [PATCH] Combine three super footer elements into one section (#16724) * Combine three super footer elements into one section * Update support-section.html * Update heading font sizes --- includes/article.html | 2 -- includes/contribution.html | 4 ++-- includes/helpfulness.html | 4 ++-- includes/support-section.html | 13 +++++++++++++ includes/support.html | 30 ++++++++++++++---------------- layouts/default.html | 2 +- 6 files changed, 32 insertions(+), 23 deletions(-) create mode 100644 includes/support-section.html diff --git a/includes/article.html b/includes/article.html index bc884154917e..fe8f4c89ee96 100644 --- a/includes/article.html +++ b/includes/article.html @@ -69,8 +69,6 @@

-

{% data ui.contribution_cta.title %}

+
+

{% data ui.contribution_cta.title %}

{% data ui.contribution_cta.body %}

{% octicon "git-pull-request" height="16" %} diff --git a/includes/helpfulness.html b/includes/helpfulness.html index 1ff221365065..e094c1c8f0b2 100644 --- a/includes/helpfulness.html +++ b/includes/helpfulness.html @@ -1,10 +1,10 @@ {% unless enterpriseServerReleases.isOldestReleaseDeprecated and currentVersion contains enterpriseServerReleases.oldestSupported %} -
+

{% data ui.helpfulness.able_to_find %}

diff --git a/includes/support-section.html b/includes/support-section.html new file mode 100644 index 000000000000..47bc4f89eb41 --- /dev/null +++ b/includes/support-section.html @@ -0,0 +1,13 @@ +
+
+
+ {% include helpfulness %} +
+
+ {% include contribution %} +
+
+ {% include support %} +
+
+
diff --git a/includes/support.html b/includes/support.html index 02bc87141e99..2a78e31634a8 100644 --- a/includes/support.html +++ b/includes/support.html @@ -1,17 +1,15 @@ -
- -
+
+

+ {% data ui.support.still_need_help %} +

+ {% if currentVersion contains 'enterprise' %}{% assign isEnterprise = true %}{% else %}{% assign isEnterprise = false %}{% endif %} + + {% octicon "people" width="16" %} + {% data ui.support.ask_community %} + + + {% octicon "comment-discussion" width="16" %} + {% data ui.support.contact_support %} + +
diff --git a/layouts/default.html b/layouts/default.html index 59179cf80296..c90330af8682 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -13,7 +13,7 @@ {% else %} {% include article %} {% endif %} - {% include support %} + {% include support-section %} {% include small-footer %}