Skip to content

Commit 1e72494

Browse files
committed
feat: Add main.html template for enhanced content display
- Introduced a new main.html file extending base.html. - Added a conditional call-to-action section promoting the Pro Edition of 1Panel, including pricing and trial information. - Implemented a styled horizontal rule and an info admonition for better user engagement.
1 parent e557346 commit 1e72494

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

overrides/main.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{% extends "base.html" %}
2+
3+
4+
5+
{% block content %}
6+
{{ super() }}
7+
{% if "cta" not in page.meta.hide %}
8+
<hr class="md-typeset" style="margin:4em auto 1.5em auto; height:2px; max-width:480px; border:0; background:linear-gradient(90deg,#8fa3e6 10%,#4051b5 50%,#8fa3e6 90%); opacity:0.45;">
9+
<div class="md-admonition md-admonition--info">
10+
<h3>Take 1Panel Further</h3>
11+
<p>
12+
Running 1Panel OSS? <strong>Pro Edition</strong> adds WAF protection, unlimited AI agents,
13+
multi-node management, and priority support — starting at <strong>$80/year</strong>.
14+
</p>
15+
<p>
16+
<a href="https://1panel.pro/pricing" class="md-button md-button- md-button--primary" target="_blank" rel="noopener">Compare OSS vs Pro →</a>
17+
<a href="mailto:hi@lxware.hk?subject=1Panel Pro: 30-Day Free Trial Request" class="md-button">Start 30-day free trial →</a>
18+
</p>
19+
</div>
20+
{% endif %}
21+
{% endblock %}

0 commit comments

Comments
 (0)