Skip to content

Commit e93d849

Browse files
author
Elli
committed
add new to homepage
1 parent 3c42938 commit e93d849

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

themes/hugo-sustain/layouts/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
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>
1114
<div class="version-info">
1215
The latest conceptual documentation <a href="/documentation/latest">can be found here</a>
1316
</div>

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,19 @@ div.footer {
219219
font-size: 18px;
220220
}
221221

222+
.news {
223+
font-size: 24px;
224+
margin-top: 32px;
225+
}
226+
227+
#news-link {
228+
color: #333;
229+
}
230+
231+
.home-new {
232+
color: #eb0195;
233+
}
234+
222235
.workshops-announcement {
223236
color: #eb0195;
224237
font-weight: bold;

0 commit comments

Comments
 (0)