From b13748ac83448e23c85ac0b2f7e20cae9a5c0cf3 Mon Sep 17 00:00:00 2001 From: nikpachoo Date: Thu, 30 Jan 2025 16:32:21 +0100 Subject: [PATCH] ktl-2046 chore: unpublish hero banner --- blocks/main/hero/hero.module.css | 16 +++++----------- data/hero-banner.yml | 2 +- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/blocks/main/hero/hero.module.css b/blocks/main/hero/hero.module.css index c0764c0f164..860cd2fff96 100644 --- a/blocks/main/hero/hero.module.css +++ b/blocks/main/hero/hero.module.css @@ -110,7 +110,7 @@ } .banner { - display: none; + display: flex; position: relative; justify-content: space-between; gap: 50px; @@ -140,6 +140,10 @@ .bannerButton { align-self: flex-end; } + + @media (--ktl-ds) { + display: none; + } } .banner:before { @@ -153,16 +157,6 @@ } } -:global(.ab-hero-ktor) { - .banner { - display: flex; - - @media (--ktl-ds) { - display: none; - } - } -} - .heroText { margin: 0; font-size: 72px; diff --git a/data/hero-banner.yml b/data/hero-banner.yml index 0dbf97e69fb..c2ca2f57ac9 100644 --- a/data/hero-banner.yml +++ b/data/hero-banner.yml @@ -1,4 +1,4 @@ -isActive: true +isActive: false title: "Ktor 3.0 is out" caption: "A better way to build servers & clients" buttonLabel: "Try Now"