feat(landing): add history slides

This commit is contained in:
Matthieu Bessat 2023-07-05 14:31:16 +02:00
parent c4937bd0d1
commit bf7e64d98d
13 changed files with 433 additions and 130 deletions

View file

@ -162,12 +162,19 @@
}
.landing-main {
section:first-of-type {
border-top: 1px solid rgba(1, 1, 1, 0.2);
}
section {
border-bottom: 1px solid rgba(1, 1, 1, 0.2);
}
}
.partners-container .carousel {
border-top: 1px solid #eee;
}
.partner-comment__container {
height: 100%;
display: flex;
@ -182,41 +189,96 @@
flex-direction: column;
align-items: center;
}
.partner-comment__quote {
width: 75%;
text-align: center;
margin: 3rem auto 0 auto;
position: relative;
display: block;
font-style: italic;
font-weight: 300;
&::before, &::after {
font-size: 8rem;
color: rgba(0, 0, 0, 0.2);
position: absolute;
.partner-comment__quote-container {
display: flex;
width: 80%;
margin: 0 auto;
p {
text-align: center;
margin: 2.5rem auto;
position: relative;
display: block;
font-style: italic;
font-weight: 300;
}
&::before {
content: "";
top: -6rem;
.quote-decoration {
display: flex;
flex-direction: column;
svg {
fill: rgba(0, 0, 0, 0.2);
width: 3rem;
height: 3rem;
}
}
&::after {
content: "";
right: -1rem;
bottom: -9rem;
.quote-before {
justify-content: flex-start;
}
.quote-after {
justify-content: flex-end;
svg {
transform: rotate(180deg)
}
}
}
.partner-comment__author {
margin-top: 1rem;
margin-top: .5rem;
display: flex;
flex-direction: column;
align-items: center;
}
.partner-comment__author-picture {
width: 9rem;
width: 10rem;
aspect-ratio: 1;
// border-radius: 50%;
}
.partner-comment__author-name {
margin-top: .5rem;
}
.partner-comment__author-link:hover {
opacity: 0.6;
}
}
.history-component__content {
}
.history-container {
.double-horizontal-image-container {
display: grid;
grid-template-columns: 1fr 1fr;
img {
width: 100%;
height: 17rem;
object-fit: cover;
}
}
}
@media (max-width: $md-breakpoint) {
.history-container {
.layout-grid-image.third {
display: block;
}
.image-container {
display: flex;
justify-content: center;
}
.slide-image {
height: 19rem;
img {
width: auto;
height: 100%;
}
}
}
}