Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add enterprise webpage #16

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<packaging>jar</packaging>
<name>Joda-Collect</name>
<version>1.0.2-SNAPSHOT</version>
<description>Additional collections</description>
<description>Additional collections, compatible with Java 8</description>
<url>https://www.joda.org/${joda.artifactId}/</url>

<!-- ==================================================================== -->
Expand Down
52 changes: 52 additions & 0 deletions src/site/markdown/enterprise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## Joda-Collect for Enterprise

### Available as part of the Tidelift Subscription

**Tidelift** is working with the maintainers of **Joda-Collect** and thousands of other open source projects to deliver
commercial support and maintenance for the open source dependencies you use to build your applications.
Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use.

<button class="btn-learnmore" type="button">[LEARN MORE][1]</button>
<button class="btn-requestdemo" type="button">[REQUEST A DEMO][2]</button>

### Enterprise-ready open source software - managed for you

The Tidelift Subscription is a managed open source subscription for application dependencies covering millions
of open source projects across JavaScript, Python, Java, PHP, Ruby, .NET, and more.

Your subscription includes:

* **Security updates**<br />
Tidelift’s security response team coordinates patches for new breaking security vulnerabilities and alerts
immediately through a private channel, so your software supply chain is always secure.

* **Licensing verification and indemnification**<br />
Tidelift verifies license information to enable easy policy enforcement and adds intellectual property
indemnification to cover creators and users in case something goes wrong. You always have a 100% up-to-date
bill of materials for your dependencies to share with your legal team, customers, or partners.

* **Maintenance and code improvement**<br />
Tidelift ensures the software you rely on keeps working as long as you need it to work.
Your managed dependencies are actively maintained and we recruit additional maintainers where required.

* **Package selection and version guidance**<br />
We help you choose the best open source packages from the start—and then guide you through updates to stay on
the best releases as new issues arise.

* **Roadmap input**<br />
Take a seat at the table with the creators behind the software you use. Tidelift’s participating maintainers
earn more income as their software is used by more subscribers, so they’re interested in knowing what you need.

* **Tooling and cloud integration**<br />
Tidelift works with GitHub, GitLab, BitBucket, and more.
We support every cloud platform (and other deployment targets, too).

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.

<button class="btn-learnmore" type="button">[LEARN MORE][1]</button>
<button class="btn-requestdemo" type="button">[REQUEST A DEMO][2]</button>

[1]: https://tidelift.com/subscription/pkg/maven-org-joda-joda-collect?utm_source=maven-org-joda-joda-collect&utm_medium=referral&utm_campaign=enterprise
[2]: https://tidelift.com/subscription/request-a-demo?utm_source=maven-org-joda-joda-collect&utm_medium=referral&utm_campaign=enterprise
2 changes: 1 addition & 1 deletion src/site/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Java module name: `org.joda.collect`.

### For Enterprise

[Available as part of the Tidelift Subscription](https://tidelift.com/subscription/pkg/maven-org-joda-joda-money?utm_source=maven-org-joda-joda-money&utm_medium=referral&utm_campaign=enterprise).
[Available as part of the Tidelift Subscription](https://tidelift.com/subscription/pkg/maven-org-joda-joda-collect?utm_source=maven-org-joda-joda-collect&utm_medium=referral&utm_campaign=enterprise).

Joda 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.
Expand Down
36 changes: 36 additions & 0 deletions src/site/resources/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ body {
code, pre {
color: #444;
}
.main-body p b {
font-weight: bold;
color: #722;
}
.dropdown-menu>li>a {
color: #666;
}
Expand Down Expand Up @@ -45,3 +49,35 @@ h2#Documentation i:before {
h2#Releases i:before {
content: "\f02c";
}

/* Enterprise page */
h2#Joda-Money_for_Enterprise~div > p:last-child {
text-align: center;
margin-top: 1.1em;
margin-bottom: 1.2em;
}
button.btn-learnmore, button.btn-requestdemo {
width: 14em;
font-size: 1.2em;
text-align: center;
padding-top: 0.3em;
padding-bottom: 0.3em;
border-radius: 3px;
border-style: solid;
}
button.btn-learnmore {
color: #f6914d;
background-color: white;
border-color: #f6914d;
}
button.btn-learnmore a {
color: #f6914d;
}
button.btn-requestdemo {
color: white;
background-color: #f6914d;
border-color: #f6914d;
}
button.btn-requestdemo a {
color: white;
}
6 changes: 5 additions & 1 deletion src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<name>Joda-Collect</name>
<href>index.html</href>
</brand>
<topNav>Documentation|Releases|Development|Joda</topNav>
<topNav>Documentation|Releases|Development|Joda|For Enterprise</topNav>
<bottomNav>
<column>Documentation</column>
<column>Releases</column>
Expand Down Expand Up @@ -91,6 +91,10 @@
<item name="Time" href="https://www.joda.org/joda-time/"/>
</menu>

<menu name="For Enterprise">
<item name="Tidelift" href="enterprise.html"/>
</menu>
Comment on lines +94 to +96
Copy link

@coderabbitai coderabbitai bot Oct 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Action Required: "enterprise.html" Page Missing or Incomplete

  • The "enterprise.html" file appears to be missing or does not contain information about Tidelift.
  • Ensure that src/site/enterprise.html exists and includes detailed information about Tidelift's offerings.
🔗 Analysis chain

LGTM: New "For Enterprise" menu section added correctly

The new menu section is well-structured and aligns with the PR objective. The placement and formatting are appropriate.

Please ensure that the "enterprise.html" page exists and contains the correct information about Tidelift's offerings. You can verify this with the following script:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the existence and content of the enterprise.html file

# Test 1: Check if the file exists
if fd -t f "enterprise.html" src/site; then
  echo "enterprise.html file found."
else
  echo "Error: enterprise.html file not found in the src/site directory."
  exit 1
fi

# Test 2: Check if the file contains information about Tidelift
if rg -q "Tidelift" src/site/enterprise.html; then
  echo "enterprise.html contains information about Tidelift."
else
  echo "Warning: enterprise.html does not mention Tidelift. Please verify the content."
fi

Length of output: 373

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file enterprise.html is generated from enterprise.md

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jodastephen Thank you for the clarification. Since enterprise.html is generated from enterprise.md, and enterprise.md is included with the necessary content about Tidelift, everything looks good.

(\・ω・)


<menu name="Reports" ref="reports"/>
</body>
</project>