mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 18:19:25 +00:00
Added mainPageHeader component
This commit is contained in:
13
src/stylesheets/components/_mainPageHeader.scss
Normal file
13
src/stylesheets/components/_mainPageHeader.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
.mainPageHeader {
|
||||
background-color: $primary-colour;
|
||||
padding: 2rem 0;
|
||||
color: white;
|
||||
font-size: 1.5em;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-size: 3rem;
|
||||
|
||||
@include respond-to('medium') {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
}
|
||||
@@ -12,5 +12,6 @@
|
||||
@import 'components/testimonial';
|
||||
@import 'components/title';
|
||||
@import 'components/form';
|
||||
@import 'components/mainPageHeader';
|
||||
|
||||
@import 'pages/index';
|
||||
|
||||
3
views/partials/mainPageHeader.hbs
Normal file
3
views/partials/mainPageHeader.hbs
Normal file
@@ -0,0 +1,3 @@
|
||||
<section class='mainPageHeader'>
|
||||
{{ name }}
|
||||
</section>
|
||||
Reference in New Issue
Block a user