From 7cea70b3a1f08c23099c6893398c52b1d8cb36f6 Mon Sep 17 00:00:00 2001 From: Amaresh S M Date: Mon, 5 Aug 2024 20:39:21 +0530 Subject: [PATCH] feat: add EOF banner (#609) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add EOF banner * address the review comments * fix styling * Update links Co-authored-by: Nicholas C. Zakas * Update src/_includes/layouts/base.html Co-authored-by: 唯然 --------- Co-authored-by: Nicholas C. Zakas Co-authored-by: 唯然 --- src/_includes/layouts/base.html | 19 +++++++++++++++++++ src/assets/scss/homepage.scss | 31 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/src/_includes/layouts/base.html b/src/_includes/layouts/base.html index 846c3ce36..d03991b00 100644 --- a/src/_includes/layouts/base.html +++ b/src/_includes/layouts/base.html @@ -155,6 +155,25 @@ +
+ + + + + + + + + + + + + ESLint v8.x end-of-life is 2024-10-05 and will not be maintained after that. Upgrade + or consider long-term support options
{{ content | safe }} diff --git a/src/assets/scss/homepage.scss b/src/assets/scss/homepage.scss index a8241d629..b7be16c04 100644 --- a/src/assets/scss/homepage.scss +++ b/src/assets/scss/homepage.scss @@ -280,3 +280,34 @@ display: block; } } + +.deprecation-notice { + font-size: 14px; + display: flex; + justify-content: center; + align-items: center; + padding: 4px 0; + background-color: var(--color-neutral-500); + color: white; + + a { + color: white; + padding: 0 4px; + } + + .hourglass-icon { + margin-right: 5px; + } + + @media all and (max-width: 865px) { + display: block; + text-align: center; + padding: 4px 6px; + + .hourglass-icon { + position: relative; + margin-right: 0; + top: 2px; + } + } +}