Merge pull request #4 from seigler/master

updated homepage styling
This commit is contained in:
Perry Woodin 2016-09-06 08:11:31 -04:00 committed by GitHub
commit 620970e234
30 changed files with 1335 additions and 1524 deletions

View file

@ -18,3 +18,7 @@ type: colors
<div class="color__tile color__tile--dark-blue-bg">
<code class="color__name">$dark-blue</code>
</div>
<div class="color__tile color__tile--gray-light-bg">
<code class="color__name">$gray-light</code>
</div>

View file

@ -18,8 +18,13 @@ sass:
style: compressed
cache: false
autoprefixer:
browsers:
- last 2 versions
gems:
- jekyll-paginate
- jekyll-autoprefixer
collections:
components: # style guide

View file

@ -11,11 +11,12 @@
{% include nav-desktop.html %}
<!-- Hero content -->
<h1 class="content">{% t pages.home.hero-heading %}</h1>
<p class="content">{% t pages.home.hero-text %}</p>
<div class="content">
<h1>{% t pages.home.hero-heading %}</h1>
<p>{% t pages.home.hero-text %}</p>
<div>
<a href="#" class="btn-blue-solid">{% t nav.get-dash %}</a>
</div>
</div>
</div>

View file

@ -52,7 +52,7 @@ pages:
evolution-text: What's next? We are working on a new decentralized service hosted on the masternode network that will open up Dash to web and mobile while being as easy to use as PayPal but still fully decentralized. Stay tuned...
evolution-btn: Learn More
news-heading: Lastest News
news-heading: Latest News
news-btn: View All News
get-started-heading: Get Started

View file

@ -11,11 +11,12 @@
{% include nav-desktop.html %}
<!-- Hero content -->
<h1 class="content">{% t pages.home.hero-heading %}</h1>
<p class="content">{% t pages.home.hero-text %}</p>
<div class="content">
<h1>{% t pages.home.hero-heading %}</h1>
<p>{% t pages.home.hero-text %}</p>
<div>
<a href="#" class="btn-blue-solid">{% t nav.get-dash %}</a>
</div>
</div>
</div>

View file

@ -11,11 +11,12 @@
{% include nav-desktop.html %}
<!-- Hero content -->
<h1 class="content">{% t pages.home.hero-heading %}</h1>
<p class="content">{% t pages.home.hero-text %}</p>
<div class="content">
<h1>{% t pages.home.hero-heading %}</h1>
<p>{% t pages.home.hero-text %}</p>
<div>
<a href="#" class="btn-blue-solid">{% t nav.get-dash %}</a>
</div>
</div>
</div>

View file

@ -11,11 +11,12 @@
{% include nav-desktop.html %}
<!-- Hero content -->
<h1 class="content">{% t pages.home.hero-heading %}</h1>
<p class="content">{% t pages.home.hero-text %}</p>
<div class="content">
<h1>{% t pages.home.hero-heading %}</h1>
<p>{% t pages.home.hero-text %}</p>
<div>
<a href="#" class="btn-blue-solid">{% t nav.get-dash %}</a>
</div>
</div>
</div>

View file

@ -11,11 +11,12 @@
{% include nav-desktop.html %}
<!-- Hero content -->
<h1 class="content">{% t pages.home.hero-heading %}</h1>
<p class="content">{% t pages.home.hero-text %}</p>
<div class="content">
<h1>{% t pages.home.hero-heading %}</h1>
<p>{% t pages.home.hero-text %}</p>
<div>
<a href="#" class="btn-blue-solid">{% t nav.get-dash %}</a>
</div>
</div>
</div>

View file

@ -11,11 +11,12 @@
{% include nav-desktop.html %}
<!-- Hero content -->
<h1 class="content">{% t pages.home.hero-heading %}</h1>
<p class="content">{% t pages.home.hero-text %}</p>
<div class="content">
<h1>{% t pages.home.hero-heading %}</h1>
<p>{% t pages.home.hero-text %}</p>
<div>
<a href="#" class="btn-blue-solid">{% t nav.get-dash %}</a>
</div>
</div>
</div>

View file

@ -1,40 +0,0 @@
@media (max-width: 1279px) {
.content {
width: 1000px;
margin: 0 auto;
}
h1 {
font-size: 34px;
}
h2 {
font-size: 20px;
}
#background-video {
top: -40px;
max-height: 600px;
}
#key-features {
padding: 0 30px 0 30px;
.col {
width: 50%;
}
.feature {
margin-right: 0px;
.icon {
width: 40px;
height: auto;
margin: 0 30px 100px 0;
}
}
.screenshot {
padding: 40px 30px 30px 10px;
}
}
.feature {
img {
width: 60px;
height: auto;
}
}
}

View file

@ -1,113 +0,0 @@
@media (max-width: 600px) {
.content {
width: 100%;
margin: 0 auto;
padding: 0;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 18px;
}
#hero {
padding-left: 30px;
padding-right: 30px;
}
#sign-in-cta {
form {
input {
display: block;
width: 100%;
margin-bottom: 10px;
}
}
}
#info {
.col {
width: 100%;
box-sizing: border-box;
margin-top: 10px;
margin-bottom: 20px;
border-right: none;
h2 {
font-size: 24px;
margin-bottom: 10px;
}
span {
color: #999999;
text-transform: uppercase;
font-weight: bold;
font-size: 12px;
}
}
}
#key-features {
padding: 30px;
.col {
width: 100%;
box-sizing: border-box;
}
.feature {
margin-bottom: 50px;
margin-right: 20px;
text-align: center;
.icon {
float: none;
width: 55px;
height: auto;
margin: 0;
}
p {
text-align: left;
}
}
}
#news {
padding: 30px 0 30px 0;
.news-post {
width: 100%;
img {
width: 100%;
max-width: 600px;
height: auto;
}
}
}
#get-started-cta {
padding: 50px 30px;
.col {
width: 100%;
padding: 0px;
margin-top: 20px;
margin-bottom: 20px;
}
}
iframe {
min-height: 300px;
}
.feature {
text-align: center;
img {
width: 75px;
height: auto;
}
.col {
float: none;
display: inline-block;
width: 100%;
p {
text-align: left;
}
ul {
text-align: left;
}
ol {
text-align: left;
}
}
}
}

View file

@ -1,62 +0,0 @@
@media (max-width: 760px) {
.content {
width: 600px;
margin: 0 auto;
}
h1 {
font-size: 32px;
}
h2 {
font-size: 18px;
}
.second-line{
display: block;
}
#info {
.col {
width: 33%;
box-sizing: border-box;
padding: 0 10px;
h2 {
font-size: 18px;
margin-bottom: 10px;
}
span {
font-size: 10px;
}
}
}
footer {
padding-top: 0px;
text-align: center;
.nav {
float: none;
text-align: center;
li {
display: block;
margin-left: 0px;
padding-top: 10px;
padding-bottom: 10px;
border-bottom: 1px solid $gray;
}
}
.social {
float: none;
text-align: center;
margin-top: 15px;
}
.logo {
margin-top: 20px;
float: none;
width: 56px;
height: auto;
}
.copyright {
margin-top: 13px;
float: none;
font-size: 12px;
color: #999;
}
}
}

View file

@ -1,91 +0,0 @@
@media (max-width: 1020px) {
.content {
width: 750px;
margin: 0 auto;
}
h1 {
font-size: 34px;
}
h2 {
font-size: 20px;
}
.desktop {
display: none;
width: 0;
height: 0;
}
.button_container {
display: inline-block;
}
#hero {
#top {
margin-bottom: 100px;
padding: 0 !important;
}
}
#info {
.col {
padding: 0px 20px;
h2 {
font-size: 20px;
}
span {
font-size: 12px;
}
}
}
#key-features {
.col {
width: 100%;
}
.screenshot {
text-align: center !important;
padding: 0;
}
}
#news {
.news-post {
width: 50%;
}
}
#get-started-cta {
.col {
width: 50%;
}
}
#top{
padding: 0 30px 0 30px;
}
#title{
padding: 0 30px 0 30px;
}
.main-col {
float: none;
width: 100%;
padding: 0 30px 0 30px;
}
.sidebar {
float: none;
width: 100%;
padding: 0 30px 0 30px;
}
.single-col {
padding: 0 30px 0 30px;
}
.feature {
img {
margin-top: 10px;
width: 40px;
height: auto;
}
}
.col-2{
.col {
width: 100%;
border-right: none !important;
padding: 0;
}
}
}

View file

@ -8,6 +8,7 @@ $red: #ec2227;
$green: #1dd68a;
$gray: #f0f0f0;
$dark-blue: #0b3b5a;
$gray-light: #f7f9fa;
// for the style guide:
@ -28,7 +29,8 @@ $color:
('green', $green),
('gray', $gray),
('dark-blue', $dark-blue);
('dark-blue', $dark-blue),
('gray-light', $gray-light);
@each $name, $bgcolor in $color {
.color__tile--#{$name}-bg {

View file

@ -40,7 +40,5 @@ footer {
}
.footer--social {
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
}

View file

@ -4,7 +4,7 @@ form {
padding: 10px 5px 10px 5px;
border: 2px solid $black;
box-sizing: border-box;
-webkit-appearance: none;
appearance: none;
}
.username {
background-image: url(../images/icon-username.png);

View file

@ -904,10 +904,3 @@
.pull-left {
float: left !important;
}
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

View file

@ -1,6 +1,7 @@
#hero {
height: 600px;
color: $white;
position: relative;
#top {
border-bottom: 1px solid rgba($white, 0.35);
@ -13,6 +14,7 @@
}
}
> .content {
> h1, > p {
text-shadow: 2px 2px 2px rgba(black, 0.4);
}
@ -33,3 +35,4 @@
padding: 5px 25px;
}
}
}

View file

@ -1,94 +1,212 @@
#info {
.col {
width: 33%;
box-sizing: border-box;
margin-top: 50px;
margin-bottom: 70px;
text-align: center;
border-right: 2px solid $gray;
h2 {
font-size: 26px;
margin-bottom: 10px;
span {
font-family: inherit;
font-size: inherit;
margin-bottom: inherit;
color: inherit;
}
}
span {
color: #999999;
text-transform: uppercase;
font-weight: bold;
font-size: 14px;
}
}
.last {
border-right: none !important;
}
}
#key-features {
background-color: $gray;
padding: 50px 0 30px 0;
.col {
width: 50%;
box-sizing: border-box;
}
.feature {
margin-bottom: 50px;
margin-right: 20px;
.icon {
float: left;
width: 55px;
height: auto;
margin: 0 40px 50px 0;
}
}
.screenshot {
text-align: right;
img {
width: 100%;
max-width: 600px;
height: auto;
}
}
}
#news {
padding: 50px 0 0 0;
.news-post {
width: 25%;
padding: 30px;
float: left;
box-sizing: border-box;
div.news-image {
line-height:310px;
height:180px;
img {
width: 100%;
max-width: 310px;
max-height:205px;
height: auto;
}
}
.news-title {
height: 60px;
.page-home {
> section {
padding: 40px 0;
overflow: hidden;
position: relative;
text-align: center;
&:nth-child(2n) {
background-color: $gray-light;
}
.row {
text-align: left;
}
.features-collection {
text-align: center;
}
h2 {
margin-top: 40px;
}
p {
max-width: 60em;
margin: 20px auto;
}
img {
max-width: 100%;
@media (min-width: 768px) {
max-width: calc(100% - 20px);
}
}
}
.col-sm-6 {
z-index: 2; // Lets me use z-index:1 for columns that underlap
}
.home-architecture-graphic,
.home-budgets-graphic,
.home-network-graphic,
.home-evolution-graphic {
min-height: 350px;
@media (min-width: 768px) {
> img {
position: absolute;
}
}
@media (max-width: 767px) {
text-align: center;
> img {
margin-top: 20px;
}
}
}
.home-architecture-graphic {
> img {
max-width: 100%;
box-shadow: -5px 0 10px $black;
border-radius: 8px 0 0 0;
}
}
.home-budgets-graphic {
@media (min-width: 768px) {
min-height: 385px;
> img {
bottom: 10px;
}
}
}
.home-network-graphic {
min-height: 250px;
max-width: none;
@media (min-width: 768px) {
z-index: 1;
> img {
right: -20px;
bottom: -50px;
max-width: 150%;
}
&:after {
content: '';
position: absolute;
right: -20px;
bottom: -50px;
width: 819px;
height: 339px;
max-width: 150%;
background: linear-gradient(to right, $gray-light, rgba($gray-light, 0.5) 33%, rgba($gray-light, 0) 75%);
}
}
}
.home-evolution-graphic {
@media (min-width: 768px) {
z-index: 1;
> img {
top: -40px;
bottom: -40px;
max-width: none;
max-height: calc(100% + 80px);
}
&:after {
content: '';
position: absolute;
top: -40px;
bottom: -40px;
width: 200%;
background: linear-gradient(to left, $white 50%, rgba($white, 0) 87.5%);
}
}
}
.home-get-started-cta {
background-color: $blue;
color: white;
padding-bottom: 0;
h1, h2, h3 {
color: white;
}
img {
vertical-align: text-top;
}
.btn-white-solid {
color: $blue;
}
}
}
.logo-collection {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
> .logo {
flex: 1 1 auto;
margin: 20px 10px;
}
}
.news-post {
background-color: $white;
box-shadow: 0 1px 4px rgba($black, 0.25);
margin: 20px 0;
.news-image {
position: relative;
overflow: hidden;
padding-bottom: 60%;
background-color: #999;
> img {
position: absolute;
top: 0;
left: 0;
width: 100%;
@supports (object-fit: cover) {
height: 100%;
object-fit: cover;
object-position: 50% 50%;
}
}
}
.news-body {
position: relative;
padding: 20px;
height: 220px;
overflow: hidden;
&:after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 90px;
background: linear-gradient(to top, white 50%, rgba(white, 0));
pointer-events: none;
}
h3 {
margin-bottom: 10px;
font-size: 18px;
color: $blue;
line-height: 1.2;
}
.date {
font-style: italic;
color: lighten($black, 50%);
font-size: 14px;
}
a {
color: $blue;
text-decoration: none;
&:hover {
text-decoration: underline;
}
p {
margin: 0;
position: absolute;
left: 20px;
right: 20px;
overflow: hidden;
}
a.read-more {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 20px;
z-index: 1;
}
}
}

View file

@ -19,8 +19,6 @@ a.blog_link {
margin: 1px;
border:1px solid #dddddd;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
}
.background-title {

View file

@ -7,6 +7,10 @@ body {
.content {
width: 1280px;
max-width: calc(100% - 40px);
@media (max-width: 1024px) {
max-width: 96.1%; // at 1024px 40px is 3.9% of screen width
}
margin: 0 auto;
}

View file

@ -25,12 +25,9 @@
background: #FF5252;
height: 2px;
width: 0%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
left: 50%;
bottom: 0;
-webkit-transition: .35s ease;
transition: .35s ease;
}
.a:hover:after, a:focus:after, a:active:after {
@ -47,7 +44,6 @@
width: 32px;
cursor: pointer;
z-index: 100;
-webkit-transition: opacity .25s ease;
transition: opacity .25s ease;
&:hover {
opacity: .7;
@ -60,7 +56,6 @@
position: absolute;
top: 0;
left: 0;
-webkit-transition: all .35s ease;
transition: all .35s ease;
cursor: pointer;
}
@ -70,12 +65,9 @@
span:nth-of-type(3) {
top: 16px;
}
}
.button_container.active .top {
-webkit-transform: translateY(8px) translateX(0) rotate(45deg);
-ms-transform: translateY(8px) translateX(0) rotate(45deg);
transform: translateY(8px) translateX(0) rotate(45deg);
background: $white;
}
@ -84,8 +76,6 @@
background: $white;
}
.button_container.active .bottom {
-webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
-ms-transform: translateY(-8px) translateX(0) rotate(-45deg);
transform: translateY(-8px) translateX(0) rotate(-45deg);
background: $white;
}
@ -99,7 +89,6 @@
width: 32px;
cursor: pointer;
z-index: 100;
-webkit-transition: opacity .25s ease;
transition: opacity .25s ease;
&:hover {
opacity: .7;
@ -112,7 +101,6 @@
position: absolute;
top: 0;
left: 0;
-webkit-transition: all .35s ease;
transition: all .35s ease;
cursor: pointer;
}
@ -126,8 +114,6 @@
}
.button_container.active .top {
-webkit-transform: translateY(8px) translateX(0) rotate(45deg);
-ms-transform: translateY(8px) translateX(0) rotate(45deg);
transform: translateY(8px) translateX(0) rotate(45deg);
background: $blue;
}
@ -136,8 +122,6 @@
background: $blue;
}
.button_container.active .bottom {
-webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
-ms-transform: translateY(-8px) translateX(0) rotate(-45deg);
transform: translateY(-8px) translateX(0) rotate(-45deg);
background: $blue;
}
@ -151,7 +135,6 @@
height: 0%;
opacity: 0;
visibility: hidden;
-webkit-transition: opacity .35s, visibility .35s, height .35s;
transition: opacity .35s, visibility .35s, height .35s;
overflow: hidden;
@ -167,8 +150,6 @@
position: relative;
height: 70%;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
font-size: 36px;
font-weight: 200;
@ -220,36 +201,20 @@
visibility: visible;
height: 100%;
li {
-webkit-animation: fadeInRight .5s ease forwards;
animation: fadeInRight .5s ease forwards;
-webkit-animation-delay: .35s;
animation-delay: .35s;
}
li:nth-of-type(2) {
-webkit-animation-delay: .4s;
animation-delay: .4s;
}
li:nth-of-type(3) {
-webkit-animation-delay: .45s;
animation-delay: .45s;
}
li:nth-of-type(4) {
-webkit-animation-delay: .50s;
animation-delay: .50s;
}
}
@-webkit-keyframes fadeInRight {
0% {
opacity: 0;
left: 20%;
}
100% {
opacity: 1;
left: 0;
}
}
@keyframes fadeInRight {
0% {
opacity: 0;

View file

@ -52,3 +52,6 @@ border-spacing: 0;
*,*:after,*:before {
box-sizing: inherit;
}
body {
box-sizing: border-box;
}

View file

@ -25,6 +25,7 @@ p {
h1, h2, h3 {
font-family: $font-heading;
font-weight: bold;
}
h1 {
@ -34,7 +35,7 @@ h1 {
}
h2 {
font-size: 22px;
font-size: 28px;
color: $blue;
}

View file

@ -28,10 +28,3 @@
@import "post";
@import "junk-drawer";
@import "styleguide";
//responsive overrides
//TODO merge these back into the rest of the SCSS files
@import "1024";
@import "768";
@import "640";
@import "480";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 232 KiB

Before After
Before After

BIN
assets/img/home/macbook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 KiB

View file

@ -7,74 +7,86 @@ description: pages.home.description
{% tf home/hero.html %}
<div class="content">
<div class="page-home">
<!--
WHAT IS DASH?
LINK TO VIDEO.
-->
<div class="row" style="text-align:center;">
<section>
<div class="content">
<h2>{% t pages.home.video-heading %}</h2>
{% tmd pages.home.video-text %}
<a href="#" class="btn-blue">{% t pages.home.video-btn %}</a>
</div>
</section>
<!--
DASH FEATURES
PRIVATE | INSTANT | SECURE
-->
<div class="row" style="text-align:center;">
<section>
<div class="content">
<div class="row features-collection">
<div class="col-sm-4">
<img src="/assets/img/home/icon_private.png" alt="{% t pages.home.feature-private-heading %}">
<img src="/assets/img/home/icon_private.png" height="100" alt="{% t pages.home.feature-private-heading %}">
<h2>{% t pages.home.feature-private-heading %}</h2>
{% tmd pages.home.feature-private-text %}
</div>
<div class="col-sm-4">
<img src="/assets/img/home/icon_instant.png" alt="{% t pages.home.feature-instant-heading %}">
<img src="/assets/img/home/icon_instant.png" height="100" alt="{% t pages.home.feature-instant-heading %}">
<h2>{% t pages.home.feature-instant-heading %}</h2>
{% tmd pages.home.feature-instant-text %}
</div>
<div class="col-sm-4">
<img src="/assets/img/home/icon_secure.png" alt="{% t pages.home.feature-secure-heading %}">
<img src="/assets/img/home/icon_secure.png" height="100" alt="{% t pages.home.feature-secure-heading %}">
<h2>{% t pages.home.feature-secure-heading %}</h2>
{% tmd pages.home.feature-secure-text %}
</div>
</div>
</div>
</section>
<!--
MERCHANTS
-->
<div class="row" style="text-align:center;">
<section>
<div class="content">
<div>
<h2>{% t pages.home.merchants-heading %}</h2>
{% tmd pages.home.merchants-text %}
</div>
<div class="row" style="text-align:center;">
<div class="col-sm-3">
<div class="logo-collection">
<div class="logo">
<img src="/assets/img/home/bolehvpn.png">
</div>
<div class="col-sm-3">
<div class="logo">
<img src="/assets/img/home/node40.png">
</div>
<div class="col-sm-3">
<div class="logo">
<img src="/assets/img/home/protonmail.png">
</div>
<div class="col-sm-3">
<div class="logo">
<img src="/assets/img/home/qhoster.png">
</div>
</div>
<div class="row" style="text-align:center;">
<div>
<a href="#" class="btn-blue">{% t pages.home.merchants-btn %}</a>
<a href="#" class="btn-blue">{% t pages.home.merchants-join-btn %}</a>
</div>
</div>
</section>
<!--
NETWORK ARCHITECTURE
-->
<section>
<div class="content">
<div class="row">
<div class="col-sm-6">
<h2>{% t pages.home.architecture-heading %}</h2>
@ -83,19 +95,19 @@ description: pages.home.description
<a href="#" class="btn-blue">{% t pages.home.architecture-btn %}</a>
</div>
<div class="col-sm-6">
<div class="col-sm-6 home-architecture-graphic">
<img src="/assets/img/home/code.png" alt="{% t pages.home.architecture-heading %}">
</div>
</div>
</div>
</section>
<!--
SELF GOVERNING | SELF FUNDING
-->
<div class="row">
<div class="col-sm-6">
<img src="/assets/img/home/budgets.png" alt="{% t pages.home.governance-heading%}">
</div>
<div class="col-sm-6">
<section>
<div class="content row">
<div class="col-sm-6 col-sm-push-6">
<h2>{% t pages.home.governance-heading%}</h2>
{% tmd pages.home.governance-text %}
@ -104,12 +116,17 @@ description: pages.home.description
<a href="#" class="btn-blue">{% t pages.home.proposal-submit-btn %}</a>
</div>
<div class="col-sm-6 col-sm-pull-6 home-budgets-graphic">
<img src="/assets/img/home/budgets.png" alt="{% t pages.home.governance-heading%}">
</div>
</div>
</section>
<!--
FASTEST GROWING NETWORK
-->
<div class="row">
<section>
<div class="content row">
<div class="col-sm-6">
<h2>{% t pages.home.network-growth-heading %}</h2>
@ -117,69 +134,76 @@ description: pages.home.description
<a href="#" class="btn-blue">{% t pages.home.network-growth-btn %}</a>
</div>
<div class="col-sm-6">
<div class="col-sm-6 home-network-graphic">
<img src="/assets/img/home/graph.png" alt="{% t pages.home.network-growth-heading %}">
</div>
</div>
</section>
<!--
EVOLUTION
-->
<div class="row">
<div class="col-sm-6">
</div>
<div class="col-sm-6">
<section>
<div class="content row">
<div class="col-sm-6 col-sm-push-6">
<h2>{% t pages.home.evolution-heading %}</h2>
{% tmd pages.home.evolution-text %}
<a href="#" class="btn-blue">{% t pages.home.evolution-btn %}</a>
</div>
<div class="col-sm-6 col-sm-pull-6 home-evolution-graphic">
<img src="/assets/img/home/stock-photo-63187555-she-ll-source-whatever-her-customers-are-looking-for.jpg" alt="Merchant using a laptop">
</div>
</div>
</section>
<!--
LATEST NEWS
-->
<div class="row" style="text-align:center;">
<section>
<div class="content">
<h2>{% t pages.home.news-heading %}</h2>
</div>
<div class="row">
{% for post in site.posts limit:4 %}
<div class="col-sm-3">
<div class="col-sm-6 col-md-3">
<div class="news-post">
<div class="news-image">
{% if post.image %}
<img src="{{ post.image }}">
{% endif %}
</div>
<div class="news-title">
<h3>{{ post.title }}</h3>
<div class="news-body">
<h3 class="news-title">{{ post.title }}</h3>
<div class="date">{{ post.date | date: "%b %d, %Y" }}</div>
<p>{{ post.excerpt | strip_html | truncate: 250 }}</p>
<a class="read-more" href="{{ post.url }}">Read More...</a>
</div>
<span class="date">{{ post.date | date: "%b %d, %Y" }}</span>
<p>{{ post.excerpt | strip_html | truncatewords: 20 }}</p>
<a href="{{ post.url }}">Read More...</a>
</div>
</div>
{% endfor %}
</div>
<div class="row" style="text-align:center;">
<div>
<a href="#" class="btn-blue">{% t pages.home.news-btn %}</a>
</div>
</div>
</section>
<!--
GET STARTED
-->
<div class="row" style="text-align:center;">
<section class="home-get-started-cta">
<div class="content">
<h2>{% t pages.home.get-started-heading %}</h2>
{% tmd pages.home.get-started-text %}
<a href="#" class="btn-blue">{% t pages.home.get-started-btn %}</a>
</div>
<a href="#" class="btn-white-solid">{% t pages.home.get-started-btn %}</a>
<img src="/assets/img/home/macbook.png" alt="">
</div>
</section>
</div>