aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts/partials/jumbotron.html
diff options
context:
space:
mode:
authorDarin Dimitroff <d@thecrazyones.agency>2017-01-01 16:39:14 +0200
committerDarin Dimitroff <d@thecrazyones.agency>2017-01-01 16:39:14 +0200
commitbd9a50e9c824e89d8a91fd54c8bc838cdfa796f6 (patch)
tree06254243ccfc713ab0801e748b16dade68ff73ca /site/layouts/partials/jumbotron.html
parentdedfd8a8098db999f81a55a845e0e4d041f9d7a8 (diff)
Initial commit
Diffstat (limited to 'site/layouts/partials/jumbotron.html')
-rw-r--r--site/layouts/partials/jumbotron.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/site/layouts/partials/jumbotron.html b/site/layouts/partials/jumbotron.html
new file mode 100644
index 0000000..b843c1c
--- /dev/null
+++ b/site/layouts/partials/jumbotron.html
@@ -0,0 +1,18 @@
+<div class="pv5 pv6-l ph3 bg-center cover" style="background-image: url('{{.imageUrl}}')">
+ <div class="mw7 center ph3">
+ <div class="db mb3">
+ <div class="mw7 relative bg-fix-primary mb3">
+ <h1 class="f2 f1-l b di lh-title mb3 white mw6 bg-primary">
+ {{.title}}
+ </h1>
+ </div>
+ <div class="mw7 relative bg-fix-primary">
+ {{ if .subtitle }}
+ <p class="b f4 di lh-title mb3 white mw6 bg-primary">
+ {{.subtitle}}
+ </p>
+ {{ end }}
+ </div>
+ </div>
+ </div>
+</div>