Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: new landing page design (v3) #3870

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/assets/images/cncf-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/images/cncf-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/deployment-checks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/keptn-metrics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
125 changes: 122 additions & 3 deletions docs/assets/stylesheets/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,63 @@
padding: 2.2rem 0;
}

.mdx-hero__content h1 {
color: #FFFFFF;
font-weight: 600;
}

.mdx-hero__content p {
color: #FFFFFF;
opacity: 0.4;
}

.mdx-expect {
margin-top: 5.2rem;
margin-bottom: 5.2rem;
}

.mdx-expect__description h2 {
margin-top: 0;
}

.md-content__inner:before {
display: none;
}


.frame {
border: 0px;
}

.bg-blue {
background-color: #011549;
color: white;
}

.text-blue {
color: #232EAB;
}

.text-bold {
font-weight: 800;
}

.banner {
margin-top: 107px;
}

.cncf-disclaimer {
width: 600px;
height: 200px;
object-fit: cover;
background-repeat: no-repeat;
background-image: url("../images/cncf-color.svg");
}

[data-md-color-scheme="slate"] .cncf-disclaimer {
background-image: url("../images/cncf-white.svg");
}

/* Prevent removing default title on the page */
.md-content__inner h1:first-child {
display: block;
Expand All @@ -20,6 +73,28 @@
.md-typeset .header-link {
display: none;
}

.cncf-disclaimer {
width: 400px;
height: 200px;
}

.youtube-container {

Check warning on line 82 in docs/assets/stylesheets/home.css

View workflow job for this annotation

GitHub Actions / Check Spelling

`youtube` is not a recognized word. (unrecognized-spelling)
position: relative;
width: 100%;
overflow: hidden;
padding-top: 75%;
}

.frame {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
}

.md-main {
Expand Down Expand Up @@ -112,6 +187,53 @@
display: block;
}

.bg-default {
width: 100vw;
height: 80vh;
background-color: #006bba;
color: #FFFFFF;
}

.bg-dark {
background-color: #1e2129;
color: #e2e4e9d1;;
}

.font-color-white__faint {
color: #e2e4e98f;
}

.mdx-expect__list {
display: flex;
flex-flow: row wrap;
gap: 1.6rem;
padding: 0;
}

.mdx-expect__item {
display: flex;
align-items: flex-start;
flex: 1 0 48%;
gap: .6rem;
margin: 0;
}

.mdx-expect__icon {
fill: currentcolor;

Check warning on line 222 in docs/assets/stylesheets/home.css

View workflow job for this annotation

GitHub Actions / Check Spelling

`currentcolor` is not a recognized word. (unrecognized-spelling)
background-color: #e2e4e91f;
border-radius: 100%;
flex-shrink: 0;
height: 2.2rem;
padding: .4rem;
width: 2.2rem;
}



.mdx-hero__content {
margin-top: 50vh;
}

@media screen and (max-width:30em) {
.tx-hero h1 {
font-size: 1.4rem
Expand Down Expand Up @@ -273,7 +395,4 @@
padding-bottom: 3vw;
}

.mdx-spotlight__feature:nth-child(odd) {
flex-direction: row-reverse;
}
}
Loading
Loading