- Fix home.tmpl to properly show promotional content when selected - Fix line endings and indentation in all templates - Fix locale file line endings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
938 lines
21 KiB
Handlebars
938 lines
21 KiB
Handlebars
{{template "pages/base_head" .}}
|
|
<style>
|
|
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
|
|
|
|
:root {
|
|
--saas-bg: #fafbfc;
|
|
--saas-text: #1a1a2e;
|
|
--saas-muted: #64748b;
|
|
--saas-light: #94a3b8;
|
|
--saas-border: #e5e7eb;
|
|
--saas-primary: {{if .Config.Theme.PrimaryColor}}{{.Config.Theme.PrimaryColor}}{{else}}#6366f1{{end}};
|
|
--saas-primary-dark: {{if .Config.Theme.AccentColor}}{{.Config.Theme.AccentColor}}{{else}}#8b5cf6{{end}};
|
|
}
|
|
|
|
.saas-page {
|
|
min-height: 100vh;
|
|
background: var(--saas-bg);
|
|
color: var(--saas-text);
|
|
font-family: 'DM Sans', -apple-system, sans-serif;
|
|
}
|
|
|
|
.saas-nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 16px 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: rgba(250, 251, 252, 0.9);
|
|
backdrop-filter: blur(12px);
|
|
z-index: 100;
|
|
}
|
|
|
|
.saas-nav-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.saas-nav-logo {
|
|
width: 36px;
|
|
height: 36px;
|
|
background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
}
|
|
|
|
.saas-nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 36px;
|
|
}
|
|
|
|
.saas-nav-link {
|
|
color: var(--saas-muted);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.saas-nav-link:hover {
|
|
color: var(--saas-text);
|
|
}
|
|
|
|
.saas-nav-repo {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--saas-muted);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.saas-nav-repo:hover {
|
|
color: var(--saas-text);
|
|
}
|
|
|
|
.saas-btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 16px 32px;
|
|
background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
|
|
color: white;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
border-radius: 12px;
|
|
text-decoration: none;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.saas-btn-primary:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
|
|
}
|
|
|
|
.saas-btn-secondary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 16px 32px;
|
|
background: white;
|
|
color: var(--saas-text);
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
border-radius: 12px;
|
|
text-decoration: none;
|
|
border: 2px solid var(--saas-border);
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.saas-btn-secondary:hover {
|
|
border-color: var(--saas-primary);
|
|
color: var(--saas-primary);
|
|
}
|
|
|
|
.saas-hero {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 140px 48px 80px;
|
|
background: linear-gradient(180deg, var(--saas-bg) 0%, #f1f5f9 100%);
|
|
}
|
|
|
|
.saas-hero-inner {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 80px;
|
|
max-width: 1300px;
|
|
margin: 0 auto;
|
|
align-items: center;
|
|
}
|
|
|
|
.saas-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: #ede9fe;
|
|
border-radius: 100px;
|
|
margin-bottom: 28px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--saas-primary);
|
|
}
|
|
|
|
.saas-hero h1 {
|
|
font-size: 56px;
|
|
font-weight: 700;
|
|
line-height: 1.15;
|
|
margin-bottom: 24px;
|
|
color: var(--saas-text);
|
|
}
|
|
|
|
.saas-hero-sub {
|
|
font-size: 20px;
|
|
color: var(--saas-muted);
|
|
line-height: 1.7;
|
|
margin-bottom: 36px;
|
|
}
|
|
|
|
.saas-hero-ctas {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.saas-hero-note {
|
|
font-size: 14px;
|
|
color: var(--saas-light);
|
|
}
|
|
|
|
.saas-hero-mockup {
|
|
background: white;
|
|
border-radius: 16px;
|
|
box-shadow: 0 20px 60px rgba(0,0,0,0.12);
|
|
padding: 24px;
|
|
animation: saas-float 6s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes saas-float {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-10px); }
|
|
}
|
|
|
|
.saas-mockup-bar {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.saas-mockup-dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.saas-stats-section {
|
|
padding: 60px 48px;
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
.saas-stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: 32px;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.saas-stat-value {
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
color: var(--saas-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.saas-stat-label {
|
|
font-size: 14px;
|
|
color: var(--saas-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.saas-trust-section {
|
|
padding: 60px 48px;
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
.saas-trust-label {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: var(--saas-light);
|
|
margin-bottom: 24px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.saas-trust-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 48px;
|
|
padding: 32px;
|
|
background: white;
|
|
border-radius: 16px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.04);
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.saas-trust-logo {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--saas-light);
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.saas-trust-logo:hover {
|
|
color: var(--saas-muted);
|
|
}
|
|
|
|
.saas-section {
|
|
padding: 100px 48px;
|
|
}
|
|
|
|
.saas-section-inner {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.saas-section-header {
|
|
text-align: center;
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
.saas-section-header h2 {
|
|
font-size: 44px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
color: var(--saas-text);
|
|
}
|
|
|
|
.saas-section-header p {
|
|
font-size: 18px;
|
|
color: var(--saas-muted);
|
|
}
|
|
|
|
.saas-value-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.saas-value-card {
|
|
padding: 32px;
|
|
background: white;
|
|
border-radius: 20px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.04);
|
|
transition: all 0.3s ease;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.saas-value-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 40px rgba(0,0,0,0.08);
|
|
border-color: var(--saas-border);
|
|
}
|
|
|
|
.saas-value-card h3 {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
color: var(--saas-text);
|
|
}
|
|
|
|
.saas-value-card p {
|
|
font-size: 16px;
|
|
color: var(--saas-muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.saas-features-section {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.saas-features-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.saas-feature-step {
|
|
display: flex;
|
|
gap: 24px;
|
|
padding: 32px;
|
|
background: white;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--saas-border);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.saas-feature-step:hover {
|
|
border-color: var(--saas-primary);
|
|
box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
|
|
}
|
|
|
|
.saas-step-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 100%);
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--saas-primary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.saas-feature-step h3 {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
color: var(--saas-text);
|
|
}
|
|
|
|
.saas-feature-step p {
|
|
font-size: 16px;
|
|
color: var(--saas-muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.saas-testimonial-card {
|
|
background: white;
|
|
border-radius: 24px;
|
|
padding: 48px;
|
|
box-shadow: 0 4px 30px rgba(0,0,0,0.06);
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
.saas-testimonial-card::before {
|
|
content: '"';
|
|
position: absolute;
|
|
top: 24px;
|
|
left: 40px;
|
|
font-size: 120px;
|
|
font-weight: 700;
|
|
color: #ede9fe;
|
|
line-height: 1;
|
|
}
|
|
|
|
.saas-testimonial-quote {
|
|
font-size: 24px;
|
|
line-height: 1.7;
|
|
color: var(--saas-text);
|
|
margin-bottom: 32px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.saas-testimonial-author {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.saas-testimonial-avatar {
|
|
width: 56px;
|
|
height: 56px;
|
|
background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.saas-testimonial-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.saas-testimonial-name {
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
color: var(--saas-text);
|
|
}
|
|
|
|
.saas-testimonial-role {
|
|
font-size: 14px;
|
|
color: var(--saas-muted);
|
|
}
|
|
|
|
.saas-pricing-section {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.saas-pricing-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 24px;
|
|
align-items: start;
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.saas-pricing-card {
|
|
padding: 36px;
|
|
background: white;
|
|
border-radius: 20px;
|
|
border: 2px solid var(--saas-border);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.saas-pricing-card:hover {
|
|
border-color: #c7d2fe;
|
|
}
|
|
|
|
.saas-pricing-card.featured {
|
|
border-color: var(--saas-primary);
|
|
box-shadow: 0 8px 40px rgba(99, 102, 241, 0.15);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.saas-pricing-badge {
|
|
display: inline-block;
|
|
padding: 6px 12px;
|
|
background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
|
|
color: white;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
border-radius: 100px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.saas-pricing-name {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
color: var(--saas-text);
|
|
}
|
|
|
|
.saas-pricing-price {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
color: var(--saas-text);
|
|
}
|
|
|
|
.saas-pricing-period {
|
|
color: var(--saas-muted);
|
|
}
|
|
|
|
.saas-pricing-features {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 24px 0 28px;
|
|
}
|
|
|
|
.saas-pricing-features li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
color: var(--saas-muted);
|
|
}
|
|
|
|
.saas-pricing-features li::before {
|
|
content: "";
|
|
color: #22c55e;
|
|
}
|
|
|
|
.saas-cta-gradient {
|
|
background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 50%, #a855f7 100%);
|
|
border-radius: 32px;
|
|
padding: 80px;
|
|
text-align: center;
|
|
color: white;
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.saas-cta-gradient::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
|
|
animation: saas-float 8s ease-in-out infinite;
|
|
}
|
|
|
|
.saas-cta-gradient h2 {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.saas-cta-gradient p {
|
|
font-size: 20px;
|
|
opacity: 0.9;
|
|
margin-bottom: 32px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.saas-cta-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 18px 36px;
|
|
background: white;
|
|
color: var(--saas-primary);
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
border-radius: 12px;
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.saas-cta-btn:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.saas-footer {
|
|
padding: 48px;
|
|
border-top: 1px solid var(--saas-border);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 24px;
|
|
}
|
|
|
|
.saas-footer-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.saas-footer-logo {
|
|
width: 28px;
|
|
height: 28px;
|
|
background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.saas-footer-links {
|
|
display: flex;
|
|
gap: 32px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.saas-footer-link {
|
|
color: var(--saas-muted);
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.saas-footer-link:hover {
|
|
color: var(--saas-primary);
|
|
}
|
|
|
|
.saas-footer-social {
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
.saas-footer-social a {
|
|
color: var(--saas-light);
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.saas-footer-social a:hover {
|
|
color: var(--saas-primary);
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.saas-hero-inner { grid-template-columns: 1fr; }
|
|
.saas-hero-mockup { display: none; }
|
|
.saas-pricing-grid { max-width: 400px; margin: 0 auto; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.saas-hero h1 { font-size: 40px; }
|
|
.saas-hero-ctas { flex-direction: column; }
|
|
.saas-nav { padding: 12px 24px; }
|
|
.saas-nav-links { gap: 16px; display: none; }
|
|
.saas-section { padding: 60px 24px; }
|
|
.saas-stats-section, .saas-trust-section { padding: 40px 24px; }
|
|
.saas-cta-gradient { padding: 48px 24px; margin: 0 16px; }
|
|
.saas-footer { flex-direction: column; text-align: center; }
|
|
}
|
|
</style>
|
|
|
|
<div class="saas-page">
|
|
<!-- Navigation -->
|
|
<nav class="saas-nav">
|
|
<a href="/" class="saas-nav-brand">
|
|
{{if .Config.Brand.LogoURL}}
|
|
<img src="{{.Config.Brand.LogoURL}}" alt="{{.Config.Brand.Name}}" style="height: 36px;">
|
|
{{else}}
|
|
<div class="saas-nav-logo">
|
|
{{svg "octicon-package" 18}}
|
|
</div>
|
|
{{end}}
|
|
<span style="font-weight: 700; font-size: 20px; color: var(--saas-text);">{{if .Config.Brand.Name}}{{.Config.Brand.Name}}{{else}}{{.Repository.Name}}{{end}}</span>
|
|
</a>
|
|
<div class="saas-nav-links">
|
|
{{if .Config.Footer.Links}}
|
|
{{range .Config.Footer.Links}}
|
|
<a href="{{.URL}}" class="saas-nav-link">{{.Label}}</a>
|
|
{{end}}
|
|
{{end}}
|
|
{{if .Config.ValueProps}}<a href="#value-props" class="saas-nav-link">Why</a>{{end}}
|
|
{{if .Config.Features}}<a href="#features" class="saas-nav-link">Features</a>{{end}}
|
|
{{if .Config.Pricing.Plans}}<a href="#pricing" class="saas-nav-link">Pricing</a>{{end}}
|
|
<a href="{{.Repository.Link}}" class="saas-nav-repo">
|
|
<img src="/assets/img/gitcaddy-icon.svg" width="18" height="18" alt="GitCaddy">
|
|
Repository
|
|
</a>
|
|
<a href="{{if .Config.Hero.PrimaryCTA.URL}}{{.Config.Hero.PrimaryCTA.URL}}{{else}}{{.Repository.Link}}{{end}}" class="saas-btn-primary" style="padding: 12px 24px; font-size: 14px;">
|
|
{{if .Config.Hero.PrimaryCTA.Label}}{{.Config.Hero.PrimaryCTA.Label}}{{else}}Get Started{{end}}
|
|
</a>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Hero Section -->
|
|
<section class="saas-hero">
|
|
<div class="saas-hero-inner">
|
|
<div>
|
|
{{if gt .NumStars 100}}
|
|
<div class="saas-badge">
|
|
{{svg "octicon-star-fill" 14}}
|
|
<span>{{.NumStars}} stars</span>
|
|
</div>
|
|
{{end}}
|
|
|
|
<h1>{{if .Config.Hero.Headline}}{{.Config.Hero.Headline}}{{else}}{{.Repository.Name}}{{end}}</h1>
|
|
|
|
<p class="saas-hero-sub">
|
|
{{if .Config.Hero.Subheadline}}{{.Config.Hero.Subheadline}}{{else}}{{.Repository.Description}}{{end}}
|
|
</p>
|
|
|
|
<div class="saas-hero-ctas">
|
|
<a href="{{if .Config.Hero.PrimaryCTA.URL}}{{.Config.Hero.PrimaryCTA.URL}}{{else}}{{.Repository.Link}}{{end}}" class="saas-btn-primary">
|
|
{{if .Config.Hero.PrimaryCTA.Label}}{{.Config.Hero.PrimaryCTA.Label}}{{else}}Get Started{{end}}
|
|
{{svg "octicon-arrow-right" 16}}
|
|
</a>
|
|
{{if .Config.Hero.SecondaryCTA.Label}}
|
|
<a href="{{.Config.Hero.SecondaryCTA.URL}}" class="saas-btn-secondary">
|
|
{{svg "octicon-play" 16}}
|
|
{{.Config.Hero.SecondaryCTA.Label}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
|
|
<p class="saas-hero-note">
|
|
{{svg "octicon-check" 14}} Free to use {{svg "octicon-check" 14}} Open source {{svg "octicon-check" 14}} MIT License
|
|
</p>
|
|
</div>
|
|
|
|
<div class="saas-hero-mockup">
|
|
<div class="saas-mockup-bar">
|
|
<div class="saas-mockup-dot" style="background: #ef4444;"></div>
|
|
<div class="saas-mockup-dot" style="background: #f59e0b;"></div>
|
|
<div class="saas-mockup-dot" style="background: #22c55e;"></div>
|
|
</div>
|
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
<div style="height: 32px; background: #f1f5f9; border-radius: 8px; width: 60%;"></div>
|
|
<div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;">
|
|
<div style="height: 80px; background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 100%); border-radius: 10px;"></div>
|
|
<div style="height: 80px; background: #f1f5f9; border-radius: 10px;"></div>
|
|
<div style="height: 80px; background: #f1f5f9; border-radius: 10px;"></div>
|
|
</div>
|
|
<div style="height: 120px; background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%); border-radius: 12px; opacity: 0.15;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Stats Section -->
|
|
{{if .Config.Stats}}
|
|
<section class="saas-stats-section">
|
|
<div class="saas-stats-grid">
|
|
{{range .Config.Stats}}
|
|
<div>
|
|
<div class="saas-stat-value">{{.Value}}</div>
|
|
<div class="saas-stat-label">{{.Label}}</div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</section>
|
|
{{end}}
|
|
|
|
<!-- Trust Bar -->
|
|
{{if .Config.SocialProof.Logos}}
|
|
<section class="saas-trust-section">
|
|
<p class="saas-trust-label">TRUSTED BY TEAMS AT</p>
|
|
<div class="saas-trust-bar">
|
|
{{range .Config.SocialProof.Logos}}
|
|
<span class="saas-trust-logo">{{.}}</span>
|
|
{{end}}
|
|
</div>
|
|
</section>
|
|
{{end}}
|
|
|
|
<!-- Value Props -->
|
|
{{if .Config.ValueProps}}
|
|
<section class="saas-section" id="value-props">
|
|
<div class="saas-section-inner">
|
|
<div class="saas-section-header">
|
|
<h2>Why {{if .Config.Brand.Name}}{{.Config.Brand.Name}}{{else}}{{.Repository.Name}}{{end}}</h2>
|
|
<p>Built for developers who value their time</p>
|
|
</div>
|
|
|
|
<div class="saas-value-grid">
|
|
{{range .Config.ValueProps}}
|
|
<div class="saas-value-card">
|
|
<h3>{{.Title}}</h3>
|
|
<p>{{.Description}}</p>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{end}}
|
|
|
|
<!-- Features -->
|
|
{{if .Config.Features}}
|
|
<section id="features" class="saas-section saas-features-section">
|
|
<div class="saas-section-inner">
|
|
<div class="saas-section-header">
|
|
<h2>How it works</h2>
|
|
<p>Get started in minutes, not weeks</p>
|
|
</div>
|
|
|
|
<div class="saas-features-list">
|
|
{{range .Config.Features}}
|
|
<div class="saas-feature-step">
|
|
<div class="saas-step-icon">
|
|
{{svg (printf "octicon-%s" (or .Icon "zap")) 24}}
|
|
</div>
|
|
<div>
|
|
<h3>{{.Title}}</h3>
|
|
<p>{{.Description}}</p>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{end}}
|
|
|
|
<!-- Testimonials -->
|
|
{{if .Config.SocialProof.Testimonials}}
|
|
<section class="saas-section">
|
|
<div class="saas-testimonial-card">
|
|
<div class="saas-testimonials-container">
|
|
{{range .Config.SocialProof.Testimonials}}
|
|
<div class="saas-testimonial-item" style="display: none;">
|
|
<p class="saas-testimonial-quote">{{.Quote}}</p>
|
|
<div class="saas-testimonial-author">
|
|
<div class="saas-testimonial-avatar">
|
|
{{if .Avatar}}<img src="{{.Avatar}}" alt="{{.Author}}">{{end}}
|
|
</div>
|
|
<div>
|
|
<div class="saas-testimonial-name">{{.Author}}</div>
|
|
<div class="saas-testimonial-role">{{.Role}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<script>
|
|
(function() {
|
|
var items = document.querySelectorAll(".saas-testimonial-item");
|
|
if (items.length > 0) {
|
|
var idx = Math.floor(Math.random() * items.length);
|
|
items[idx].style.display = "block";
|
|
}
|
|
})();
|
|
</script>
|
|
{{end}}
|
|
|
|
<!-- Pricing -->
|
|
{{if .Config.Pricing.Plans}}
|
|
<section id="pricing" class="saas-section saas-pricing-section">
|
|
<div class="saas-section-inner">
|
|
<div class="saas-section-header">
|
|
<h2>{{if .Config.Pricing.Headline}}{{.Config.Pricing.Headline}}{{else}}Simple, transparent pricing{{end}}</h2>
|
|
</div>
|
|
|
|
<div class="saas-pricing-grid">
|
|
{{range .Config.Pricing.Plans}}
|
|
<div class="saas-pricing-card {{if .Featured}}featured{{end}}">
|
|
{{if .Featured}}<div class="saas-pricing-badge">Most Popular</div>{{end}}
|
|
<h3 class="saas-pricing-name">{{.Name}}</h3>
|
|
<div style="margin-bottom: 24px;">
|
|
<span class="saas-pricing-price">{{.Price}}</span>
|
|
<span class="saas-pricing-period">{{.Period}}</span>
|
|
</div>
|
|
{{if .Features}}
|
|
<ul class="saas-pricing-features">
|
|
{{range .Features}}
|
|
<li>{{svg "octicon-check" 16}} {{.}}</li>
|
|
{{end}}
|
|
</ul>
|
|
{{end}}
|
|
<a href="#" class="{{if .Featured}}saas-btn-primary{{else}}saas-btn-secondary{{end}}" style="width: 100%; justify-content: center;">
|
|
{{if .CTA}}{{.CTA}}{{else}}Get Started{{end}}
|
|
</a>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{end}}
|
|
|
|
<!-- Final CTA -->
|
|
{{if .Config.CTASection.Headline}}
|
|
<section class="saas-section">
|
|
<div class="saas-cta-gradient">
|
|
<h2>{{.Config.CTASection.Headline}}</h2>
|
|
{{if .Config.CTASection.Subheadline}}
|
|
<p>{{.Config.CTASection.Subheadline}}</p>
|
|
{{end}}
|
|
<a href="{{if .Config.CTASection.Button.URL}}{{.Config.CTASection.Button.URL}}{{else}}{{.Repository.Link}}{{end}}" class="saas-cta-btn">
|
|
{{if .Config.CTASection.Button.Label}}{{.Config.CTASection.Button.Label}}{{else}}Get Started Free{{end}}
|
|
{{svg "octicon-arrow-right" 16}}
|
|
</a>
|
|
</div>
|
|
</section>
|
|
{{end}}
|
|
|
|
<!-- Footer -->
|
|
<footer class="saas-footer">
|
|
<div class="saas-footer-brand">
|
|
<div class="saas-footer-logo"></div>
|
|
<span style="font-size: 14px; color: var(--saas-light);">{{if .Config.Footer.Copyright}}{{.Config.Footer.Copyright}}{{else}}© <script>document.write(new Date().getFullYear())</script> {{if .Config.Brand.Name}}{{.Config.Brand.Name}}{{else}}{{.Repository.Name}}{{end}}{{end}}</span>
|
|
</div>
|
|
{{if .Config.Footer.Social}}
|
|
<div class="saas-footer-social">
|
|
{{range .Config.Footer.Social}}
|
|
<a href="{{.URL}}" title="{{.Platform}}">
|
|
{{if eq .Platform "twitter"}}{{svg "octicon-mention" 18}}
|
|
{{else if eq .Platform "github"}}{{svg "octicon-mark-github" 18}}
|
|
{{else if eq .Platform "discord"}}{{svg "octicon-comment-discussion" 18}}
|
|
{{else if eq .Platform "linkedin"}}{{svg "octicon-briefcase" 18}}
|
|
{{else if eq .Platform "youtube"}}{{svg "octicon-video" 18}}
|
|
{{else}}{{svg "octicon-link-external" 18}}{{end}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
<div class="saas-footer-links">
|
|
{{if .Config.Footer.Links}}
|
|
{{range .Config.Footer.Links}}
|
|
<a href="{{.URL}}" class="saas-footer-link">{{.Label}}</a>
|
|
{{end}}
|
|
{{else}}
|
|
<a href="{{.Repository.Link}}" class="saas-footer-link">Repository</a>
|
|
<a href="{{.Repository.Link}}/wiki" class="saas-footer-link">Docs</a>
|
|
<a href="{{.Repository.Link}}/releases" class="saas-footer-link">Releases</a>
|
|
<a href="{{.Repository.Link}}/issues" class="saas-footer-link">Issues</a>
|
|
{{end}}
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
{{template "pages/base_footer" .}}
|