hero initial update

master
Aaron N. Brock 5 years ago
parent 5c91df8a00
commit 9df9e05ebc
  1. 28
      assets/scss/_buttons.scss
  2. 6
      assets/scss/_common.scss
  3. 2
      assets/scss/_typography.scss
  4. 3
      assets/scss/_variables.scss
  5. 65
      assets/scss/components/_hero-section.scss
  6. 4
      assets/scss/style.scss
  7. 8
      layouts/partials/hero.html

@ -0,0 +1,28 @@
.btn {
transition: all 0.3s ease;
padding: 20px 50px;
&:hover {
box-shadow: 0 8px 20px rgba(56, 87, 241, 0.3);
transform: scale(1.03);
}
}
// a {
// display: inline-block;
// padding: 20px 50px;
// font-family: $secondary-font;
// font-size: 16px;
// background: $primary-color;
// border-radius: 7px;
// color: #ffffff;
// text-decoration: none;
// border: 1px solid transparent;
// transition: all 0.3s ease;
// transform: scale(1);
// &:hover {
// background: #425fee;
// box-shadow: 0 8px 20px rgba(56, 87, 241, 0.3);
// transform: scale(1.03);
// }
// }

@ -2,9 +2,9 @@
// scroll-behavior: smooth; // scroll-behavior: smooth;
// } // }
body { // body {
background: $body-color; // background: $body-color;
} // }
.section{ .section{
padding: 100px 0; padding: 100px 0;

@ -7,7 +7,7 @@
// } // }
// h1, h2, h3, h4, h5, h6{ // h1, h2, h3, h4, h5, h6{
// font-family: $secondary-font; // font-family: $primary-font;
// font-weight: 600; // font-weight: 600;
// color: $text-color-dark; // color: $text-color-dark;
// } // }

@ -1,5 +1,6 @@
//site color variables //site color variables
$body-color: #fff; // $body-color: #fff;
$primary-color: #5D78FF; $primary-color: #5D78FF;
$secondary-color: #282F49; $secondary-color: #282F49;
$text-color: #9D9EA5; $text-color: #9D9EA5;

@ -70,38 +70,39 @@
background: $secondary-color; background: $secondary-color;
} }
} }
h1 { // h1 {
margin: 0 0 30px 0; // margin: 0 0 30px 0;
font-size: 60px; // font-size: 60px;
font-family: $primary-font; // font-family: $primary-font;
color: $secondary-color; // color: $secondary-color;
line-height: 70px; // line-height: 70px;
} // }
p { // p {
margin: 0 0 50px 0; // margin: 0 0 50px 0;
font-family: $secondary-font; // font-family: $secondary-font;
color: $secondary-color; // color: $secondary-color;
font-size: 20px; // font-size: 20px;
line-height: 30px; // line-height: 30px;
} // }
a {
display: inline-block; // a {
padding: 20px 50px; // display: inline-block;
font-family: $secondary-font; // padding: 20px 50px;
font-size: 16px; // font-family: $secondary-font;
background: $primary-color; // font-size: 16px;
border-radius: 7px; // background: $primary-color;
color: #ffffff; // border-radius: 7px;
text-decoration: none; // color: #ffffff;
border: 1px solid transparent; // text-decoration: none;
transition: all 0.3s ease; // border: 1px solid transparent;
transform: scale(1); // transition: all 0.3s ease;
&:hover { // transform: scale(1);
background: #425fee; // &:hover {
box-shadow: 0 8px 20px rgba(56, 87, 241, 0.3); // background: #425fee;
transform: scale(1.03); // box-shadow: 0 8px 20px rgba(56, 87, 241, 0.3);
} // transform: scale(1.03);
} // }
// }
} }
&_figure { &_figure {
width: 90%; width: 90%;

@ -7,6 +7,8 @@ VERSION: 1.0.0
@import "variables"; @import "variables";
@import "../bootstrap-4.5.2/scss/bootstrap";
@import "typography"; @import "typography";
@import "mixins"; @import "mixins";
@ -48,5 +50,3 @@ VERSION: 1.0.0
@import "components/contact"; @import "components/contact";
@import "components/case_details"; @import "components/case_details";
@import "../bootstrap-4.5.2/scss/bootstrap";

@ -27,10 +27,12 @@
</g> </g>
</svg> </svg>
</div> </div>
<span>{{ .topTitle }}</span> <div>
{{ .content | markdownify }} <span>{{ .topTitle }}</span>
{{ .content | markdownify }}
</div>
<p></p> <!-- I'm unsure why this <p> is needed --> <p></p> <!-- I'm unsure why this <p> is needed -->
<a href="{{ .buttonURL | absURL }}">{{ .buttonName }}</a> <a type="button" class="btn btn-lg btn-primary" href="{{ .buttonURL | absURL }}">{{ .buttonName }}</a>
</div> </div>
</div> </div>
<div class="col-lg-6"> <div class="col-lg-6">

Loading…
Cancel
Save