move into sonardesk
This commit is contained in:
@@ -1,3 +1 @@
|
||||
@extends('sonardesk.layout')
|
||||
@section('title',$product->name.' — Download')
|
||||
@section('content')<section class="sd-pagehead"><div class="sd-container"><a class="sd-back" href="{{ route('sonardesk.downloads') }}">← All downloads</a><p class="sd-eyebrow" style="margin-top:24px">{{ $product->platform ?: 'Software' }} · {{ $product->version ? 'Version '.$product->version : 'Current release' }}</p><h1>{{ $product->name }}</h1><p>Product information and installer download.</p><div class="sd-actions"><a class="sd-btn sd-btn-primary" href="{{ route('sonardesk.products.download',$product) }}">Download {{ $product->name }} ↓</a></div></div></section><section class="sd-section"><div class="sd-container sd-detail"><article class="sd-card"><h2>About {{ $product->name }}</h2><div class="sd-prose">{!! \Illuminate\Support\Str::markdown($product->description ?: 'Published software download.', ['html_input'=>'strip','allow_unsafe_links'=>false]) !!}</div><hr class="sd-divider"><h2>Download information</h2><p><strong>Platform:</strong> {{ $product->platform ?: 'See product documentation' }}</p>@if($product->version)<p><strong>Version:</strong> {{ $product->version }}</p>@endif @if($product->file_size)<p><strong>Size:</strong> {{ number_format($product->file_size / 1048576, 2) }} MB</p>@endif<a class="sd-btn sd-btn-dark" href="{{ route('sonardesk.products.download',$product) }}">Download installer ↓</a></article></div></section>@endsection
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>{{ $product->name }} · ABSDEV</title><link rel="stylesheet" href="{{ asset('css/sonardesk-downloads.css') }}"></head><body class="sd-site"><header class="sd-top"><a class="sd-brand" href="{{ url('/') }}">ABS<span>DEV</span></a><nav><a href="{{ url('/sonardesk') }}">SonarDesk</a><a href="{{ route('sonardesk.downloads') }}">All downloads</a></nav></header><main class="sd-main sd-detail"><a class="sd-back" href="{{ route('sonardesk.downloads') }}">← All downloads</a><span class="sd-kicker">PRODUCT DOWNLOAD</span><h1>{{ $product->name }}</h1><p class="sd-lead">{{ $product->description }}</p><div class="sd-meta"><span>Version {{ $product->version ?: 'Unspecified' }}</span><span>{{ $product->platform ?: 'All platforms' }}</span></div><a class="sd-btn" href="{{ route('sonardesk.products.download',$product) }}">Download {{ $product->original_filename }} ↓</a>@if($product->release_notes)<section class="sd-detail-section"><h2>Release notes</h2><div class="sd-pre">{{ $product->release_notes }}</div></section>@endif@if($product->minimum_system)<section class="sd-detail-section"><h2>System requirements</h2><div class="sd-pre">{{ $product->minimum_system }}</div></section>@endif</main><footer class="sd-footer">© {{ date('Y') }} ABSDEV</footer></body></html>
|
||||
Reference in New Issue
Block a user