File tree Expand file tree Collapse file tree 4 files changed +69
-8
lines changed
Expand file tree Collapse file tree 4 files changed +69
-8
lines changed Original file line number Diff line number Diff line change 11{{!< default }}
22<header class =' page-about__hero' >
3- {{ #get ' pages' filter =" title:'About::Hero - Body'" limit =' 1' }}
4- {{ #foreach pages }}
5- {{ content }}
6- {{ /foreach }}
7- {{ /get }}
8- <section class =' kg-button-card__group' >
9- {{ #get ' pages' filter =' tag:hash-about-hero-cta' limit =' 2' }}
3+ <div class =' page-about__hero__inner' >
4+ {{ #get ' pages' filter =" title:'About::Hero - Body'" limit =' 1' }}
105 {{ #foreach pages }}
116 {{ content }}
127 {{ /foreach }}
138 {{ /get }}
14- </section >
9+ <section class =' kg-button-card__group' >
10+ {{ #get ' pages' filter =' tag:hash-about-hero-cta' limit =' 2' }}
11+ {{ #foreach pages }}
12+ {{ content }}
13+ {{ /foreach }}
14+ {{ /get }}
15+ </section >
16+ </div >
1517</header >
1618{{> ' get-involved' }}
Original file line number Diff line number Diff line change 2424@import './pages/home.css' ;
2525@import './pages/conferences.css' ;
2626@import './pages/open-source.css' ;
27+ @import './pages/about.css' ;
2728
2829@import './modern.css' ;
2930
Original file line number Diff line number Diff line change 1+ .page-about {
2+ main {
3+ padding-top : 0 ;
4+ }
5+
6+ .page-about__hero {
7+ align-items : center;
8+ background-image : url ('/assets/images/about__hero--background.jpg' );
9+ background-repeat : no-repeat;
10+ background-size : cover;
11+ color : white;
12+ display : flex;
13+ justify-content : center;
14+ }
15+
16+ .page-about__hero__inner {
17+ max-width : 1135px ;
18+ padding : 96px 40px ;
19+
20+ h2 ,
21+ p {
22+ margin-bottom : 32px ;
23+ }
24+
25+ h1 {
26+ margin-bottom : 16px ;
27+ text-transform : uppercase;
28+ }
29+
30+ h2 {
31+ font-size : 2rem ;
32+ }
33+ }
34+
35+ @media (min-width : 834px ) {
36+ .page-about__hero {
37+ min-height : 834px ;
38+ }
39+
40+ .page-about__hero__inner {
41+ padding : 0 56px ;
42+
43+ h2 {
44+ font-size : 2rem ;
45+ }
46+ }
47+ }
48+
49+ @media (min-width : 1440px ) {
50+ .page-about__hero {
51+ min-height : 980px ;
52+ }
53+
54+ .page-about__hero__inner {
55+ padding : 0 ;
56+ }
57+ }
58+ }
You can’t perform that action at this time.
0 commit comments