-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08191b5
commit cb1b21b
Showing
10 changed files
with
190 additions
and
88 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
@@ -1,56 +1,98 @@ | ||
// Hero | ||
.hero { | ||
@include for-tablet-landscape-up { | ||
margin-bottom: $spacer-2xl * 1.25; | ||
padding: $spacer-lg + 4rem 0 $spacer-lg 0; | ||
grid-template-columns: 1fr 1fr; | ||
gap: $spacer-xl; | ||
padding: $spacer-xl $spacer-base $spacer-xl $spacer-base; | ||
} | ||
|
||
margin-bottom: $spacer-xl; | ||
padding: $spacer-lg 0 $spacer-lg 0; | ||
background-color: $brand-primary-light; | ||
display: grid; | ||
gap: $spacer-md; | ||
|
||
width: 100%; | ||
max-width: $desktop-xl; | ||
margin: 0 auto; | ||
padding: $spacer-lg $spacer-xs $spacer-lg $spacer-xs; | ||
} | ||
|
||
.hero__teaser { | ||
.hero_grid-wrapper { | ||
@include for-tablet-landscape-up { | ||
flex-direction: row-reverse; | ||
align-items: flex-start; | ||
} | ||
|
||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
} | ||
flex-direction: column; | ||
align-items: center; | ||
|
||
.hero__image { | ||
@include for-tablet-landscape-up { | ||
margin-top: $spacer-lg; | ||
.btn { | ||
margin-top: $spacer-md; | ||
} | ||
|
||
display: block; | ||
max-width: 90%; | ||
margin: 0 auto $spacer-lg auto; | ||
} | ||
|
||
.hero__heading { | ||
margin-bottom: $spacer-md; | ||
margin-left: -0.24rem; | ||
font-size: $font-size-xxxl; | ||
@include for-tablet-portrait-up { | ||
font-size: $font-size-xxxl; | ||
} | ||
|
||
@include for-breakpoint-phone-up { | ||
font-size: $font-size-xxl; | ||
} | ||
|
||
margin-bottom: 0; // TODO | ||
font-size: $font-size-xl; | ||
line-height: $heading-line-height-sm; | ||
} | ||
|
||
.hero__text { | ||
margin-top: $spacer-md; | ||
margin-bottom: 0; | ||
} | ||
|
||
.hero__image { | ||
@include for-tablet-landscape-up { | ||
display: block; | ||
align-self: flex-start; | ||
width: 70%; | ||
} | ||
|
||
display: none; | ||
} | ||
|
||
.hero__logos { | ||
@include for-tablet-landscape-up { | ||
margin-top: $spacer-md; | ||
} | ||
|
||
display: flex; | ||
flex-wrap: wrap; | ||
gap: $spacer-sm $spacer-md; | ||
align-items: flex-end; | ||
} | ||
|
||
.hero__logo { | ||
height: 2.5rem; | ||
margin-right: $spacer-base; | ||
.hero__logos__caption { | ||
line-height: 1; | ||
} | ||
|
||
.hero__logo--small { | ||
.hero__logo { | ||
@include for-tablet-landscape-up { | ||
height: 2.5rem; | ||
} | ||
|
||
display: block; | ||
height: 2rem; | ||
// margin-top: -0.6rem; | ||
} | ||
|
||
.hero__aside { | ||
margin-top: $spacer-2xl; | ||
.hero__isaqb { | ||
@include for-tablet-landscape-up { | ||
height: 4rem; | ||
} | ||
|
||
display: inline-block; | ||
height: 3rem; | ||
margin-top: $spacer-sm; | ||
} | ||
|
||
.hero__isaqb__wrapper { | ||
display: flex; | ||
gap: $spacer-xs; | ||
align-items: center; | ||
} |
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,25 @@ | ||
title: Hero header | ||
description: Hero header | ||
|
||
```html | ||
<header class="hero"> | ||
<div class="hero_grid-wrapper"> | ||
<h1 class="hero__heading">Unsere Mission: <span class="marker-highlight">Softwarearchitektur</span> von den Besten lernen!</h1> | ||
<p class="hero__text"> | ||
Für Menschen, die sich nicht nur weiterbilden, sondern auch weiterkommen wollen. Wir sind Expert:innen, die nicht nur Fachwissen, sondern auch ihre reiche Praxiserfahrung an euch | ||
weitergeben können. Wir sind Trainer:innen, die Fachbücher nicht nur gelesen, sondern selbst geschrieben haben. Willkommen bei socreatory, der Software Creator’s Academy. | ||
</p> | ||
<a href="#"><img class="hero__isaqb" src="/snippet/images/logos/isaqb.svg" /></a> | ||
<a href="#" class="btn btn--cta btn--lg">Unsere Trainings</a> | ||
</div> | ||
|
||
<div class="hero_grid-wrapper"> | ||
<img class="hero__image" src="/snippet/images/illustrations/Lernenvondenbesten.png" alt="" /> | ||
<div class="hero__logos"> | ||
<span class="hero__logos__caption"> Eine Kooperation von</span> | ||
<a href="#"><img class="hero__logo" src="/snippet/images/logos/embarc_logo.svg" /></a> | ||
<a href="#"><img class="hero__logo" src="/snippet/images/logos/innoq_logo.svg" /></a> | ||
</div> | ||
</div> | ||
</header> | ||
``` |
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 |
---|---|---|
|
@@ -11,6 +11,8 @@ | |
|
||
html { | ||
font-size: 16px; | ||
|
||
hyphenate-character: "-"; | ||
} | ||
|
||
body { | ||
|
Oops, something went wrong.