Skip to content

Commit 5d7473d

Browse files
committed
Add hero section to main template with event links and styled layout
1 parent 07bfeca commit 5d7473d

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

src/img/typelevel-angle.png

80.6 KB
Loading

src/templates/main.template.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,33 @@
2727
</head>
2828

2929
<body class="bulma-is-flex bulma-is-flex-direction-column">
30+
<div class="bulma-hero"
31+
style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: 2px solid purple; border-radius: 0; overflow: hidden;">
32+
<div class="bulma-container bulma-is-max-desktop">
33+
<div class="bulma-columns bulma-is-vcentered">
34+
<div class="bulma-column bulma-is-one-third">
35+
<div class="bulma-buttons bulma-is-flex bulma-is-flex-direction-row bulma-is-flex-wrap-nowrap">
36+
<a href="https://luma.com/iyv37emv" class="bulma-button"
37+
style="background-color: #4a148c; color: white; border: 2px solid white;">Berlin</a>
38+
<a href="https://luma.com/vzp35rp7" class="bulma-button"
39+
style="background-color: #4a148c; color: white; border: 2px solid white;">London</a>
40+
<a href="https://luma.com/4s6qxb9p" class="bulma-button"
41+
style="background-color: #4a148c; color: white; border: 2px solid white;">Málaga</a>
42+
</div>
43+
</div>
44+
<div class="bulma-column bulma-is-two-thirds"
45+
style="background-image: url('@:target(/img/typelevel-angle.png)'); background-position: right center; background-repeat: no-repeat; background-size: 150%; margin-right: 20px;">
46+
<h2 class="bulma-subtitle bulma-is-3 bulma-is-size-4-mobile">
47+
<span style="color: #d3d3d3; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);">Join us at one of our upcoming events to connect with the Typelevel community!</span>
48+
</h2>
49+
</div>
50+
</div>
51+
</div>
52+
</div>
3053
@:include(/templates/nav.template.html)
54+
3155
<main class="bulma-is-flex-grow-1">
56+
3257
${_.embeddedBody}
3358
</main>
3459
@:include(/templates/footer.template.html)

0 commit comments

Comments
 (0)