Skip to content

Commit

Permalink
Adding the home page settings to the photographer template page fixed #…
Browse files Browse the repository at this point in the history
  • Loading branch information
godofredoninja committed Jul 14, 2022
1 parent 45f54c4 commit 29af1f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion godo-template-photographer.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{{!-- Layout --}}
{{!< default}}

{{!-- Publication Cover - partials/home/publication-cover.hbs --}}
{{> "home/publication-cover"}}

<div class="photographer pb-vmin8">
<div class="js-feed-entry grid md:grid-cols-2 lg:grid-cols-3">
{{#foreach posts}}
Expand Down Expand Up @@ -29,4 +32,4 @@
{{pagination}}
</div>

{{#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}}
{{#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}}
4 changes: 2 additions & 2 deletions partials/story/story-featured.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<article class="godo-f-story relative px-4 overflow-hidden py-vw8 bg-dark w-full flex-none">
<div class="max-w-1100 mx-auto relative z-3">
<article class="godo-f-story flex items-center relative px-4 overflow-hidden py-vw8 bg-dark w-full flex-none">
<div class="max-w-1100 mx-auto relative z-3 h-full flex items-center">
<div class="lg:w-2/3">
<p class="mb-4 text-base font-semibold uppercase text-amber-400">{{t "featured story"}}</p>
<h2 class="relative text-32 md:text-5xl font-semibold leading-tight mb-4"><a href="{{url}}" class="text-white">{{title}}</a></h2>
Expand Down

0 comments on commit 29af1f0

Please sign in to comment.