Skip to content

Commit 3bbb792

Browse files
committed
news header
1 parent a30f3b2 commit 3bbb792

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

themes/hugo-sustain/layouts/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
<h1 class="home-section-title">GraphQL Java Home</h1>
99
<h3 class="home-section-about">This is the home page of the <a target="_blank" href="https://github.com/graphql-java/graphql-java">GraphQL
1010
Java implementation</a></h3>
11-
<div>
12-
<p class="news"><a id="news-link" href="/workshops"> 🎉 <span class="home-new">New:</span> Workshops coming soon! 🎉 </a></p>
13-
</div>
1411
<div class="version-info">
1512
The latest conceptual documentation <a href="/documentation/latest">can be found here</a>
1613
</div>

themes/hugo-sustain/layouts/partials/header.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@
2121
</svg>
2222
</div>
2323
</div>
24-
<!-- Algolia autocomplete search -->
25-
</nav>
24+
</nav>
25+
<div class="workshops-header">
26+
<a id="news-link" href="/workshops"> 🎉 <span class="home-new">New:</span> Workshops coming soon! 🎉 </a>
27+
</div>

themes/hugo-sustain/static/css/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@ div.footer {
224224
margin-top: 32px;
225225
}
226226

227+
.workshops-header {
228+
font-size: 24px;
229+
text-align: center;
230+
margin-bottom: 20px;
231+
}
232+
227233
#news-link {
228234
color: #333;
229235
}

0 commit comments

Comments
 (0)