monor theme changes

This commit is contained in:
Mark Gregory
2026-07-28 11:48:53 +01:00
parent df5d6077cb
commit eafc5e8063
5 changed files with 171 additions and 92 deletions
@@ -1,29 +1,112 @@
<section class="hero">
<div class="glow one"></div><div class="glow two"></div>
<div class="wrap hero-inner">
<span class="eyebrow">{{ $themeSettings['hero_eyebrow'] ?? 'A better way to run your business' }}</span>
<h1>{{ $heroTitle }}</h1>
<p>{{ $heroText }}</p>
<div class="actions">
<a class="btn primary" href="{{ $themeSettings['primary_cta_url'] ?? (Route::has('register') ? route('register') : '#contact') }}">{{ $themeSettings['primary_cta_label'] ?? 'Get started free' }} →</a>
<a class="btn secondary" href="{{ $themeSettings['secondary_cta_url'] ?? '#contact' }}">{{ $themeSettings['secondary_cta_label'] ?? 'Book demo' }}</a>
<section class="hero hero-premium">
<div class="hero-ambient hero-ambient-one"></div>
<div class="hero-ambient hero-ambient-two"></div>
<div class="wrap hero-premium-grid">
<div class="hero-copy">
<span class="eyebrow">{{ $themeSettings['hero_eyebrow'] ?? 'All-in-One CMS Platform' }}</span>
<h1>{{ $heroTitle }}</h1>
<p>{{ $heroText }}</p>
<div class="actions hero-actions">
<a class="btn primary" href="{{ $themeSettings['primary_cta_url'] ?? (Route::has('register') ? route('register') : '#contact') }}">
{{ $themeSettings['primary_cta_label'] ?? 'Get started free' }} →
</a>
<a class="btn secondary" href="{{ $themeSettings['secondary_cta_url'] ?? '#contact' }}">
<span class="play-icon">▶</span>{{ $themeSettings['secondary_cta_label'] ?? 'Watch demo' }}
</a>
</div>
<div class="hero-assurances" aria-label="Trial information">
<span><i>✓</i>No credit card required</span>
<span><i>✓</i>Free 14-day trial</span>
<span><i>✓</i>Cancel anytime</span>
</div>
</div>
@if($enabled('show_metrics', true))
<div class="dashboard">
<div class="dash-top"><b>Performance overview</b><span>Live</span></div>
<div class="metrics"><article><small>Monthly revenue</small><strong>£48,240</strong><em>+18.4%</em></article><article><small>Active users</small><strong>12,842</strong><em>+9.2%</em></article><article><small>Conversion</small><strong>7.8%</strong><em>+2.1%</em></article></div>
<div class="chart" aria-label="Performance chart"><i style="height:28%"></i><i style="height:42%"></i><i style="height:35%"></i><i style="height:62%"></i><i style="height:54%"></i><i style="height:78%"></i><i style="height:92%"></i></div>
</div>
<div class="dashboard-preview" aria-label="CMS dashboard preview">
<aside class="dashboard-sidebar">
<div class="dashboard-mark">A</div>
@foreach(['Dashboard','Content','Media','Pages','Users','Analytics','Settings'] as $index => $item)
<div class="dashboard-nav-item {{ $index === 0 ? 'active' : '' }}">
<span>{{ ['⌂','▱','▧','□','♙','▥','⚙'][$index] }}</span>{{ $item }}
</div>
@endforeach
</aside>
<div class="dashboard-main">
<div class="dashboard-heading-row">
<div>
<small>Dashboard</small>
<h3>Welcome back, Mark <span>👋</span></h3>
<p>Here’s what’s happening with your site today.</p>
</div>
<button type="button">May 12 – May 18, 2024</button>
</div>
<div class="dashboard-stats">
@foreach([
['Total Visitors','24,854','↑ 12.5%'],
['Page Views','62,104','↑ 8.2%'],
['New Users','1,429','↑ 15.3%'],
['Bounce Rate','32.6%','↓ 4.1%'],
] as $stat)
<article><small>{{ $stat[0] }}</small><strong>{{ $stat[1] }}</strong><em>{{ $stat[2] }}</em></article>
@endforeach
</div>
<div class="dashboard-panels">
<article class="dashboard-chart-panel">
<div class="panel-title"><strong>Visitors Overview</strong><span>This Week⌄</span></div>
<div class="line-chart">
<div class="chart-grid"></div>
<svg viewBox="0 0 560 190" preserveAspectRatio="none" role="img" aria-label="Visitor growth chart">
<defs><linearGradient id="chartFill" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#f97316" stop-opacity=".32"/><stop offset="1" stop-color="#f97316" stop-opacity="0"/></linearGradient></defs>
<path class="chart-area" d="M0 128 C42 73 70 76 112 125 C156 170 185 104 224 108 C272 112 286 102 315 60 C355 3 388 142 438 119 C486 95 515 93 560 83 L560 190 L0 190 Z"/>
<path class="chart-line" d="M0 128 C42 73 70 76 112 125 C156 170 185 104 224 108 C272 112 286 102 315 60 C355 3 388 142 438 119 C486 95 515 93 560 83"/>
</svg>
<div class="chart-labels"><span>May 12</span><span>May 13</span><span>May 14</span><span>May 15</span><span>May 16</span><span>May 17</span><span>May 18</span></div>
</div>
</article>
<article class="dashboard-pages-panel">
<div class="panel-title"><strong>Top Pages</strong></div>
@foreach([['/','10,430'],['/features','8,129'],['/pricing','6,247'],['/blog','4,985'],['/contact','3,421']] as $page)
<div><span>{{ $page[0] }}</span><strong>{{ $page[1] }}</strong></div>
@endforeach
</article>
</div>
</div>
</div>
@endif
</div>
</section>
@if($enabled('show_features', true))
<section class="section" id="features"><div class="wrap"><div class="heading"><span>Powerful features</span><h2>Everything your team needs to grow</h2><p>Planning, collaboration, reporting, publishing, commerce and customer insight in one extensible platform.</p></div><div class="grid three">
@foreach([['Smart automation','Remove repetitive work and delays.'],['Real-time analytics','Turn activity into useful business insight.'],['Content operations','Create, review and publish confidently.'],['Secure by design','Protect users and data with dependable controls.'],['Flexible integrations','Connect the tools your organisation already uses.'],['Modular architecture','Activate only the capabilities each site needs.']] as $i => $feature)
<article class="card"><b>{{ str_pad((string)($i+1),2,'0',STR_PAD_LEFT) }}</b><h3>{{ $feature[0] }}</h3><p>{{ $feature[1] }}</p></article>
@endforeach
</div></div></section>
<section class="section features-premium" id="features">
<div class="wrap">
<div class="heading compact-heading">
<span>Powerful features</span>
<h2>Everything your team needs to grow</h2>
<p>Built with all the tools you need to manage content, engage users, and scale your business.</p>
</div>
<div class="feature-row">
@foreach([
['✎','Easy Content Management','Create, edit, and publish content with an intuitive and powerful editor.'],
['♙','Team Collaboration','Work together seamlessly with roles, permissions, and real-time updates.'],
['▥','Advanced Analytics','Track performance and make data-driven decisions with detailed insights.'],
['♢','Secure & Reliable','Enterprise-grade security and dependable uptime you can count on.'],
] as $feature)
<article class="feature-item">
<div class="feature-icon">{{ $feature[0] }}</div>
<div><h3>{{ $feature[1] }}</h3><p>{{ $feature[2] }}</p></div>
</article>
@endforeach
</div>
</div>
</section>
@endif
@if($enabled('show_pricing', true) && $pricingPlans->isNotEmpty())