Merge branch 'v2' of https://git.server.flayks.com/cetrucflotte/housesof into v2
This commit is contained in:
12
src/components/molecules/Heading.svelte
Normal file
12
src/components/molecules/Heading.svelte
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
|
||||||
|
import SiteTitle from '$components/atoms/SiteTitle.svelte';
|
||||||
|
|
||||||
|
export let text: string
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<section class="heading">
|
||||||
|
<SiteTitle variant="inline" />
|
||||||
|
<p class="text-medium">{text}</p>
|
||||||
|
</section>
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
<div class="shop shadow-box-dark">
|
<div class="shop shadow-box-dark">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="shop__image">
|
<div class="shop__image">
|
||||||
<img src="/images/poster-display.jpg" alt="">
|
|
||||||
<Image id={shop.module_image.id} alt={shop.module_image.title} width={800} height={800} />
|
<Image id={shop.module_image.id} alt={shop.module_image.title} width={800} height={800} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
import Locations from '$components/organisms/Locations.svelte'
|
import Locations from '$components/organisms/Locations.svelte'
|
||||||
import Shop from '$components/organisms/Shop.svelte'
|
import Shop from '$components/organisms/Shop.svelte'
|
||||||
import Newsletter from '$components/organisms/Newsletter.svelte'
|
import Newsletter from '$components/organisms/Newsletter.svelte'
|
||||||
import SiteTitle from '$components/atoms/SiteTitle.svelte'
|
import Heading from '$components/molecules/Heading.svelte'
|
||||||
|
|
||||||
export let photos: any
|
export let photos: any
|
||||||
|
|
||||||
@@ -20,10 +20,9 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<main class="explore">
|
<main class="explore">
|
||||||
<section class="explore__intro">
|
<Heading
|
||||||
<SiteTitle variant="inline" />
|
text="Explore the globe to discover unique locations across the world"
|
||||||
<p class="text-medium">Explore the globe to discover unique locations across the world</p>
|
/>
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="explore__locations" id="locations">
|
<section class="explore__locations" id="locations">
|
||||||
<InteractiveGlobe />
|
<InteractiveGlobe />
|
||||||
|
|||||||
@@ -1 +1,96 @@
|
|||||||
<h1>Subscribe</h1>
|
<script lang="ts">
|
||||||
|
// Components
|
||||||
|
import Metas from '$components/Metas.svelte'
|
||||||
|
import Heading from '$components/molecules/Heading.svelte'
|
||||||
|
import Shop from '$components/organisms/Shop.svelte'
|
||||||
|
import Newsletter from '$components/organisms/Newsletter.svelte'
|
||||||
|
|
||||||
|
export let photos: any
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<Metas
|
||||||
|
title="Subscribe"
|
||||||
|
description=""
|
||||||
|
image=""
|
||||||
|
/>
|
||||||
|
|
||||||
|
<main class="subscribe">
|
||||||
|
<Heading
|
||||||
|
text="If you wish to be pinged when new photos are added to and limited prints become available on our shop, sign up below."
|
||||||
|
/>
|
||||||
|
|
||||||
|
<section class="subscribe__issues">
|
||||||
|
<h2 class="title-small">Past Issues</h2>
|
||||||
|
<ul>
|
||||||
|
<li class="issue">
|
||||||
|
<a href="#">
|
||||||
|
<img src="/images/issue-1.jpg" alt="">
|
||||||
|
<dl>
|
||||||
|
<dt>Issue #3</dt>
|
||||||
|
<dd>
|
||||||
|
<p>Adding Occitanie region to the mix!</p>
|
||||||
|
<time>24/08/2020</time>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="issue">
|
||||||
|
<a href="#">
|
||||||
|
<img src="/images/issue-1.jpg" alt="">
|
||||||
|
<dl>
|
||||||
|
<dt>Issue #3</dt>
|
||||||
|
<dd>
|
||||||
|
<p>Adding Occitanie region to the mix!</p>
|
||||||
|
<time>24/08/2020</time>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="issue">
|
||||||
|
<a href="#">
|
||||||
|
<img src="/images/issue-1.jpg" alt="">
|
||||||
|
<dl>
|
||||||
|
<dt>Issue #3</dt>
|
||||||
|
<dd>
|
||||||
|
<p>Adding Occitanie region to the mix!</p>
|
||||||
|
<time>24/08/2020</time>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="grid-modules grid">
|
||||||
|
<div class="wrap">
|
||||||
|
<Shop />
|
||||||
|
<Newsletter />
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
|
||||||
|
<script context="module" lang="ts">
|
||||||
|
import { fetchAPI } from '$utils/api'
|
||||||
|
|
||||||
|
export async function load ({ page, fetch, session, stuff }) {
|
||||||
|
const res = await fetchAPI(`
|
||||||
|
query {
|
||||||
|
photo (limit: 11, sort: ["-date_created"]) {
|
||||||
|
image {
|
||||||
|
id
|
||||||
|
title
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`)
|
||||||
|
|
||||||
|
const { data } = res
|
||||||
|
|
||||||
|
return {
|
||||||
|
props: {
|
||||||
|
photos: data.photo,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|||||||
@@ -14,21 +14,29 @@
|
|||||||
|
|
||||||
// House Name
|
// House Name
|
||||||
.title-image {
|
.title-image {
|
||||||
font-size: rem(88px);
|
font-size: rem(40px);
|
||||||
font-family: $font-serif;
|
font-family: $font-serif;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
color: $color-secondary;
|
color: $color-secondary;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
font-size: clamp(#{rem(40px)}, 7vw, #{rem(88px)});
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// House Number
|
// House Number
|
||||||
.title-index {
|
.title-index {
|
||||||
font-size: rem(280px);
|
font-size: rem(80px);
|
||||||
font-family: $font-serif;
|
font-family: $font-serif;
|
||||||
letter-spacing: -0.05em;
|
letter-spacing: -0.05em;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
color: rgba($color-tertiary, 0.6);
|
color: rgba($color-tertiary, 0.6);
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
font-size: clamp(#{rem(80px)}, 24vw, #{rem(280px)});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Medium
|
// Medium
|
||||||
@@ -46,10 +54,14 @@
|
|||||||
// Small
|
// Small
|
||||||
.title-small {
|
.title-small {
|
||||||
color: $color-secondary;
|
color: $color-secondary;
|
||||||
font-size: rem(28px);
|
font-size: rem(24px);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
font-family: $font-serif;
|
font-family: $font-serif;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
font-size: rem(28px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -73,9 +85,12 @@
|
|||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
font-size: rem(28px);
|
font-size: rem(24px);
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
@include bp (md) {
|
||||||
|
font-size: rem(28px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Normal
|
// Normal
|
||||||
@@ -94,8 +109,13 @@
|
|||||||
|
|
||||||
// Photo date
|
// Photo date
|
||||||
.text-date {
|
.text-date {
|
||||||
font-size: rem(16px);
|
font-size: rem(14px);
|
||||||
line-height: 1.4;
|
line-height: 1.3;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
font-size: rem(16px);
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Label
|
// Label
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ $font-serif: "Magnolia", #{$replacement-serif};
|
|||||||
$base-width: 1600 !default;
|
$base-width: 1600 !default;
|
||||||
|
|
||||||
// Grid
|
// Grid
|
||||||
$cols-m: 12 !default;
|
$cols-m: 8 !default;
|
||||||
$cols-d: 24 !default;
|
$cols-d: 24 !default;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
27
src/style/molecules/_heading.scss
Normal file
27
src/style/molecules/_heading.scss
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
.heading {
|
||||||
|
overflow: hidden;
|
||||||
|
color: $color-tertiary;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
// Title
|
||||||
|
h1 {
|
||||||
|
color: $color-secondary;
|
||||||
|
line-height: 1;
|
||||||
|
margin-top: 56px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
margin-top: 160px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Text
|
||||||
|
p {
|
||||||
|
max-width: 260px;
|
||||||
|
margin: 40px auto 0;
|
||||||
|
font-weight: 200;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
margin: 72px auto 130px;
|
||||||
|
max-width: 600px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
src/style/molecules/_issue.scss
Normal file
36
src/style/molecules/_issue.scss
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
.issue {
|
||||||
|
display: flex;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 6px;
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: flex;
|
||||||
|
padding: 20px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
// Image
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
width: 80px;
|
||||||
|
height: 56px;
|
||||||
|
margin-right: 16px;
|
||||||
|
}
|
||||||
|
// Title
|
||||||
|
dt {
|
||||||
|
color: $color-secondary;
|
||||||
|
font-size: rem(20px);
|
||||||
|
margin-bottom: 8px;
|
||||||
|
font-family: $font-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
// Description
|
||||||
|
dd {
|
||||||
|
font-size: rem(16px);
|
||||||
|
color: $color-gray;
|
||||||
|
}
|
||||||
|
// Date
|
||||||
|
time {
|
||||||
|
opacity: 0.6;
|
||||||
|
font-size: rem(12px);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,22 +1,37 @@
|
|||||||
.house {
|
.house {
|
||||||
--columns: 20;
|
|
||||||
grid-column-start: 3;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
--columns: 20;
|
||||||
|
grid-column-start: 3;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Information
|
// Information
|
||||||
&__info {
|
&__info {
|
||||||
grid-column: 4 / span 14;
|
grid-column: 2 / span var(--columns);
|
||||||
margin-bottom: 56px;
|
margin-bottom: 32px;
|
||||||
max-width: 800px;
|
padding: 0 20px;
|
||||||
|
max-width: min(540px, 85vw);
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
grid-column: 4 / span 14;
|
||||||
|
margin-bottom: 56px;
|
||||||
|
padding: 0;
|
||||||
|
max-width: 800px;
|
||||||
|
}
|
||||||
|
|
||||||
time {
|
time {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 24px;
|
margin-top: 16px;
|
||||||
color: $color-lightgray;
|
color: $color-lightgray;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
margin-top: 24px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,8 +44,11 @@
|
|||||||
picture {
|
picture {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
border-radius: 8px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -42,12 +60,17 @@
|
|||||||
|
|
||||||
// Photo number
|
// Photo number
|
||||||
&__index {
|
&__index {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 1;
|
||||||
|
bottom: -64px;
|
||||||
|
right: 20px;
|
||||||
|
text-align: right;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
position: absolute;
|
|
||||||
z-index: 1;
|
|
||||||
left: 112.5%;
|
left: 112.5%;
|
||||||
width: 400px;
|
width: 400px;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
bottom: auto;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
transform: translate3d(-50%, -50%, 0);
|
transform: translate3d(-50%, -50%, 0);
|
||||||
}
|
}
|
||||||
@@ -57,13 +80,20 @@
|
|||||||
&:nth-child(even) {
|
&:nth-child(even) {
|
||||||
.house {
|
.house {
|
||||||
&__photo {
|
&__photo {
|
||||||
grid-column-start: 4;
|
@include bp (sm) {
|
||||||
|
grid-column-start: 4;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&__info {
|
&__info {
|
||||||
margin-left: auto;
|
@include bp (sm) {
|
||||||
text-align: right;
|
margin-left: auto;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&__index {
|
&__index {
|
||||||
|
left: auto;
|
||||||
|
right: 20px;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
right: auto;
|
right: auto;
|
||||||
left: -12%;
|
left: -12%;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
.location-page__intro {
|
.location-page__intro {
|
||||||
position: relative;
|
position: relative;
|
||||||
background: $color-primary;
|
background: $color-primary;
|
||||||
|
// padding-top: clamp(100px, 25vw, 400px);
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
padding-top: clamp(40px, 14vw, 320px);
|
padding-top: clamp(40px, 14vw, 320px);
|
||||||
@@ -16,21 +17,29 @@
|
|||||||
|
|
||||||
// Houses Of Title
|
// Houses Of Title
|
||||||
.title {
|
.title {
|
||||||
grid-column: 1 / span var(--columns);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
display: flex;
|
grid-column: 1 / span var(--columns);
|
||||||
flex-flow: row wrap;
|
|
||||||
align-items: baseline;
|
|
||||||
justify-content: flex-start;
|
|
||||||
max-width: clamp(300px, 80vw, 1120px);
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 32px;
|
padding: 0 32px;
|
||||||
font-family: $font-serif;
|
font-family: $font-serif;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: $color-lightpurple;
|
color: $color-lightpurple;
|
||||||
font-size: rem(56px);
|
font-size: rem(52px);
|
||||||
|
text-align: center;
|
||||||
|
margin: min(360px, 60vw) auto;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: row wrap;
|
||||||
|
align-items: baseline;
|
||||||
|
justify-content: flex-start;
|
||||||
|
max-width: clamp(300px, 80vw, 1120px);
|
||||||
|
margin: 0 auto;
|
||||||
|
font-size: rem(56px);
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -42,11 +51,22 @@
|
|||||||
|
|
||||||
.housesof {
|
.housesof {
|
||||||
grid-column: span var(--columns);
|
grid-column: span var(--columns);
|
||||||
display: flex;
|
|
||||||
align-items: baseline;
|
@include bp (sm) {
|
||||||
|
display: flex;
|
||||||
|
align-items: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
margin: 0 24px;
|
display: block;
|
||||||
|
font-size: rem(24px);
|
||||||
|
margin-top: 8px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
display: inline;
|
||||||
|
font-size: rem(56px);
|
||||||
|
margin: 0 24px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.city {
|
.city {
|
||||||
@@ -58,25 +78,47 @@
|
|||||||
|
|
||||||
// Description
|
// Description
|
||||||
&__description {
|
&__description {
|
||||||
--columns: 19;
|
grid-column: span var(--columns);
|
||||||
grid-column: 6 / span 19;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
margin: clamp(40px, 14vw, 200px) 0 calc(-1 * clamp(60px, 6vw, 120px));
|
margin-bottom: -8px;
|
||||||
background-color: $color-tertiary;
|
background-color: $color-tertiary;
|
||||||
color: $color-text;
|
color: $color-text;
|
||||||
border-radius: 8px 0 0 8px;
|
border-radius: 8px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
--columns: 19;
|
||||||
|
grid-column: 4 / span 21;
|
||||||
|
margin: clamp(40px, 14vw, 200px) 0 calc(-1 * clamp(60px, 6vw, 120px));
|
||||||
|
}
|
||||||
|
@include bp (md) {
|
||||||
|
grid-column: 6 / span 19;
|
||||||
|
}
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
grid-column: 3 / span 13;
|
grid-column: 2 / span 6;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
padding: 128px 0;
|
padding: 50px 0;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
grid-column: 3 / span 13;
|
||||||
|
padding: 72px 0;
|
||||||
|
}
|
||||||
|
@include bp (md) {
|
||||||
|
padding: 128px 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
$text-color: rgba($color-text, 0.5);
|
$text-color: rgba($color-text, 0.5);
|
||||||
margin: 40px 0 64px;
|
margin: 32px 0 40px;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
|
line-height: 0.8;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
margin: 40px 0 64px;
|
||||||
|
line-height: 1.3;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
@@ -97,6 +139,13 @@
|
|||||||
|
|
||||||
.button {
|
.button {
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
font-size: rem(16px);
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-size: rem(18px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -108,7 +157,7 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
width: clamp(320px, 100vw, 1920px);
|
width: clamp(320px, 100vw, 2560px);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: 0 0 var(--illus-mobile) no-repeat;
|
background: 0 0 var(--illus-mobile) no-repeat;
|
||||||
background-size: 100% auto;
|
background-size: 100% auto;
|
||||||
@@ -126,25 +175,33 @@
|
|||||||
// Houses
|
// Houses
|
||||||
&__houses {
|
&__houses {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding-top: 240px;
|
padding-top: 80px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
padding-top: 240px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// House
|
// House
|
||||||
.house {
|
.house {
|
||||||
&:not(:last-child) {
|
&:not(:last-child) {
|
||||||
margin-bottom: 120px;
|
margin-bottom: 86px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
margin-bottom: 120px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Next photos section
|
// Next photos section
|
||||||
&__next {
|
&__next {
|
||||||
margin-top: 80px;
|
margin-top: 135px;
|
||||||
padding: 64px 0 48px;
|
padding: 72px 0 56px;
|
||||||
background-color: $color-tertiary;
|
background-color: $color-tertiary;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
margin-top: -120px;
|
margin-top: calc(-1 * clamp(64px, 8vw, 120px));
|
||||||
padding-top: 240px;
|
padding-top: 240px;
|
||||||
padding-bottom: 104px;
|
padding-bottom: 104px;
|
||||||
}
|
}
|
||||||
@@ -170,13 +227,17 @@
|
|||||||
&__progress {
|
&__progress {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: clamp(80px, 16vw, #{rem(160px)});
|
font-size: rem(88px);
|
||||||
color: rgba($color-text, 0.2);
|
color: rgba($color-text, 0.2);
|
||||||
font-family: $font-serif;
|
font-family: $font-serif;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
letter-spacing: -0.05em;
|
letter-spacing: -0.05em;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
font-size: clamp(80px, 16vw, #{rem(160px)});
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 -10px;
|
margin: 0 -10px;
|
||||||
@@ -216,4 +277,4 @@
|
|||||||
font-size: rem(28px);
|
font-size: rem(28px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
49
src/style/pages/_subscribe.scss
Normal file
49
src/style/pages/_subscribe.scss
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
// Subscribe Page
|
||||||
|
.subscribe {
|
||||||
|
// Modules
|
||||||
|
.grid-modules {
|
||||||
|
grid-column: span var(--columns);
|
||||||
|
margin: 96px 20px 0;
|
||||||
|
padding-bottom: 40px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
grid-column: 2 / span 22;
|
||||||
|
margin: 200px 0 72px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Past Issues
|
||||||
|
&__issues {
|
||||||
|
margin: 64px auto 0;
|
||||||
|
padding: 0 20px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
max-width: 800px;
|
||||||
|
padding: 0;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Title
|
||||||
|
h2 {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
margin-top: 32px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
grid-gap: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -24,6 +24,7 @@
|
|||||||
@import "pages/photos";
|
@import "pages/photos";
|
||||||
@import "pages/explore";
|
@import "pages/explore";
|
||||||
@import "pages/credits";
|
@import "pages/credits";
|
||||||
|
@import "pages/subscribe";
|
||||||
@import "pages/location";
|
@import "pages/location";
|
||||||
|
|
||||||
// Modules
|
// Modules
|
||||||
@@ -44,6 +45,8 @@
|
|||||||
@import "molecules/photo-card";
|
@import "molecules/photo-card";
|
||||||
@import "molecules/location";
|
@import "molecules/location";
|
||||||
@import "molecules/switcher";
|
@import "molecules/switcher";
|
||||||
|
@import "molecules/heading";
|
||||||
|
@import "molecules/issue";
|
||||||
|
|
||||||
// Organisms
|
// Organisms
|
||||||
@import "organisms/locations";
|
@import "organisms/locations";
|
||||||
|
|||||||
BIN
static/images/issue-1.jpg
Normal file
BIN
static/images/issue-1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.4 KiB |
Reference in New Issue
Block a user