From 7816c80924a1c274fece3274ccea2995e8ea1e6d Mon Sep 17 00:00:00 2001 From: Anna Artemova Date: Fri, 5 Jul 2024 20:33:13 +0400 Subject: [PATCH] feat: update label on hero section on main page Signed-off-by: Anna Artemova --- docs/assets/scss/home/hero.scss | 17 ++++++++++++++--- docs/content/en/_index.html | 16 ++++++++++++++-- docs/static/svgs/logos/cillium.svg | 16 ++++++++++++++++ 3 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 docs/static/svgs/logos/cillium.svg diff --git a/docs/assets/scss/home/hero.scss b/docs/assets/scss/home/hero.scss index 86f9388a342..0a0eea08888 100644 --- a/docs/assets/scss/home/hero.scss +++ b/docs/assets/scss/home/hero.scss @@ -33,18 +33,29 @@ &__label { display: inline-flex; + flex-wrap: wrap; align-items: center; margin-top: 54px; padding: 5px 10px; font-size: 14px; line-height: 1.375; - color: #58595E; + color: #58595e; background: #fff; box-shadow: 0 3px 6px rgba(0, 102, 102, 0.12); border-radius: 6px; + & > span { + display: flex; + flex-wrap: wrap; + align-items: center; + + &:not(:last-child) { + padding-right: 4px; + } + } + img { - margin: 0 6px 0 -4px; + margin: 0 3px; } @media (max-width: $desktop) { @@ -58,12 +69,12 @@ } @media (max-width: $mobile) { + justify-content: center; margin-top: 18px; padding: 5px; img { max-width: 20px; - margin: 0 2px 0 -2px; } } } diff --git a/docs/content/en/_index.html b/docs/content/en/_index.html index 0637a4c7cf4..34928854464 100644 --- a/docs/content/en/_index.html +++ b/docs/content/en/_index.html @@ -9,9 +9,21 @@
- - We are a proud CNCF project + + Tetragon is a sub-project under + + + + Cillium + + + + and a proud + + + CNCF project +

diff --git a/docs/static/svgs/logos/cillium.svg b/docs/static/svgs/logos/cillium.svg new file mode 100644 index 00000000000..0115fc81562 --- /dev/null +++ b/docs/static/svgs/logos/cillium.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + +