Skip to content

Instantly share code, notes, and snippets.

@mtermoul

mtermoul/home.handlebars Secret

Created May 13, 2019
Embed
What would you like to do?
crowd-pitch/views/home.handlebars
<div class="container-fluid">
<div class="row top-banner text-center bg-alt-1">
<div class="col-sm"></div>
<div class="col-sm">
<img src="{{ cosmic.metadata.top_logo.url }}" alt="Crowd-Pith-Logo" height="100" class="brand-logo mt-2 mb-2">
</div>
<div class="col-sm"></div>
</div>
</div>
<div class="container-fluid content-main">
<div class="row text-center pt-4 content-section">
<div class="col-lg">
<h2 class="display-4 title-1">{{ cosmic.metadata.main_header }}</h2>
{{#each cosmic.metadata.sub_headers }}
<h1 class="title-2{{#if @first}} pt-4{{/if}}">{{ header }}</h1>
{{/each}}
{{#each cosmic.metadata.top_description.[0] }}
<div class="p-1{{#if @first}} pt-4{{/if}}{{#if @last}} pb-4{{/if}}">{{this}}</div>
{{/each}}
</div>
</div>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.