feat: prepping launch

This commit is contained in:
2023-12-14 11:30:49 -06:00
parent c352d4d273
commit 2ec4405b7b
49 changed files with 3006 additions and 182 deletions

View File

@@ -1,10 +1,13 @@
@extends('layouts.master')
@section('page-title', '"' . $artwork->title . '" by ' . $artwork->artist->name)
@section('page-top')
<section class="inner-page-banner bg-2 bg-image">
<div class="container">
<div class="inner text-center">
<h1 class="title">Artwork for {{ $artwork->podcast->name }} {{ number_format($artwork->episode->episode_number + 0) }}</h1>
<h1 class="title">Artwork for {{ $artwork->podcast->name }}
{{ number_format($artwork->episode->episode_number + 0) }}</h1>
<nav class="mt-4">
<ol class="breadcrumb justify-content-center">
<li class="breadcrumb-item"><a href="/">Home</a></li>
@@ -19,6 +22,19 @@
@section('page-content')
<section class="product-details section-bg-separation-2 pt-120 pb-90">
<div class="container">
@if (auth()->user() && $artwork->artist->id == auth()->user()->artists()->first()->id)
@if ($artwork->approved_by == null)
<div class="row">
<div class="col">
<div class="alert alert-warning">
<strong>Pending Approval</strong><br>
This artwork has been received by our server, but has not been approved and can only be viewed by you.
Another artist with approval authority will come along shortly and approve it, give them a few minutes.
</div>
</div>
</div>
@endif
@endif
<div class="row">
<div class="col-xxl-6 mb-6">
<div class="explore-style-one">
@@ -34,37 +50,51 @@
<h4 class="mb-1">By {{ $artwork->artist->name }}</h4>
<p class="subtitle">
{{ $artwork->episode->artwork_id == $artwork->id ? 'Selected' : 'Submitted' }} for {{ $artwork->podcast->name }}<br>
Episode {{ number_format($artwork->episode->episode_number + 0) }}, {{ $artwork->episode->episode_date->format('l, F j') }}<sup>{{ $artwork->episode->episode_date->format('S') }}</sup>, {{ $artwork->episode->episode_date->format('Y') }}
Episode {{ number_format($artwork->episode->episode_number + 0) }} &middot;
{{ $artwork->episode->episode_date->format('l, F j') }}<sup>{{ $artwork->episode->episode_date->format('S') }}</sup>,
{{ $artwork->episode->episode_date->format('Y') }}
</p>
@if ($artwork->description)
<h4 class="mb-1">Description</h4>
<p class="subtitle">{{ $artwork->description }}</p>
@endif
<a href="http://{{ config('app.static_asset_url') }}/artworks/{{ $artwork->filename }}"
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
class="ri-download-cloud-2-line"></i>
Download Full Scale Image
</span></a>
<a href="http://{{ config('app.static_asset_url') }}/thumbnail/{{ $artwork->filename }}"
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
class="ri-download-fill"></i>
Download 512px Square Thumbnail
</span></a>
<a href="/artists/{{ $artwork->artist->id }}"
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
class="ri-user-fill"></i>
View Artist Profile
</span></a>
<a href="/episodes/{{ $artwork->episode->slug }}"
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
class="ri-headphone-fill"></i>
View This Episode
</span></a>
<a href="/podcasts/{{ $artwork->podcast->slug }}"
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
class="ri-broadcast-line"></i>
View {{ $artwork->podcast->name }} Podcast
</span></a>
<div class="d-flex-between mb-5">
<ul class="nav custom-tabs">
<li>
<a href="http://{{ config('app.static_asset_url') }}/artworks/{{ $artwork->filename }}">Download 3k px Image</a>
</li>
<li>
<a href="http://{{ config('app.static_asset_url') }}/thumbnail/{{ $artwork->filename }}"">Download 512 px Image</a>
</li>
</ul>
</div>
<div class="container">
<div class="row">
<div class="col">
<a href="/podcast/{{ $artwork->episode->podcast->slug }}/episode/{{ $artwork->episode->slug }}"
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
class="ri-headphone-fill"></i>
View Episode
</span></a>
</div>
<div class="col">
<a href="/podcasts/{{ $artwork->podcast->slug }}"
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
class="ri-broadcast-line"></i>
{{ $artwork->podcast->name }} Podcast
</span></a>
</div>
</div>
<div class="row">
<div class="col">
<a href="/artist/{{ $artwork->artist->slug }}"
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
class="ri-user-fill"></i>
View {{ $artwork->artist->name }}'s Artist Profile
</span></a>
</div>
</div>
</div>
</div>
</div>
</div>