Skip to content

Commit

Permalink
chore: preview adopters
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbaehler committed Mar 6, 2024
1 parent 5bda6c4 commit 33fe4d1
Show file tree
Hide file tree
Showing 31 changed files with 1,074 additions and 87 deletions.
290 changes: 290 additions & 0 deletions assets/scss/_adopters.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,290 @@

@mixin carousel-controls-hover {
.carousel-control-next, .carousel-control-prev {
&:focus {
opacity: 0.5;
}
&:hover {
opacity: 0.9;
}
}

.carousel-control-prev-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233d6ddd' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233d6ddd' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}
}


#adopters-wall {
margin-left: -15px;
margin-right: -15px;


.adopters-label {
margin-top: 3rem;
margin-bottom: 1rem;

text-align: center;
font-size: 2rem;
font-weight: 600;
}

#logos {
display: flex;
align-items: center;
margin-bottom: 3rem;

.col {
position: static;
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 0;


img {
height: 48px;
width: 100px;
margin: 18px 6px;

@media (min-width: 992px) {
height: 64px;
width: 150px;
margin: 24px 8px;
}


@media (min-width: 1800px) {
height: 96px;
width: 200px;
margin: 36px 12px;
}

object-fit: contain;
}
}
}
}

.adopters-carousel {
margin-bottom: 2rem;
justify-content: center;


#adopters {
.section-label {
margin-bottom: 2rem;
}

.carousel-item {
height: 620px;

@media (max-width: 560px) {
height: 800px;
}

@media (max-width: 460px) {
height: 900px;
}

@media (max-width: 390px) {
height: auto;
}

width: 100vw;
padding: 0 15px;

.item {
height: 620px;

@media (max-width: 560px) {
height: 800px;
}

@media (max-width: 460px) {
height: 900px;
}

@media (max-width: 390px) {
height: auto;
margin-top: 50px;
}

max-width: 600px;
position: relative;
left: 0;
right: 0;
margin: 0rem auto;

display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.logo {
height: 120px;
display: flex;
background-color: $flux-white;
opacity: 1;
img {
max-width: 552px;
max-height: 120px;
object-fit: contain;

@include media-breakpoint-down(sm) {
max-width: 75vw;
}
}
}

.case-study {
display: flex;
padding: 1rem 12px 0 24px;

max-width: 600px;
flex-wrap: wrap;
.summary {
flex: 2 0 0;
min-width: 280px;
padding-right: 1rem;

.business ul {
list-style-type: none;
margin: 0 0 0px 2px;
padding-left: 0;

font-size: 1.1rem;

li {
padding-bottom: 6px;
}
}

.details {
padding-top: 8px;
ul {
padding-left: 1.5rem;
}

h3 {
font-variant-caps: all-small-caps;
font-weight: 700;
color: $flux-lighter-blue;
}
}
}

.description {
flex: 1 0 0;
min-width: 220px;
}
}
}
}


.carousel {
&:hover {
@include carousel-controls-hover();
}

// touchscreen
@media (hover: none) {
@include carousel-controls-hover();
}

.carousel-control-prev, .carousel-control-next {
width: 20px;
margin: 0 auto;
left: 0;
right: 0;
}
.carousel-control-prev span {
position: absolute;
left: -320px;
}

.carousel-control-next span {
position: absolute;
left: 320px;
}

@include media-breakpoint-down(sm) {
.carousel-control-prev {
left: 10px;
right: auto;
}

.carousel-control-next {
left: auto;
right: 10px;
}

.carousel-control-prev, .carousel-control-next {
span {
position: static;
}
}
}

.carousel-inner {
.carousel-item {
padding: 1rem;

#carousel-caption {
color: $flux-darkest-blue;
}
}
}
}
}

/* /adopters page */
.adopters {
.card-deck {
max-width: 83%;
@include media-breakpoint-down(sm) {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
@include media-breakpoint-only(lg) {
column-count: 4;
}
@include media-breakpoint-only(xl) {
column-count: 5;
}

.card {
min-width: 48%;
max-width: 48%;
@include media-breakpoint-up(sm) {
min-width: 150px;
max-width: 150px;
}
}

.card-header {
overflow-wrap: anywhere;
hyphens: auto;
}

.card-body {
align-items: center;
display: flex;
min-height: 147px;
}

.card-text {
width: 100%;
vertical-align: middle
}
}

}
18 changes: 17 additions & 1 deletion assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,20 @@ Add styles or override variables from the theme here.

$primary: #280C53;
$secondary: #802A78;
$dark: #280C53;
$dark: #280C53;


.card-primary {
background-color: $primary !important;
color: #fff !important;
}

.card-secondary {
background-color: $secondary !important;
color: #fff !important;
}

.card-dark {
background-color: $dark !important;
color: #fff !important;
}
60 changes: 60 additions & 0 deletions assets/scss/adopters_wall.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
@keyframes move {
0% {
margin-left: -9200px;
}
100% {
margin-left: 800px;
}
}

@media screen and (min-width: 900px) {
@keyframes move {
0% {
margin-left: -9100px;
}
100% {
margin-left: 800px;
}
}
}


.scrollmenu:hover {
animation-play-state: paused;
}

.scrollmenu {
height: 100%;
overflow: hidden;
white-space: nowrap;
animation-name: move;
animation-iteration-count: infinite;
animation-duration: 450s;
animation-direction: right;
animation-timing-function: linear;
}

.scrollmenu img {
display: inline-block;
color: white;
text-align: center;
height: 100%;
padding-right: 30px;
text-decoration: none;
}

.carousel-inner {
height: 100%;
}

.carousel-item .active {
height: 100%;
}

.scrollmenu img {
transition: 0.3s all ease-in-out;
}

.scrollmenu img:hover {
transform: scale(1.5);
}
4 changes: 2 additions & 2 deletions content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title: Goldydocs
{{< /blocks/cover >}}


{{% blocks/section color="primary" type="row" %}}
{{% blocks/section color=white type="row" %}}

{{% blocks/feature icon="fa-chart-bar" title="Resource Control" %}}
Share a single cluster with multiple teams, groups of users, or departments by saving operational and management efforts. Take control of the resources consumed by users while preventing them to overtake.
Expand All @@ -34,7 +34,7 @@ Capsule is a framework is considered a framework which enables you to create you



{{% blocks/section color="dark" type="row" %}}
{{% blocks/section type="row" %}}

{{% blocks/feature icon="fa-building-shield" title="Governance" %}}
Leverage Kubernetes Admission Controllers to enforce the industry security best practices and meet policy requirements.
Expand Down
Loading

0 comments on commit 33fe4d1

Please sign in to comment.