move into sonardesk
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
@php echo '<?xml version="1.0" encoding="utf-8"?>'; @endphp
|
||||
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle"><channel><title>SonarDesk Updates</title><link>{{ route('updates.appcast') }}</link><description>SonarDesk stable release feed</description>@foreach($releases as $release)<item><title>SonarDesk {{ $release->version }}</title><pubDate>{{ $release->published_at?->toRfc2822String() }}</pubDate><sparkle:version>{{ $release->build_number }}</sparkle:version><sparkle:shortVersionString>{{ $release->version }}</sparkle:shortVersionString>@if($release->minimum_macos)<sparkle:minimumSystemVersion>{{ $release->minimum_macos }}</sparkle:minimumSystemVersion>@endif<description><![CDATA[{!! nl2br(e($release->release_notes ?: 'SonarDesk update')) !!}]]></description><enclosure url="{{ route('download.release',$release) }}" length="{{ $release->file_size }}" type="application/octet-stream"@if($release->sparkle_signature) sparkle:edSignature="{{ $release->sparkle_signature }}"@endif /></item>@endforeach</channel></rss>
|
||||
@@ -0,0 +1,18 @@
|
||||
@extends('layouts.app', ['title' => 'Downloads — SonarDesk and developer tools', 'description' => 'Browse SonarDesk and other macOS developer utilities. View release details or download installers.'])
|
||||
@section('fullbleed')
|
||||
<main class="download-page catalogue-page">
|
||||
<section class="catalogue-header"><div class="download-shell"><span class="eyebrow">Software downloads</span><h1>Downloads</h1><p>Find the latest releases of SonarDesk and our developer tools. View details, check requirements or download directly.</p></div></section>
|
||||
<section class="distribution-catalogue"><div class="download-shell"><div class="section-heading"><span class="eyebrow">Available software</span><h2>Product catalogue</h2><p>All downloads in one place.</p></div>
|
||||
<div class="distribution-product-grid">
|
||||
@if($latest)
|
||||
<article class="distribution-product-card"><div class="distribution-product-top"><span class="distribution-platform">macOS</span><span class="distribution-version">v{{ $latest->version }}</span></div><h3><a href="{{ route('download.sonardesk.details') }}">SonarDesk</a></h3><p class="distribution-product-description">{{ \Illuminate\Support\Str::limit(trim(preg_replace('/\s+/', ' ', strip_tags(\Illuminate\Support\Str::markdown($latest->release_notes ?: $settings['intro'], ['html_input'=>'strip','allow_unsafe_links'=>false])))), 175) }}</p><div class="distribution-product-footer"><span>{{ $latest->formatted_size }}</span><div class="distribution-product-links"><a class="product-details-link" href="{{ route('download.sonardesk.details') }}">View details →</a><a class="btn btn-primary" href="{{ route('download.latest') }}">Download ↓</a></div></div></article>
|
||||
@endif
|
||||
@foreach($products as $product)
|
||||
<article class="distribution-product-card"><div class="distribution-product-top"><span class="distribution-platform">{{ $product->platform ?: 'Software' }}</span><span class="distribution-version">{{ $product->version ? 'v'.$product->version : 'Latest' }}</span></div><h3><a href="{{ route('download.product.details', $product) }}">{{ $product->name }}</a></h3><p class="distribution-product-description">{{ \Illuminate\Support\Str::limit(trim(preg_replace('/\s+/', ' ', strip_tags(\Illuminate\Support\Str::markdown($product->description ?: 'Download the latest available package.', ['html_input'=>'strip','allow_unsafe_links'=>false])))), 175) }}</p><div class="distribution-product-footer"><span>{{ $product->formatted_size }}</span><div class="distribution-product-links"><a class="product-details-link" href="{{ route('download.product.details', $product) }}">View details →</a><a class="btn btn-primary" href="{{ route('download.product', $product) }}">Download ↓</a></div></div></article>
|
||||
@endforeach
|
||||
</div>
|
||||
@if(!$latest && $products->isEmpty())<p>No published downloads are available yet.</p>@endif
|
||||
</div></section>
|
||||
@if($releases->isNotEmpty())<section class="release-history"><div class="download-shell"><div class="section-heading"><span class="eyebrow">SonarDesk archive</span><h2>Previous SonarDesk versions</h2><p>Older published installers, grouped separately from current products.</p></div><div class="release-history-list">@foreach($releases as $release)<article><div><strong>SonarDesk {{ $release->version }}</strong><span>Build {{ $release->build_number }} · {{ ucfirst($release->channel) }} · {{ $release->published_at?->format('j M Y') }}</span></div><div><span>{{ $release->formatted_size }}</span><a href="{{ route('download.release', $release) }}">Download</a></div></article>@endforeach</div>{{ $releases->links() }}</div></section>@endif
|
||||
</main>
|
||||
@endsection
|
||||
@@ -0,0 +1,13 @@
|
||||
@extends('layouts.app', ['title' => $product->name.' — Downloads', 'description' => 'Download '.$product->name.' and read product information and release notes.'])
|
||||
@section('fullbleed')
|
||||
<main class="download-page"><div class="download-shell">
|
||||
<article class="product-detail-panel">
|
||||
<a href="{{ route('release') }}" style="color:#175cd3;text-decoration:none;font-weight:700">← All downloads</a>
|
||||
<div class="distribution-product-top" style="margin-top:26px"><span class="distribution-platform">{{ $product->platform ?: 'Software' }}</span><span class="distribution-version">{{ $product->version ? 'v'.$product->version : 'Latest' }}</span></div>
|
||||
<h1>{{ $product->name }}</h1>
|
||||
<p style="color:#667085">{{ $product->formatted_size }} · {{ $product->platform ?: 'Software' }}</p>
|
||||
<a class="btn btn-primary" href="{{ route('download.product', $product) }}" style="display:inline-flex;margin-top:18px">Download {{ $product->name }} ↓</a>
|
||||
<div class="distribution-product-description">{!! \Illuminate\Support\Str::markdown($product->description ?: 'Download the latest available package.', ['html_input' => 'strip', 'allow_unsafe_links' => false]) !!}</div>
|
||||
<a class="btn btn-primary" href="{{ route('download.product', $product) }}">Download ↓</a>
|
||||
</article></div></main>
|
||||
@endsection
|
||||
@@ -0,0 +1,4 @@
|
||||
@extends('layouts.app', ['title' => 'SonarDesk — Details and download', 'description' => 'SonarDesk release notes, system requirements and macOS installer.'])
|
||||
@section('fullbleed')
|
||||
<main class="download-page"><div class="download-shell"><article class="product-detail-panel"><a class="product-details-link" href="{{ route('release') }}">← All downloads</a><div class="distribution-product-top" style="margin-top:26px"><span class="distribution-platform">macOS</span><span class="distribution-version">v{{ $latest->version }}</span></div><h1>SonarDesk</h1><p>{{ $settings['intro'] }}</p><p class="detail-meta">Version {{ $latest->version }} · Build {{ $latest->build_number }} · {{ $latest->formatted_size }} · Released {{ $latest->published_at?->format('j F Y') }}</p><a class="btn btn-primary" href="{{ route('download.latest') }}">Download SonarDesk ↓</a><section class="detail-section"><h2>Release notes</h2><div class="distribution-product-description">{!! \Illuminate\Support\Str::markdown($latest->release_notes ?: 'Latest maintenance and improvements.', ['html_input'=>'strip','allow_unsafe_links'=>false]) !!}</div></section><section class="detail-section"><h2>System requirements</h2><p>{{ $settings['requirements'] }}</p>@if($latest->minimum_macos)<p><strong>Minimum macOS version:</strong> {{ $latest->minimum_macos }}</p>@endif</section><section class="detail-section"><h2>Installation</h2><ol><li>Download the signed installer.</li><li>Open the DMG and move SonarDesk to Applications.</li><li>Launch SonarDesk and activate with your licence.</li></ol></section>@if($latest->sha256)<details class="checksum-box"><summary>SHA-256 checksum</summary><code>{{ $latest->sha256 }}</code></details>@endif</article></div></main>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user