aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-07-02 01:41:15 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-07-02 01:41:15 +0200
commitbb0736fe006be22ad7d63e51d7f5fc969956255b (patch)
treeb49603a86ee55b0e5e0cb56301f62d9d6b7b6de8
parent927a6774f5713c2103563b56ba1b57b6fc09ceaa (diff)
downloadlombok-bb0736fe006be22ad7d63e51d7f5fc969956255b.tar.gz
lombok-bb0736fe006be22ad7d63e51d7f5fc969956255b.tar.bz2
lombok-bb0736fe006be22ad7d63e51d7f5fc969956255b.zip
[website] tidelift update
-rw-r--r--website/resources/css/custom.css38
-rw-r--r--website/resources/img/projectlombok-tidelift-mix-orig.pngbin0 -> 128229 bytes
-rw-r--r--website/resources/img/projectlombok-tidelift-mix.pngbin0 -> 155325 bytes
-rw-r--r--website/templates/features/_features.html2
-rw-r--r--website/templates/features/experimental/index.html2
-rw-r--r--website/templates/features/index.html2
-rw-r--r--website/templates/main.html2
-rw-r--r--website/templates/tidelift.html34
8 files changed, 74 insertions, 6 deletions
diff --git a/website/resources/css/custom.css b/website/resources/css/custom.css
index 0166b84e..bd838df5 100644
--- a/website/resources/css/custom.css
+++ b/website/resources/css/custom.css
@@ -14,7 +14,7 @@
background-position: 6px;
background-size: 12px;
padding: 2px 8px 2px 26px;
- color: #FFF;
+ color: white;
}
.tidelift-link {
@@ -22,7 +22,7 @@
border-top-left-radius: 18px;
background-color: #626980;
box-sizing: border-box;
- color: #FFF;
+ color: white;
display: flex;
top: 46px;
right: 0px;
@@ -59,6 +59,36 @@ pre {
text-align: left;
}
+.tideliftb {
+ border-radius: 4px;
+ border: 2px solid #D9230F;
+ font-size: 28px;
+ width: 330px;
+ line-height: 48px;
+ display: inline-block;
+ margin: 16px 0;
+ text-align: center;
+}
+
+.tideliftb1 {
+ background-color: white;
+ float: left;
+ color: #D9230F;
+}
+
+.tideliftb1:hover {
+ color: #D9230F;
+}
+
+.tideliftb2 {
+ background-color: #D9230F;
+ color: #FCFCFC;
+}
+
+.tideliftb2:hover {
+ color: #FCFCFC;
+}
+
.buttonLike {
cursor: pointer;
background: -webkit-linear-gradient(top, #FFFEF7, #CFCEC7);
@@ -88,6 +118,10 @@ pre {
margin-top: 20px;
}
+.tidelift {
+ font-size: 16px;
+}
+
.formErr {
color: #FF7777;
}
diff --git a/website/resources/img/projectlombok-tidelift-mix-orig.png b/website/resources/img/projectlombok-tidelift-mix-orig.png
new file mode 100644
index 00000000..c3521b35
--- /dev/null
+++ b/website/resources/img/projectlombok-tidelift-mix-orig.png
Binary files differ
diff --git a/website/resources/img/projectlombok-tidelift-mix.png b/website/resources/img/projectlombok-tidelift-mix.png
new file mode 100644
index 00000000..082570d3
--- /dev/null
+++ b/website/resources/img/projectlombok-tidelift-mix.png
Binary files differ
diff --git a/website/templates/features/_features.html b/website/templates/features/_features.html
index 0b93f88e..f54a8fca 100644
--- a/website/templates/features/_features.html
+++ b/website/templates/features/_features.html
@@ -65,7 +65,7 @@
<#macro scaffold title logline load=[]>
<@main.scaffold load title>
- <a class="tidelift-link" href="https://tidelift.com/subscription/pkg/maven-org-projectlombok-lombok?utm_source=lombok&utm_medium=referral&utm_campaign=docs">Get Professionally Supported Lombok</a>
+ <a class="tidelift-link" href="/tidelift">Get Lombok for Enterprise</a>
<div class="page-header top5" id="featureContent">
<div class="row text-center">
<div class="header-group">
diff --git a/website/templates/features/experimental/index.html b/website/templates/features/experimental/index.html
index 29dcd146..112d30c4 100644
--- a/website/templates/features/experimental/index.html
+++ b/website/templates/features/experimental/index.html
@@ -2,7 +2,7 @@
<#import "../_features.html" as f>
<@main.scaffold title="Experimental">
- <a class="tidelift-link" href="https://tidelift.com/subscription/pkg/maven-org-projectlombok-lombok?utm_source=lombok&utm_medium=referral&utm_campaign=docs">Get Professionally Supported Lombok</a>
+ <a class="tidelift-link" href="/tidelift">Get Lombok for Enterprise</a>
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Lombok experimental features" />
diff --git a/website/templates/features/index.html b/website/templates/features/index.html
index bd7cb00c..06b47c0b 100644
--- a/website/templates/features/index.html
+++ b/website/templates/features/index.html
@@ -1,7 +1,7 @@
<#import "../_scaffold.html" as main>
<@main.scaffold title="Stable">
- <a class="tidelift-link" href="https://tidelift.com/subscription/pkg/maven-org-projectlombok-lombok?utm_source=lombok&utm_medium=referral&utm_campaign=docs">Get Professionally Supported Lombok</a>
+ <a class="tidelift-link" href="/tidelift">Get Lombok for Enterprise</a>
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Lombok features" />
diff --git a/website/templates/main.html b/website/templates/main.html
index 75f5b9e8..be8a3bd9 100644
--- a/website/templates/main.html
+++ b/website/templates/main.html
@@ -1,6 +1,6 @@
<#import "/_scaffold.html" as main>
<@main.scaffold load=["/js/supporters.js"]>
- <a class="tidelift-link" href="https://tidelift.com/subscription/pkg/maven-org-projectlombok-lombok?utm_source=lombok&utm_medium=referral&utm_campaign=homepage">Get Professionally Supported Lombok</a>
+ <a class="tidelift-link" href="/tidelift">Get Lombok for Enterprise</a>
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Project Lombok" />
diff --git a/website/templates/tidelift.html b/website/templates/tidelift.html
new file mode 100644
index 00000000..7f0ab88b
--- /dev/null
+++ b/website/templates/tidelift.html
@@ -0,0 +1,34 @@
+<#import "/_scaffold.html" as main>
+
+<@main.scaffold title="Project Lombok for Enterprise">
+ <div class="page-header top5 tidelift">
+ <div class="row text-center">
+ <h2>Available as part of the Tidelift Subscription</h2>
+ </div>
+ <div class="row">
+ <img src="/img/projectlombok-tidelift-mix.png" width="200" height="150" class="pull-right" alt="tidelift+lombok" />
+ <p>
+ Project Lombok and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
+ </p><p>
+ If you want the flexibility of open source and the confidence of commercial-grade software, this is for you.
+ </p>
+ </div>
+ <div class="row text-center">
+ <a class="tideliftb tideliftb1" href="https://tidelift.com/subscription/pkg/maven-org-projectlombok-lombok?utm_source=lombok&utm_medium=referral&utm_campaign=enterprise">LEARN MORE</a> <a class="tideliftb tideliftb2" href="https://tidelift.com/subscription/request-a-demo?utm_source=lombok&utm_medium=referral&utm_campaign=enterprise">REQUEST A DEMO</a>
+ </div>
+ <div class="row text-center">
+ <h2>The Tidelift Subscription manages your dependencies for you</h2>
+ </div>
+ <div class="row">
+ <p>
+ <ul>
+ <li>Get the tools you need to continuously catalog and understand the open source software that your application depends on.</li>
+ <li>Your subscription helps pay the open source maintainers of the exact packages you use to ensure they meet the standards you require.</li>
+ <li>Address issues proactively, with tools that scan for new security, licensing, and maintenance issues, and alert our participating open source maintainers so they can resolve them on your behalf.</li>
+ <li>Measure and improve your open source dependencies' health—which improves your app’s health—and get a short list of high-impact steps your team can take to improve them even more.</li>
+ <li>Get commercial assurances that don't come for free with open source packages, like intellectual property indemnification and support under a service level agreement. You expect these guarantees from proprietary software, and you can have them when using open source as well.</li>
+ </ul>
+ The end result? All of the capabilities you expect from commercial-grade software, for the full breadth of open source you use. That means less time grappling with esoteric open source trivia, and more time building your own applications—and your business.
+ </div>
+ </div>
+</@main.scaffold>