Skip to content

Commit 29af1f0

Browse files
Adding the home page settings to the photographer template page fixed #126
1 parent 45f54c4 commit 29af1f0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

godo-template-photographer.hbs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{{!-- Layout --}}
22
{{!< default}}
33

4+
{{!-- Publication Cover - partials/home/publication-cover.hbs --}}
5+
{{> "home/publication-cover"}}
6+
47
<div class="photographer pb-vmin8">
58
<div class="js-feed-entry grid md:grid-cols-2 lg:grid-cols-3">
69
{{#foreach posts}}
@@ -29,4 +32,4 @@
2932
{{pagination}}
3033
</div>
3134

32-
{{#contentFor "header"}}<style>.story-cover-thumbnail{padding-top:90%}.story-cover-thumbnail .simply-cover-gradient{transition:background-color .5s ease-in-out;background-color:transparent;background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.9)),color-stop(60%,rgba(255,255,255,0)));background-image:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(255,255,255,0) 60%)}.story-cover:hover .story-cover-thumbnail .simply-cover-gradient{background-color:rgba(0,0,0,.55)}.hh-author-name a:hover{color:#fff}@media only screen and (min-width: 766px){.story-cover-thumbnail{padding-top:125%}}</style>{{/contentFor}}
35+
{{#contentFor "header"}}<style>.godo-f-story{height:100vh}.story-cover-thumbnail{padding-top:90%}.story-cover-thumbnail .simply-cover-gradient{transition:background-color .5s ease-in-out;background-color:transparent;background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.9)),color-stop(60%,rgba(255,255,255,0)));background-image:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(255,255,255,0) 60%)}.story-cover:hover .story-cover-thumbnail .simply-cover-gradient{background-color:rgba(0,0,0,.55)}.hh-author-name a:hover{color:#fff}@media only screen and (min-width: 766px){.story-cover-thumbnail{padding-top:125%}}</style>{{/contentFor}}

partials/story/story-featured.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<article class="godo-f-story relative px-4 overflow-hidden py-vw8 bg-dark w-full flex-none">
2-
<div class="max-w-1100 mx-auto relative z-3">
1+
<article class="godo-f-story flex items-center relative px-4 overflow-hidden py-vw8 bg-dark w-full flex-none">
2+
<div class="max-w-1100 mx-auto relative z-3 h-full flex items-center">
33
<div class="lg:w-2/3">
44
<p class="mb-4 text-base font-semibold uppercase text-amber-400">{{t "featured story"}}</p>
55
<h2 class="relative text-32 md:text-5xl font-semibold leading-tight mb-4"><a href="{{url}}" class="text-white">{{title}}</a></h2>

0 commit comments

Comments
 (0)