Skip to content

Commit 8a7ca56

Browse files
SPONSORSHIP, better alert
1 parent 79bbfd1 commit 8a7ca56

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

_includes/sponsorship-alert.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<div style="padding-top: 12px; color:red;">
2+
3+
<div class="alert">
4+
JaVers needs funding to sustain. You can
5+
<a href="/sponsorship">sponsor
6+
JaVers development easily</a>
7+
via Open Collective.
8+
</div>
9+
10+
</div>

_layouts/page.html

+1-11
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,7 @@
4848

4949
{% if page.url contains '/sponsorship' %}
5050
{% else %}
51-
<div style="padding-top: 12px; color:red;">
52-
53-
<div class="alert">
54-
JaVers needs funding to sustain. You can
55-
<a href="/sponsorship">sponsor</a>
56-
JaVers development easily
57-
via
58-
<a href="https://opencollective.com/javers">Open Collective</a>.
59-
</div>
60-
61-
</div>
51+
{% include sponsorship-alert.html %}
6252
{% endif %}
6353

6454
<h1 itemprop="headline">{{ page.title }}</h1>

css/style.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ pre.highlight > code {
5252
border-width: 4px;
5353
border-color: #2874a6;
5454
color: #154360;
55-
margin-bottom: 15px;
55+
margin-bottom: 12px;
56+
margin-left:8px;
57+
margin-right:8px;
5658
font-size: 1em;
5759
font-family: 'Ubuntu', sans-serif;
5860
}

index.html

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
description: With JaVers you can forget about troublesome data versioning. Let the changes in your data be managed by JaVers.
55
---
66

7+
{% include sponsorship-alert.html %}
8+
79
<header class="container-fluid hero-container">
810
<div class="hero">
911
<h1 style="color:#EA4D1A;">Object auditing and diff framework for Java</h1>

0 commit comments

Comments
 (0)