Skip to content

Commit

Permalink
feat: update label on hero section on main page
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Artemova <annartmva@gmail.com>
  • Loading branch information
annaindistress authored and mtardy committed Jul 9, 2024
1 parent 8cb39f4 commit 7816c80
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 5 deletions.
17 changes: 14 additions & 3 deletions docs/assets/scss/home/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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;
}
}
}
Expand Down
16 changes: 14 additions & 2 deletions docs/content/en/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,21 @@
<div class="container">
<div class="hero__intro">
<span class="hero__label">
<img src="/svgs/logos/cncf-logo.svg" width="26" height="26" loading="eager" alt="" />
<span>
We are a proud <b>CNCF project</b>
<span>
Tetragon is a <b>sub-project under</b>
</span>
<img src="/svgs/logos/cillium.svg" width="20" height="20" loading="eager" alt="" />
<span>
<b>Cillium</b>
</span>
</span>
<span>
<span>and a proud</span>
<img src="/svgs/logos/cncf-logo.svg" width="20" height="20" loading="eager" alt="" />
<span>
<b>CNCF project</b>
</span>
</span>
</span>
<h1 class="title title--xl">
Expand Down
16 changes: 16 additions & 0 deletions docs/static/svgs/logos/cillium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7816c80

Please sign in to comment.