-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add customer quote section * Finish cards * Remove images from quote * Fix spacing * Extract component text card and clean up --------- Co-authored-by: Sonja Scheungrab <[email protected]>
- Loading branch information
Showing
6 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.card-grid { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); | ||
column-gap: $spacer-md; | ||
} | ||
|
||
.text-card { | ||
@extend %hover-glow; | ||
|
||
display: grid; | ||
grid-row: span 3; | ||
grid-template-rows: subgrid; | ||
|
||
margin-bottom: $spacer-md; | ||
|
||
background: $gradient-2; | ||
|
||
&__quote { | ||
@extend %body-font-italic; | ||
|
||
padding: $spacer-lg $spacer-md $spacer-md; | ||
font-size: $font-size-md; | ||
color: $brand-secondary; | ||
} | ||
|
||
&__footer { | ||
display: flex; | ||
flex-direction: column; | ||
padding: $spacer-md; | ||
} | ||
|
||
&__name { | ||
@extend %heading-font-bold; | ||
|
||
font-size: $font-size-sm; | ||
color: $brand-primary; | ||
} | ||
|
||
&__job { | ||
@extend %body-font-sans; | ||
|
||
padding-top: $spacer-xs; | ||
color: $brand-primary; | ||
} | ||
} | ||
|
||
@media screen and (min-width: $grid-breakpoint-md) { | ||
.text-card__name { | ||
font-size: $font-size-md; | ||
} | ||
|
||
.text-card__job { | ||
padding-top: $spacer-sm; | ||
} | ||
|
||
.text-card__quote { | ||
font-size: $font-size-lg; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
status: ready | ||
context: | ||
text_short: | ||
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor | ||
sit amet, consetetur sadipscing elitr. | ||
text_longer: | ||
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor | ||
sit amet, consetetur sadipscing elitr, no sea takimata sanctus est Lorem ipsum dolor sit amet. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div class="card-grid"> | ||
<div class="text-card"> | ||
<p class="text-card__quote">"{{text_short}}"</p> | ||
<div class="text-card__footer"> | ||
<h3 class="text-card__name">Alisa Zett</h3> | ||
<p class="text-card__job">Head of IT, Mustercompany</p> | ||
</div> | ||
</div> | ||
<div class="text-card"> | ||
<p class="text-card__quote">"{{text_longer}}"</p> | ||
<div class="text-card__footer"> | ||
<h3 class="text-card__name">Alisa Zett</h3> | ||
<p class="text-card__job">Head of Marketing and IT, Mustercompany</p> | ||
</div> | ||
</div> | ||
<div class="text-card"> | ||
<p class="text-card__quote">"{{text_short}}"</p> | ||
<div class="text-card__footer"> | ||
<h3 class="text-card__name">Alisa Zett</h3> | ||
<p class="text-card__job">Head of IT, Mustercompany</p> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters