Add Newsletter Component and Page
All checks were successful
continuous-integration/drone/push Build is passing

- Newsletter form on Subscribe page and at the end of the photos
This commit is contained in:
2020-04-28 22:10:29 +02:00
parent 955de7d1e4
commit 6fe4df4189
22 changed files with 478 additions and 137 deletions

View File

@@ -0,0 +1,62 @@
// Newsletter
.newsletter {
max-width: 360px;
margin: 0 auto;
text-align: center;
@include breakpoint (sm) {
max-width: 444px;
}
// Title
h2 {
margin-bottom: 40px;
color: $color-secondary;
}
// Text
&__text {
margin-bottom: 72px;
@include breakpoint (sm) {
margin-bottom: 96px;
}
}
// Form
.form {
}
// Notice
&__notice {
margin-top: 32px;
}
/*
** Small version
*/
&--small {
.newsletter__text {
max-width: 344px;
margin-bottom: 56px;
@include breakpoint (sm) {
margin-bottom: 72px;
}
}
}
/*
** Light version
*/
&--light {
.newsletter__notice {
p {
color: rgba($color-text, 0.5);
}
}
}
}