feat/factory_creation (#1)
Prepping for launch. Reviewed-on: #1 Co-authored-by: Paul Couture <paul@paulcouture.com> Co-committed-by: Paul Couture <paul@paulcouture.com>
This commit was merged in pull request #1.
This commit is contained in:
103
site/resources/views/artworks/artwork.blade.php
Normal file
103
site/resources/views/artworks/artwork.blade.php
Normal file
@@ -0,0 +1,103 @@
|
||||
@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>
|
||||
<nav class="mt-4">
|
||||
<ol class="breadcrumb justify-content-center">
|
||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="/artworks">Explore Artwork</a></li>
|
||||
<li class="breadcrumb-item active">Artwork</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@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">
|
||||
<div class="thumb"><a href="http://{{ config('app.static_asset_url') }}/artworks/{{ $artwork->filename }}"
|
||||
><img id="largeImage"src="http://{{ config('app.static_asset_url') }}/artworks/{{ $artwork->filename }}"
|
||||
alt="{{ $artwork->title }} by {{ $artwork->artist->name }} for {{ $artwork->podcast->title }}"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xxl-6 mb-6 mb-6">
|
||||
<div class="details-content">
|
||||
<h2 class="main_title">“{{ $artwork->title }}”</h2>
|
||||
<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') }}
|
||||
</p>
|
||||
@if ($artwork->description)
|
||||
<h4 class="mb-1">Description</h4>
|
||||
<p class="subtitle">{{ $artwork->description }}</p>
|
||||
@endif
|
||||
<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>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
58
site/resources/views/artworks/card.blade.php
Normal file
58
site/resources/views/artworks/card.blade.php
Normal file
@@ -0,0 +1,58 @@
|
||||
<div class="explore-style-one {{ $thisEpisode->artwork_id == $thisArtwork->id ? 'selected' : '' }}">
|
||||
<div class="thumb">
|
||||
<a href="/artworks/{{ $thisArtwork->id }}">
|
||||
<img src="{{ 'http://'
|
||||
. config('app.static_asset_url')
|
||||
. '/thumbnails/'
|
||||
. $thisArtwork->filename ?? '#'}}"
|
||||
alt="{{ $thisArtwork->title }} by {{ $thisArtwork->artist->name }}">
|
||||
</a>
|
||||
</div>
|
||||
{{-- End .thumb --}}
|
||||
<div class="content">
|
||||
<div class="header d-flex-between pt-4 pb-1">
|
||||
<h3 class="title">
|
||||
<a href="/episode/{{ $thisEpisode->slug }}">"{{ $thisArtwork->title }}"</a>
|
||||
</h3>
|
||||
<div class="more-dropdown "><i class="ri-more-fill" data-bs-toggle="dropdown"></i>
|
||||
<ul class="dropdown-menu dropdown-menu-dark">
|
||||
<li><a class="dropdown-item" href="/podcast/{{ $thisPodcast->slug }}">View Podcast</a></li>
|
||||
<li><a class="dropdown-item" href="/episode/{{ $thisEpisode->slug }}">View Episode</a></li>
|
||||
<li>
|
||||
<hr class="dropdown-divider">
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="/artist/{{ $thisArtwork->artist->id }}">View Selected Artist</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{-- .header --}}
|
||||
<div class="product-owner py-1 d-flex-between">
|
||||
<span class="bid-owner">Artwork By<br><strong><a
|
||||
href="/artist/{{ $thisArtwork->artist->slug }}">{{ $thisArtwork->artist->name ?? 'Unknown' }}</a></strong></span>
|
||||
<span class="profile-share d-flex-center"><a href="/artist/{{ $thisArtwork->artist->slug }}"
|
||||
class="avatar" data-bs-toggle="tooltip"
|
||||
data-bs-placement="top"
|
||||
title="{{ $thisArtwork->artist->name }}">
|
||||
<img src="{{ Vite::asset($thisArtwork->artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}"
|
||||
alt="{{ $thisArtwork->artist->name }}"></a>
|
||||
</span>
|
||||
</div>
|
||||
{{-- End .product-owner --}}
|
||||
<div class="action-wrapper py-1 d-flex-between">
|
||||
<span class="bid-owner">
|
||||
@if($thisArtwork->id == $thisEpisode->artwork_id)
|
||||
Artwork Selected For
|
||||
@else
|
||||
Artwork Submitted For
|
||||
@endif
|
||||
<br>
|
||||
<strong><a href="/podcast/{{ $thisPodcast->slug }}">{{ $thisPodcast->name }}</a></strong>
|
||||
<br>
|
||||
<a href="/episode/{{ $thisEpisode->slug }}">Episode {{ number_format($thisEpisode->episode_number + 0) }}<br><em>
|
||||
{{ $thisEpisode->episode_date->format('D, M j') }}<sup>{{ $thisEpisode->episode_date->format('S') }}</sup>{{ $thisEpisode->episode_date->format(', Y') }}</em></a>
|
||||
</span>
|
||||
</div>
|
||||
{{-- action-wrapper --}}
|
||||
</div>
|
||||
{{-- End .content --}}
|
||||
</div>
|
||||
132
site/resources/views/artworks/submit.blade.php
Normal file
132
site/resources/views/artworks/submit.blade.php
Normal file
@@ -0,0 +1,132 @@
|
||||
@extends('layouts.master')
|
||||
|
||||
@section('page-top')
|
||||
<section class="inner-page-banner bg-2 bg-image">
|
||||
<div class="container">
|
||||
<div class="inner text-center">
|
||||
<h1 class="title">Submit New Artwork</h1>
|
||||
<nav class="mt-4">
|
||||
<ol class="breadcrumb justify-content-center">
|
||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="/artworks">Explore Artwork</a></li>
|
||||
<li class="breadcrumb-item active">Create</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@section('page-content')
|
||||
<section class="pt-120 pb-90">
|
||||
<div class="container">
|
||||
<form action="/create-artwork" method="POST" name="create-artwork" enctype="multipart/form-data">
|
||||
@csrf
|
||||
<div class="create-item-wrapper">
|
||||
@if($errors->any())
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
{{-- file upload area --}}
|
||||
<div class="upload-area">
|
||||
<div class="upload-formate mb-6">
|
||||
<h5 class="title mb-1">
|
||||
Upload Artwork File
|
||||
</h5>
|
||||
<p class="formate">
|
||||
Drag or choose your file to upload.<br>
|
||||
It will be resized to 3,000px square <em>(thanks Apple.)</em>
|
||||
</p>
|
||||
</div>
|
||||
<div class="browse-file-wrapper">
|
||||
{{-- actual upload which is hidden --}}
|
||||
<input name="file" id="file" type="file" class="inputfile" required />
|
||||
{{-- our custom upload button --}}
|
||||
<label for="file" title="No File Choosen">
|
||||
<i class="ri-upload-cloud-line"></i>
|
||||
<span class="text-center mb-2">Choose a File</span>
|
||||
<span class="file-type text-center mt--10">PNG, JPG, JPEG<br>
|
||||
Max 20Mb<br>
|
||||
Prefer 3,000px Square</span>
|
||||
</label>
|
||||
</div>
|
||||
@error('file')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
{{-- end upoad file area --}}
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<div class="form-field-wrapper mb-4">
|
||||
<div class="row">
|
||||
<div class="col-md-12 mb-4">
|
||||
<div class="field-box">
|
||||
<label for="title" class="form-label">Artwork Title</label>
|
||||
<input id="title" name="title" type="text" class="@error('title') is-invalid @enderror"
|
||||
placeholder="e. g. `This Artwork's Title`"
|
||||
required
|
||||
value="{{ old('title') }}">
|
||||
@error('title')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 mb-4">
|
||||
<div class="field-box">
|
||||
<label for="description" class="form-label">Artwork Description</label>
|
||||
<textarea id="description" name="description" rows="3" class="@error('description') is-invalid @enderror"
|
||||
placeholder="e. g. “This cryptic mess represents...”">{{ old('description') }}</textarea>
|
||||
@error('description')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 mb-4 pb-4">
|
||||
<div class="field-box">
|
||||
<label for="podcast" class="form-label">For Podcast</label>
|
||||
<select id="podcast" name="podcast" required>
|
||||
@foreach ($podcasts as $podcast)
|
||||
<option value="{{ $podcast->id }}" @selected(old('podcast') == $podcast->id)>{{ $podcast->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .row --}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p>By submitting this artwork, you agree you have the rights to publish the artwork and are placing this artwork under a
|
||||
non-revokable <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons CC BY-SA 4.0 DEED Attribution-ShareAlike 4.0 International</a> license.</p>
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .row --}}
|
||||
</div>
|
||||
{{-- End .create-item-wrapper --}}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="d-flex-between upload-btn-wrapper flex-wrap">
|
||||
<div class="d-flex-center ">
|
||||
<button type="reset" class="btn btn-gradient btn-medium mr-3"><span>Cancel</span></button>
|
||||
</div>
|
||||
<div class="input-box">
|
||||
<button type="submit" class="btn btn-gradient btn-medium justify-content-center"><span>Submit Artwork.</span></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{-- ENd .row --}}
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@@ -32,16 +32,20 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
<div class="flex items-center justify-end mt-4 mb-4">
|
||||
@if (Route::has('password.request'))
|
||||
<a class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot your password?') }}
|
||||
</a>
|
||||
@endif
|
||||
|
||||
<x-primary-button class="ml-3">
|
||||
{{ __('Log in') }}
|
||||
<x-primary-button class="ml-3 btn btn-gradient" style="background:#ff512f;">
|
||||
<span>{{ __('Log in') }}</span>
|
||||
</x-primary-button>
|
||||
</div>
|
||||
</form>
|
||||
<hr>
|
||||
<div class="flex items-center justify-center mt-4 text-grey-600 text-sm dark:text-grey-400">
|
||||
Not registered yet? <a href="/register" class="ml-3 underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800">Register Now</a>
|
||||
</div>
|
||||
</x-guest-layout>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<!-- Name -->
|
||||
<div>
|
||||
<x-input-label for="name" :value="__('Name')" />
|
||||
<x-input-label for="name" :value="__('Display Name')" />
|
||||
<x-text-input id="name" class="block mt-1 w-full" type="text" name="name" :value="old('name')" required autofocus autocomplete="name" />
|
||||
<x-input-error :messages="$errors->get('name')" class="mt-2" />
|
||||
</div>
|
||||
@@ -44,8 +44,8 @@
|
||||
{{ __('Already registered?') }}
|
||||
</a>
|
||||
|
||||
<x-primary-button class="ml-4">
|
||||
{{ __('Register') }}
|
||||
<x-primary-button class="ml-4 btn btn-gradient" style="background:#ff512f;">
|
||||
<span>{{ __('Register') }}</span>
|
||||
</x-primary-button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<svg viewBox="0 0 316 316" xmlns="http://www.w3.org/2000/svg" {{ $attributes }}>
|
||||
<path d="M305.8 81.125C305.77 80.995 305.69 80.885 305.65 80.755C305.56 80.525 305.49 80.285 305.37 80.075C305.29 79.935 305.17 79.815 305.07 79.685C304.94 79.515 304.83 79.325 304.68 79.175C304.55 79.045 304.39 78.955 304.25 78.845C304.09 78.715 303.95 78.575 303.77 78.475L251.32 48.275C249.97 47.495 248.31 47.495 246.96 48.275L194.51 78.475C194.33 78.575 194.19 78.725 194.03 78.845C193.89 78.955 193.73 79.045 193.6 79.175C193.45 79.325 193.34 79.515 193.21 79.685C193.11 79.815 192.99 79.935 192.91 80.075C192.79 80.285 192.71 80.525 192.63 80.755C192.58 80.875 192.51 80.995 192.48 81.125C192.38 81.495 192.33 81.875 192.33 82.265V139.625L148.62 164.795V52.575C148.62 52.185 148.57 51.805 148.47 51.435C148.44 51.305 148.36 51.195 148.32 51.065C148.23 50.835 148.16 50.595 148.04 50.385C147.96 50.245 147.84 50.125 147.74 49.995C147.61 49.825 147.5 49.635 147.35 49.485C147.22 49.355 147.06 49.265 146.92 49.155C146.76 49.025 146.62 48.885 146.44 48.785L93.99 18.585C92.64 17.805 90.98 17.805 89.63 18.585L37.18 48.785C37 48.885 36.86 49.035 36.7 49.155C36.56 49.265 36.4 49.355 36.27 49.485C36.12 49.635 36.01 49.825 35.88 49.995C35.78 50.125 35.66 50.245 35.58 50.385C35.46 50.595 35.38 50.835 35.3 51.065C35.25 51.185 35.18 51.305 35.15 51.435C35.05 51.805 35 52.185 35 52.575V232.235C35 233.795 35.84 235.245 37.19 236.025L142.1 296.425C142.33 296.555 142.58 296.635 142.82 296.725C142.93 296.765 143.04 296.835 143.16 296.865C143.53 296.965 143.9 297.015 144.28 297.015C144.66 297.015 145.03 296.965 145.4 296.865C145.5 296.835 145.59 296.775 145.69 296.745C145.95 296.655 146.21 296.565 146.45 296.435L251.36 236.035C252.72 235.255 253.55 233.815 253.55 232.245V174.885L303.81 145.945C305.17 145.165 306 143.725 306 142.155V82.265C305.95 81.875 305.89 81.495 305.8 81.125ZM144.2 227.205L100.57 202.515L146.39 176.135L196.66 147.195L240.33 172.335L208.29 190.625L144.2 227.205ZM244.75 114.995V164.795L226.39 154.225L201.03 139.625V89.825L219.39 100.395L244.75 114.995ZM249.12 57.105L292.81 82.265L249.12 107.425L205.43 82.265L249.12 57.105ZM114.49 184.425L96.13 194.995V85.305L121.49 70.705L139.85 60.135V169.815L114.49 184.425ZM91.76 27.425L135.45 52.585L91.76 77.745L48.07 52.585L91.76 27.425ZM43.67 60.135L62.03 70.705L87.39 85.305V202.545V202.555V202.565C87.39 202.735 87.44 202.895 87.46 203.055C87.49 203.265 87.49 203.485 87.55 203.695V203.705C87.6 203.875 87.69 204.035 87.76 204.195C87.84 204.375 87.89 204.575 87.99 204.745C87.99 204.745 87.99 204.755 88 204.755C88.09 204.905 88.22 205.035 88.33 205.175C88.45 205.335 88.55 205.495 88.69 205.635L88.7 205.645C88.82 205.765 88.98 205.855 89.12 205.965C89.28 206.085 89.42 206.225 89.59 206.325C89.6 206.325 89.6 206.325 89.61 206.335C89.62 206.335 89.62 206.345 89.63 206.345L139.87 234.775V285.065L43.67 229.705V60.135ZM244.75 229.705L148.58 285.075V234.775L219.8 194.115L244.75 179.875V229.705ZM297.2 139.625L253.49 164.795V114.995L278.85 100.395L297.21 89.825V139.625H297.2Z"/>
|
||||
<svg viewBox="0 0 311.87 279.03" xmlns="http://www.w3.org/2000/svg" {{ $attributes }}>
|
||||
<path d="m132.89,113.34c-3.83-5-6.11-11.23-6.15-17.98-.06-10.67,5.66-20.22,14.2-25.61,5.64-17.37,13.21-36.47,17.32-46.56,1.72-4.19,6.12-6.62,10.59-5.84.59.1,1.19.21,1.79.31,5.52.96,9.62,5.64,9.85,11.22.44,11.29,1,30.69.43,48,4.15,5.4,6.35,12.03,6.07,18.44.03,10.37-5.2,19.5-13.18,24.88-7.5,22.62-19.69,48.42-19.69,48.42l-19.04-3.4s-2.75-28.16-2.2-51.9Zm-93.56,76.84C-13.52,138.26-12.77,51.21,39.54.03c6.27,6.36,12.53,12.71,18.88,19.15-20.29,21.04-31.21,46.42-31.21,76.04,0,29.54,10.86,54.87,31.33,76.16-6.36,6.23-12.73,12.46-19.22,18.81ZM253.32,19.02c6.34-6.36,12.64-12.69,18.95-19.02,53.73,52.17,51.88,140.86,0,190.36-6.29-6.24-12.58-12.49-19.02-18.87,20.54-21.26,31.44-46.66,31.45-76.24,0-29.61-10.89-55.02-31.38-76.22Zm-162.96,120.8c-6.4,6.04-12.69,11.97-18.98,17.91-33.28-32.01-35.51-90.23.53-125.65.27.2.58.38.83.62,5.87,5.87,11.73,11.75,17.75,17.79-11.86,12.38-18.31,27.1-18.41,44.33-.11,17.26,6.15,32.07,18.28,45ZM221.64,50.62c6.21-6.21,12.31-12.32,18.41-18.42,34.65,33.53,35.13,91.68-.02,126.08-6.23-6.05-12.47-12.1-18.7-18.15,24.51-25.18,24.65-64.55.31-89.51Zm-12.58,11.55c15.08,16.75,16.66,46.4.82,65.1-3.47-3.37-6.98-6.71-10.35-10.19-.3-.31.06-1.58.44-2.19,3.76-5.96,5.68-12.48,5.74-19.48.06-7.31-1.92-14.13-6-20.24-1.02-1.52-.97-2.47.39-3.78,3.08-2.96,5.97-6.12,8.96-9.21Zm-107.03,65.2c-15.79-19.15-14.21-48.23.38-64.8,3.56,3.56,7.13,7.13,10.35,10.35-1.86,4.61-4.19,9.01-5.42,13.71-2.59,9.86-.9,19.29,4.48,27.97.89,1.44,1.03,2.34-.33,3.59-3.2,2.94-6.24,6.05-9.45,9.19Zm55.46,92.35c.49,5.5,1.16,11.32-1.96,16.6-15.21,25.68-10.64,28.7-4.53,42.7-18.76-9.71-37.77-44.41-34.49-65.39,1.95.87,3.95,1.68,5.99,2.4,1,.36,2.05.29,2.96-.11.51.85,1.34,1.51,2.35,1.8,2.61.74,5.28,1.35,8,1.83.4.07,1.84.27,2.18.32,2.03.33,2.8.43,4.81.62,1.4.13,2.72-.49,3.53-1.54.71,1.13,1.96,1.87,3.37,1.88,2.52.02,3.21-.08,5.69-.29.78-.07,1.51-.36,2.11-.82Zm-40.03-10.04c7.25-12.91,12.95-26.71,16.95-41.48l3.77.66-1.13,15.32,3.23-14.95,4.12.72-8.51,45.54c-2.59-.46-4.54-.91-7.02-1.61l.4-16.31-5.45,14.71c-2.18-.78-4.31-1.64-6.38-2.59Zm39.4,6.88c-2.36.2-4.74.29-7.14.27l-1.24-7.59-3.61-.63-1.71,7.9c-1.89-.17-1.73-.26-3.64-.58l7.43-45.6,6.27,1.14c-.66,15.36.62,30.38,3.64,45.09Zm-6.97-15.41c-.68-7.31-.69-13.66-.59-19.87l-3.09,19.23,3.68.64Z"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.3 KiB |
7
site/resources/views/components/layouts/app.blade.php
Normal file
7
site/resources/views/components/layouts/app.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('layouts.master')
|
||||
@section('page-top')
|
||||
<br><br><br><br><br>
|
||||
@endsection
|
||||
@section('page-content')
|
||||
{{ $slot }}
|
||||
@endsection
|
||||
@@ -1,3 +1,3 @@
|
||||
<button {{ $attributes->merge(['type' => 'submit', 'class' => 'inline-flex items-center px-4 py-2 bg-gray-800 dark:bg-gray-200 border border-transparent rounded-md font-semibold text-xs text-white dark:text-gray-800 uppercase tracking-widest hover:bg-gray-700 dark:hover:bg-white focus:bg-gray-700 dark:focus:bg-white active:bg-gray-900 dark:active:bg-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:focus:ring-offset-gray-800 transition ease-in-out duration-150']) }}>
|
||||
<button {{ $attributes->merge(['type' => 'submit']) }}>
|
||||
{{ $slot }}
|
||||
</button>
|
||||
|
||||
112
site/resources/views/episodes/episode.blade.php
Normal file
112
site/resources/views/episodes/episode.blade.php
Normal file
@@ -0,0 +1,112 @@
|
||||
@extends('layouts.master')
|
||||
|
||||
@section('page-title', $pageTitle)
|
||||
|
||||
@section('page-top')
|
||||
<section class="inner-page-banner bg-2 bg-image">
|
||||
<div class="container">
|
||||
<div class="inner text-center">
|
||||
<h1 class="title">"{{ $episode->title }}"</h1>
|
||||
<nav class="mt-4">
|
||||
<ol class="breadcrumb justify-content-center">
|
||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="/podcasts">Podcasts</a></li>
|
||||
<li class="breadcrumb-item"><a href="/podcasts/{{ $episode->podcast->slug }}">{{ $episode->podcast->name }}</a></li>
|
||||
<li class="breadcrumb-item active">Ep. {{ number_format($episode->episode_number + 0) }}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
|
||||
@section('page-content')
|
||||
<section class="product-details section-bg-separation-2 pt-120 pb-90">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xxl-6 mb-6">
|
||||
<div class="explore-style-one">
|
||||
<div class="thumb"><a href="http://{{ config('app.static_asset_url') }}/artworks/{{ $episode->artwork->filename }}"
|
||||
><img id="largeImage"src="http://{{ config('app.static_asset_url') }}/artworks/{{ $episode->artwork->filename }}"
|
||||
alt="{{ $episode->artwork->title }} by {{ $episode->artwork->artist->name }} for {{ $episode->artwork->podcast->title }}"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xxl-6 mb-6 mb-6">
|
||||
<div class="details-content">
|
||||
<h2 class="main_title">{{ $episode->podcast->name }}<br> “{{ $episode->title }}”</h2>
|
||||
<h4 class="mb-1">Episode {{ number_format($episode->episode_number + 0) }}</h4>
|
||||
<h4 class="mb-4">{{ $episode->episode_date->format('l, F j') }}<sup>{{ $episode->episode_date->format('S') }}</sup>,
|
||||
{{ $episode->episode_date->format('Y') }}</h4>
|
||||
<h4 class="mb-4">Artwork By: <a href="/artist/{{ $episode->artwork->artist->slug }}">{{ $episode->artwork->artist->name }}</a></h4>
|
||||
<p class="subtitle">
|
||||
{{ number_format($episode->artworks->count()) }} Artworks Submitted.
|
||||
</p>
|
||||
<div class="d-flex-between mb-5">
|
||||
<ul class="nav custom-tabs">
|
||||
<li>
|
||||
<a href="http://{{ config('app.static_asset_url') }}/artworks/{{ $episode->artwork->filename }}">Download 3k px Image</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://{{ config('app.static_asset_url') }}/thumbnail/{{ $episode->artwork->filename }}"">Download 512 px Image</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<a href="{{ $episode->mp3 }}"
|
||||
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
|
||||
class="ri-headphone-fill"></i>
|
||||
Direct Link to MP3
|
||||
</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<a href="/podcasts/{{ $episode->podcast->slug }}"
|
||||
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
|
||||
class="ri-broadcast-line"></i>
|
||||
More From {{ $episode->podcast->name }}
|
||||
</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{-- Start Live Auction --}}
|
||||
<section class="ptb-120 live-auction">
|
||||
<div class="container">
|
||||
<div class="section-title">
|
||||
<span class="subtitle">Other Submitted Artworks</span>
|
||||
<h3>{{ number_format($episode->artworks->count() - 1) }} other art pieces submitted</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
{{-- End .section-title --}}
|
||||
<div class="grid-filter-wrapper masonry-list">
|
||||
<div class="resizer"></div>
|
||||
@foreach ($episode->artworks as $recent)
|
||||
@if ($recent->id != $episode->artwork_id)
|
||||
@php
|
||||
$thisArtwork = $recent;
|
||||
$thisPodcast = $recent->podcast;
|
||||
$thisEpisode = $recent->episode;
|
||||
@endphp
|
||||
<div class="grid-item">
|
||||
@include('artworks.card')
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
{{-- End .slick-activation-01 --}}
|
||||
</div>
|
||||
{{-- End .container --}}
|
||||
</div>
|
||||
</section>
|
||||
{{-- End Live Auction --}}
|
||||
|
||||
|
||||
@endsection
|
||||
60
site/resources/views/explore/artworks.blade.php
Normal file
60
site/resources/views/explore/artworks.blade.php
Normal file
@@ -0,0 +1,60 @@
|
||||
@extends('layouts.master')
|
||||
|
||||
@section('page-title', 'Submitted Artwork')
|
||||
|
||||
@section('page-top')
|
||||
<section class="inner-page-banner bg-2 bg-image">
|
||||
<div class="container">
|
||||
<div class="inner text-center">
|
||||
<h1 class="title">Submitted Artwork</h1>
|
||||
<nav class="mt-4">
|
||||
<ol class="breadcrumb justify-content-center">
|
||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||
<li class="breadcrumb-item active"><a href="/artworks">Explore Artwork</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@section('page-content')
|
||||
<section class="pt-120 pb-90 masonary-wrapper-activation">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ $artworks->links() }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="d-flex-between flex-wrap">
|
||||
<div
|
||||
class="button-group default-tab-list isotop-filter flex-wrap filters-button-group d-flex justify-content-start justify-content-lg-start mb-6 ">
|
||||
<button data-filter="*" class="is-checked"><span class="filter-text">View All</span></button>
|
||||
@foreach ($podcasts as $podcast)
|
||||
<button data-filter=".podcast--{{ $podcast->slug }}"><span class="filter-text">{{ $podcast->name }}</span></button>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid-filter-wrapper masonry-list">
|
||||
<div class="resizer"></div>
|
||||
@foreach ($artworks as $artwork)
|
||||
@php
|
||||
$thisArtwork = $artwork;
|
||||
$thisPodcast = $artwork->podcast;
|
||||
$thisEpisode = $artwork->episode;
|
||||
@endphp
|
||||
<div class="grid-item podcast--{{ $artwork->podcast->slug }}">
|
||||
@include('artworks.card')
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ $artworks->links() }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
|
||||
|
||||
|
||||
41
site/resources/views/home/explainer/explainer.blade.php
Normal file
41
site/resources/views/home/explainer/explainer.blade.php
Normal file
@@ -0,0 +1,41 @@
|
||||
{{-- Start Setup Wallet --}}
|
||||
<section class="wallet-setup ptb-120">
|
||||
<div class="container">
|
||||
<div class="section-title">
|
||||
<span class="subtitle">WHAT THIS IS</span>
|
||||
<h2>Artists + Podcasters = <i class="ri-heart-fill"></i></h2>
|
||||
</div>
|
||||
{{-- End .section-title --}}
|
||||
<div class="slider wallet-activation slick-arrow-between slick-gutter-15 grid auto-rows-fr">
|
||||
<div class="card-block-style-one">
|
||||
<h3 class="title mb-3">Setup Your Account & Artist Profile</h3>
|
||||
<p>First things first, you need to have an account to control your artist profiles and submit artwork.
|
||||
Setting up your account is easy, you just need an email address and some creativity. Once you have
|
||||
your account, you can create one more artist profiles which are controlled by you.
|
||||
</p>
|
||||
</div>
|
||||
{{-- End .card-block-style-one --}}
|
||||
|
||||
|
||||
<div class="card-block-style-one">
|
||||
<h3 class="title mb-3">Submit Your Album Artwork</h3>
|
||||
<p>Your artwork should be unique, high-quality, and on-topic. Our artists stive to provide the podcast
|
||||
hosts with unqiue artwork each and every episode to use as the album artwork. artwork should be
|
||||
a minimum of 512px square.
|
||||
</p>
|
||||
</div>
|
||||
{{-- End .card-block-style-one --}}
|
||||
|
||||
<div class="card-block-style-one">
|
||||
<h3 class="title mb-3">Podcasters Select Your Art</h3>
|
||||
<p>When publishing their podcast, podcasters select the album art they like best, and if you are selected,
|
||||
you'll get your credit here and usually in the show-notes of the podcast that used your art. If you aren't
|
||||
selected for Album Art, your artwork could be used for Podcasting 2.0 chapter art as well.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .row --}}
|
||||
</div>
|
||||
{{-- End .container --}}
|
||||
</section>
|
||||
{{-- End Setup Wallet --}}
|
||||
25
site/resources/views/home/hero/banner-left.blade.php
Normal file
25
site/resources/views/home/hero/banner-left.blade.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<div class="banner-content">
|
||||
<h1 class="mb-5 title" data-aos="fade-up">Producing Album Art<br>
|
||||
<span>Live Since 2010</span>
|
||||
</h1>
|
||||
<p data-aos="fade-up" data-aos-delay="100">
|
||||
A community collaboration producing the best podcast album art in the universe!<br>
|
||||
Once discussed on <em>The Joe Rogan Experience</em>, sadly,<br>
|
||||
Young Jamie was not asked to pull this up.
|
||||
</p>
|
||||
<div class="group-btn mt-8" data-aos="fade-up" data-aos-delay="200">
|
||||
<a href="/artworks" class="btn btn-gradient">
|
||||
<span><i class="ri-rocket-line"></i>Explore</span>
|
||||
</a>
|
||||
@if (Auth::user())
|
||||
<a href="/create-artwork" class="btn btn-outline">
|
||||
<span><i class="ri-edit-line"></i> Create</span>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
<div class="counter-wrapper counter-wrapper-style-two">
|
||||
@foreach ($headerCounters as $headerCounterLabel => $headerCounterCount)
|
||||
@include('home.hero.counter')
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
7
site/resources/views/home/hero/counter.blade.php
Normal file
7
site/resources/views/home/hero/counter.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="counter-style-1" data-aos="fade-up" data-aos-delay="250">
|
||||
<div class="d-flex-center">
|
||||
<div class="number counter-item-active">{{ $headerCounterCount['number'] }}</div>
|
||||
<div class="count-kilo">{{ $headerCounterCount['unit'] }} <span>+</span></div>
|
||||
</div>
|
||||
<div class="counter-title">{{ $headerCounterLabel }}</div>
|
||||
</div>
|
||||
16
site/resources/views/home/hero/hero.blade.php
Normal file
16
site/resources/views/home/hero/hero.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<section class="hero-banner-style bg-5 bg-image top-section-gap hero-banner-style-4">
|
||||
<div class="hero-banner_inner">
|
||||
<div class="container-fluid">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-xl-7 col-lg-6 col-md-12">
|
||||
@include('home.hero.banner-left')
|
||||
</div>
|
||||
<div class="col-xl-5 col-lg-6 col-md-12">
|
||||
@include('home.hero.slider.slider')
|
||||
</div>
|
||||
{{-- End .col --}}
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .container --}}
|
||||
</div>
|
||||
</section>
|
||||
12
site/resources/views/home/hero/slider/slider.blade.php
Normal file
12
site/resources/views/home/hero/slider/slider.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="slider slider-activation-banner-4 slick-gutter-15 slick-pagination-50">
|
||||
@foreach($recentEpisodes as $recentEpisode)
|
||||
@if ($recentEpisode->artwork)
|
||||
@php
|
||||
$thisArtwork = $recentEpisode->artwork;
|
||||
$thisEpisode = $recentEpisode;
|
||||
$thisPodcast = $recentEpisode->podcast;
|
||||
@endphp
|
||||
@include('artworks.card')
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
26
site/resources/views/home/leaderboard/card.blade.php
Normal file
26
site/resources/views/home/leaderboard/card.blade.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<div class="col-xxl-4 col-lg-6 col-md-6 mb-6">
|
||||
<div class="top-seller-style-two d-flex-between">
|
||||
<div class="d-flex-center">
|
||||
<div class="thumb-wrapper">
|
||||
<a href="author-profile.html" class="thumb">
|
||||
<img src="{{ Vite::asset($leaderboardArtist->artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}" alt="{{ $leaderboardArtist->artist->name }}"
|
||||
title="{{ $leaderboardArtist->artist->name }}">
|
||||
</a>
|
||||
</div>
|
||||
{{-- End .thumb-wrapper --}}
|
||||
{{-- End .thumb --}}
|
||||
<div class="content">
|
||||
<h4 class="title pb-1"><a href="author-profile.html">{{ $leaderboardArtist->artist->name }}</a></h4>
|
||||
<span class="price">Chosen {{ $leaderboardArtist->artworkCount }} {{ Str::plural('Time', $leaderboardArtist->artworkCount) }}</span>
|
||||
</div>
|
||||
{{-- End .content --}}
|
||||
</div>
|
||||
{{-- End .d-flex-center --}}
|
||||
<a href="author-profile.html" class="items-number d-flex-center flex-column">
|
||||
<strong class="pb-1">{{ $leaderboardArtist->position }}<sup>{{ numberSuffix($leaderboardArtist->position) }}</sup></strong>
|
||||
<span>Place</span>
|
||||
</a>
|
||||
</div>
|
||||
{{-- End .top-seller-style-two --}}
|
||||
</div>
|
||||
{{-- End .col --}}
|
||||
23
site/resources/views/home/leaderboard/section.blade.php
Normal file
23
site/resources/views/home/leaderboard/section.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
{{-- Start Top Seller --}}
|
||||
<section class="section-bg-separation-2 ptb-120">
|
||||
<div class="container">
|
||||
<div class="d-flex-between">
|
||||
<div class="section-title">
|
||||
<span class="subtitle">The Artists</span>
|
||||
<h2>Past Year Leaderboard</h2>
|
||||
</div>
|
||||
{{-- End .section-title --}}
|
||||
<div class="text-large">
|
||||
<a href="#">View Leaderboards</a>
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .d-flex-between --}}
|
||||
<div class="row">
|
||||
@foreach($leaderboard as $leaderboardArtist)
|
||||
@include('home.leaderboard.card')
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
{{-- End container --}}
|
||||
</section>
|
||||
{{-- End section --}}
|
||||
10
site/resources/views/home/page.blade.php
Normal file
10
site/resources/views/home/page.blade.php
Normal file
@@ -0,0 +1,10 @@
|
||||
@extends('layouts.master')
|
||||
@section('page-top')
|
||||
@include('home.hero.hero')
|
||||
@endsection
|
||||
|
||||
@section('page-content')
|
||||
@include('home.recents.section')
|
||||
@include('home.explainer.explainer')
|
||||
@include('home.leaderboard.section')
|
||||
@endsection
|
||||
23
site/resources/views/home/recents/section.blade.php
Normal file
23
site/resources/views/home/recents/section.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
{{-- Start Live Auction --}}
|
||||
<section class="ptb-120 live-auction">
|
||||
<div class="container">
|
||||
<div class="section-title">
|
||||
<span class="subtitle">Artworks</span>
|
||||
<h2>Recent Artwork Submissons</h2>
|
||||
</div>
|
||||
{{-- End .section-title --}}
|
||||
<div class="slider slick-activation-001 slick-gutter-15 slick-pagination-50">
|
||||
@foreach ($recentSubmissions as $recent)
|
||||
@php
|
||||
$thisArtwork = $recent;
|
||||
$thisPodcast = $recent->podcast;
|
||||
$thisEpisode = $recent->episode;
|
||||
@endphp
|
||||
@include('artworks.card')
|
||||
@endforeach
|
||||
{{-- End .slick-activation-01 --}}
|
||||
</div>
|
||||
{{-- End .container --}}
|
||||
</div>
|
||||
</section>
|
||||
{{-- End Live Auction --}}
|
||||
@@ -6,7 +6,10 @@
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
|
||||
@include('partials/favicon')
|
||||
@vite(['resources/scss/app.scss'])
|
||||
@livewireStyles
|
||||
@yield('additional_headers')
|
||||
<!-- Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.bunny.net">
|
||||
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
|
||||
@@ -14,17 +17,33 @@
|
||||
<!-- Scripts -->
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
</head>
|
||||
<body class="font-sans text-gray-900 antialiased">
|
||||
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100 dark:bg-gray-900">
|
||||
<body class="antialiased">
|
||||
@include('partials/preloader')
|
||||
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0">
|
||||
<div>
|
||||
<a href="/">
|
||||
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
|
||||
<x-application-logo class="w-20 h-20 fill-current" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white dark:bg-gray-800 shadow-md overflow-hidden sm:rounded-lg">
|
||||
<div class="authbox w-full sm:max-w-md mt-6 px-6 py-4 shadow-md overflow-hidden sm:rounded-lg">
|
||||
{{ $slot }}
|
||||
</div>
|
||||
</div>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/jquery.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/jquery.nice-select.min.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/modernizer.min.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/slick.min.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/bootstrap.min.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/waypoint.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/js.cookie.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/count-down.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/counter-up.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/isotop.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/imageloaded.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/aos.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/jquery.custom-file-input.js"></script>
|
||||
@livewireScriptConfig
|
||||
@vite(['resources/js/app.js'])
|
||||
</body>
|
||||
</html>
|
||||
|
||||
42
site/resources/views/layouts/master.blade.php
Normal file
42
site/resources/views/layouts/master.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
@if(View::hasSection('page-title'))
|
||||
<title>.: @yield('page-title') - No Agenda Art Generator :.</title>
|
||||
@else
|
||||
<title>.: No Agenda Art Generator :.</title>
|
||||
@endif
|
||||
@include('partials/favicon')
|
||||
@vite(['resources/scss/app.scss'])
|
||||
@livewireStyles
|
||||
@yield('additional_headers')
|
||||
</head>
|
||||
<body{!! Session::get('preferred_theme') === 'light' ? ' class="theme-light"' : '' !!} data-preferred_theme="{!! Session::get('preferred_theme') !!}">
|
||||
@include('partials/preloader')
|
||||
@include('partials/nav/head')
|
||||
|
||||
@yield('page-top')
|
||||
@yield('page-content')
|
||||
|
||||
@include('partials.footer.section')
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/jquery.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/jquery.nice-select.min.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/modernizer.min.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/slick.min.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/bootstrap.min.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/waypoint.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/js.cookie.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/count-down.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/counter-up.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/isotop.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/imageloaded.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/aos.js"></script>
|
||||
<script src="//{{ config('app.static_asset_url') }}/dist/vendor/js/jquery.custom-file-input.js"></script>
|
||||
@livewireScriptConfig
|
||||
@vite(['resources/js/app.js'])
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,16 +1,16 @@
|
||||
<nav x-data="{ open: false }" class="bg-white dark:bg-gray-800 border-b border-gray-100 dark:border-gray-700">
|
||||
<!-- Primary Navigation Menu -->
|
||||
{{-- Primary Navigation Menu --}}
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="flex justify-between h-16">
|
||||
<div class="flex">
|
||||
<!-- Logo -->
|
||||
{{-- Logo --}}
|
||||
<div class="shrink-0 flex items-center">
|
||||
<a href="{{ route('dashboard') }}">
|
||||
<x-application-logo class="block h-9 w-auto fill-current text-gray-800 dark:text-gray-200" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Navigation Links -->
|
||||
{{-- Navigation Links --}}
|
||||
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
|
||||
<x-nav-link :href="route('dashboard')" :active="request()->routeIs('dashboard')">
|
||||
{{ __('Dashboard') }}
|
||||
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Settings Dropdown -->
|
||||
{{-- Settings Dropdown --}}
|
||||
<div class="hidden sm:flex sm:items-center sm:ml-6">
|
||||
<x-dropdown align="right" width="48">
|
||||
<x-slot name="trigger">
|
||||
@@ -38,7 +38,7 @@
|
||||
{{ __('Profile') }}
|
||||
</x-dropdown-link>
|
||||
|
||||
<!-- Authentication -->
|
||||
{{-- Authentication --}}
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
</x-dropdown>
|
||||
</div>
|
||||
|
||||
<!-- Hamburger -->
|
||||
{{-- Hamburger --}}
|
||||
<div class="-mr-2 flex items-center sm:hidden">
|
||||
<button @click="open = ! open" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 dark:text-gray-500 hover:text-gray-500 dark:hover:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-900 focus:outline-none focus:bg-gray-100 dark:focus:bg-gray-900 focus:text-gray-500 dark:focus:text-gray-400 transition duration-150 ease-in-out">
|
||||
<svg class="h-6 w-6" stroke="currentColor" fill="none" viewBox="0 0 24 24">
|
||||
@@ -64,7 +64,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Responsive Navigation Menu -->
|
||||
{{-- Responsive Navigation Menu --}}
|
||||
<div :class="{'block': open, 'hidden': ! open}" class="hidden sm:hidden">
|
||||
<div class="pt-2 pb-3 space-y-1">
|
||||
<x-responsive-nav-link :href="route('dashboard')" :active="request()->routeIs('dashboard')">
|
||||
@@ -72,7 +72,7 @@
|
||||
</x-responsive-nav-link>
|
||||
</div>
|
||||
|
||||
<!-- Responsive Settings Options -->
|
||||
{{-- Responsive Settings Options --}}
|
||||
<div class="pt-4 pb-1 border-t border-gray-200 dark:border-gray-600">
|
||||
<div class="px-4">
|
||||
<div class="font-medium text-base text-gray-800 dark:text-gray-200">{{ Auth::user()->name }}</div>
|
||||
|
||||
7
site/resources/views/livewire/counter.blade.php
Normal file
7
site/resources/views/livewire/counter.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<div>
|
||||
<h1>{{ $count }}</h1>
|
||||
|
||||
<button wire:click="increment">+</button>
|
||||
|
||||
<button wire:click="decrement">-</button>
|
||||
</div>
|
||||
9
site/resources/views/livewire/themeswitch.blade.php
Normal file
9
site/resources/views/livewire/themeswitch.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<li>
|
||||
<label class="theme-switcher-label d-flex" for="theme-switcher">
|
||||
<input type="checkbox" class="theme-switcher" id="theme-switcher">
|
||||
<div class="switch-handle">
|
||||
<i class="ri-sun-line light-text" wire:click="light"></i>
|
||||
<i class="ri-moon-line dark-text" wire:click="dark"></i>
|
||||
</div>
|
||||
</label>
|
||||
</li>
|
||||
20
site/resources/views/partials/favicon.blade.php
Normal file
20
site/resources/views/partials/favicon.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="//{{ config('app.static_asset_url') }}/dist/ico/apple-touch-icon-57x57.png" />
|
||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="//{{ config('app.static_asset_url') }}/dist/ico/apple-touch-icon-114x114.png" />
|
||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="//{{ config('app.static_asset_url') }}/dist/ico/apple-touch-icon-72x72.png" />
|
||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="//{{ config('app.static_asset_url') }}/dist/ico/apple-touch-icon-144x144.png" />
|
||||
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="//{{ config('app.static_asset_url') }}/dist/ico/apple-touch-icon-60x60.png" />
|
||||
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="//{{ config('app.static_asset_url') }}/dist/ico/apple-touch-icon-120x120.png" />
|
||||
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="//{{ config('app.static_asset_url') }}/dist/ico/apple-touch-icon-76x76.png" />
|
||||
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="//{{ config('app.static_asset_url') }}/dist/ico/apple-touch-icon-152x152.png" />
|
||||
<link rel="icon" type="image/png" href="//{{ config('app.static_asset_url') }}/dist/ico/favicon-196x196.png" sizes="196x196" />
|
||||
<link rel="icon" type="image/png" href="//{{ config('app.static_asset_url') }}/dist/ico/favicon-96x96.png" sizes="96x96" />
|
||||
<link rel="icon" type="image/png" href="//{{ config('app.static_asset_url') }}/dist/ico/favicon-32x32.png" sizes="32x32" />
|
||||
<link rel="icon" type="image/png" href="//{{ config('app.static_asset_url') }}/dist/ico/favicon-16x16.png" sizes="16x16" />
|
||||
<link rel="icon" type="image/png" href="//{{ config('app.static_asset_url') }}/dist/ico/favicon-128.png" sizes="128x128" />
|
||||
<meta name="application-name" content="{{ config('app.name') }}"/>
|
||||
<meta name="msapplication-TileColor" content="#101010" />
|
||||
<meta name="msapplication-TileImage" content="//{{ config('app.static_asset_url') }}/dist/ico/mstile-144x144.png" />
|
||||
<meta name="msapplication-square70x70logo" content="//{{ config('app.static_asset_url') }}/dist/ico/mstile-70x70.png" />
|
||||
<meta name="msapplication-square150x150logo" content="//{{ config('app.static_asset_url') }}/dist/ico/mstile-150x150.png" />
|
||||
<meta name="msapplication-wide310x150logo" content="//{{ config('app.static_asset_url') }}/dist/ico/mstile-310x150.png" />
|
||||
<meta name="msapplication-square310x310logo" content="//{{ config('app.static_asset_url') }}/dist/ico/mstile-310x310.png" />
|
||||
73
site/resources/views/partials/footer/section.blade.php
Normal file
73
site/resources/views/partials/footer/section.blade.php
Normal file
@@ -0,0 +1,73 @@
|
||||
{{-- Start Footer --}}
|
||||
<footer class="footer-wrapper">
|
||||
<div class="footer-inner pt-120 pb-80">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-5 col-md-6 mb-8">
|
||||
<div class="footer-widget first-block">
|
||||
<div class="mb-4">
|
||||
<a href="/" class="logo-light"><img src="{{ Vite::asset('resources/img/logo-dark-naag-mob.png') }}" alt="No Agenda Art Generator"
|
||||
title="No Agenda Art Generator - Home"></a>
|
||||
<a href="/" class="logo logo-dark"><img src="{{ Vite::asset('resources/img/logo-white-naag-mob.png') }}" alt="No Agenda Art Generator"
|
||||
title="No Agenda Art Generator - Home"></a>
|
||||
</div>
|
||||
<p class="mb-5 text-justify">Providing the best podcast album art in the universe since 2010.
|
||||
By submitting artwork, you are acknowledging
|
||||
you have the right to publish the work and are agreeing to place the work under the
|
||||
<a href="https://creativecommons.org/licenses/by-sa/3.0/us/">Creative Commons Attribution
|
||||
Share-Alike 3.0, United States License</a>. TYFYC and ITM.
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .col --}}
|
||||
|
||||
<div class="col-lg-2 col-md-6 mb-8">
|
||||
<div class="footer-widget">
|
||||
<h4>Community</h4>
|
||||
<ul class="footer-list-widget">
|
||||
<li><a href="https://noagendashow.net">No Agenda Show</a></li>
|
||||
<li><a href="https://noagendasocial.com/">No Agenda Social</a></li>
|
||||
<li><a href="https://noagendastream.com">No Agenda Stream</a></li>
|
||||
<li><a href="http://listen.noagendastream.com/">Alternate Stream Link</a></li>
|
||||
<li><a href="http://noagendanation.com/">No Agenda Nation</a></li>
|
||||
<li><a href="http://noagendashop.com/">No Agenda Shop</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .col --}}
|
||||
|
||||
<div class="col-lg-2 col-md-6 mb-8">
|
||||
<div class="footer-widget">
|
||||
<h4>Navigation</h4>
|
||||
<ul class="footer-list-widget">
|
||||
<li><a href="blog.html">Blog</a></li>
|
||||
<li><a href="activity.html">Activity</a></li>
|
||||
<li><a href="popular-collections-2.html">Collections</a></li>
|
||||
<li><a href="signin.html">Signin</a></li>
|
||||
<li><a href="signup.html">SignUp</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .col --}}
|
||||
|
||||
<div class="col-lg-3 col-md-6 mb-8">
|
||||
<div class="footer-widget">
|
||||
<h4>Support</h4>
|
||||
<ul class="footer-list-widget">
|
||||
<li><a href="https://dvorak.org/na">Donate to the No Agenda Podcast</a></li>
|
||||
<li><a rel="me" href="/support-development">Support The Generator</a></li>
|
||||
<li><a rel="me" href="https://noagendasocial.com/@SirPaulCouture">Argue with me on NA Social</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .col --}}
|
||||
</div>
|
||||
</div>
|
||||
{{-- End .container --}}
|
||||
</div>
|
||||
<div class="copyright text-center">
|
||||
<div class="container">
|
||||
<p>Copyright © 2010-{{ date('Y') }} Paul Couture. Some Rights Reserved.</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{{-- End Footer --}}
|
||||
115
site/resources/views/partials/nav/head.blade.php
Normal file
115
site/resources/views/partials/nav/head.blade.php
Normal file
@@ -0,0 +1,115 @@
|
||||
{{-- start header area --}}
|
||||
<header class="ib-header header-default header-fixed header--sticky fluid-header">
|
||||
<div class="header-inner d-flex align-items-center justify-content-between">
|
||||
<div class="header-left d-flex align-items-center">
|
||||
<div class="logo-wrapper">
|
||||
<a href="/" class="logo logo-light">
|
||||
<img src="{{ Vite::asset('resources/img/logo-dark-naag.png') }}" alt="No Agenda Art Generator"
|
||||
title="No Agenda Art Generator - Home">
|
||||
</a>
|
||||
<a href="/" class="logo logo-dark">
|
||||
<img src="{{ Vite::asset('resources/img/logo-white-naag.png') }}" alt="No Agenda Art Generator"
|
||||
title="No Agenda Art Generator - Home">
|
||||
</a>
|
||||
</div>
|
||||
<div class="mainmenu-wrapper">
|
||||
<nav id="sideNav" class="mainmenu-nav d-none d-xl-block">
|
||||
@include('partials/nav/main')
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-right d-flex align-items-center">
|
||||
<ul class="header-right-inner">
|
||||
{{--
|
||||
<li class=" d-none d-lg-block">
|
||||
<form action="#" class="search-bar">
|
||||
<input type="text" name="search" placeholder="Artist, Podcast or Episode" id="search">
|
||||
<button class="search-btn" type="submit"> <i class="ri-search-line"></i></button>
|
||||
</form>
|
||||
</li>
|
||||
<li class="setting-option d-block d-lg-none ">
|
||||
<div class="icon-box search-mobile-icon">
|
||||
<button><i class="ri-search-line"></i></button>
|
||||
</div>
|
||||
<form id="header-search-1" action="#" method="GET" class="large-mobile-blog-search search-bar">
|
||||
<input type="text" name="search" placeholder="Artist, Podcast or Episode" id="search_2">
|
||||
<button class="search-btn" type="submit"> <i class="ri-search-line"></i></button>
|
||||
</form>
|
||||
</li>
|
||||
--}}
|
||||
@if (!Auth::user())
|
||||
<li class="wallet-button"> <a href="/login" class="btn btn-gradient btn-small">
|
||||
<span><i class="ri-wallet-3-line"></i>Join In</span></a>
|
||||
</li>
|
||||
@else
|
||||
<li class="avatar-info"> <a href="#"><img
|
||||
@if (Auth::user() && Auth::user()->artists->first())
|
||||
src="{{ Vite::asset(Auth::user()->artists->first()->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}"
|
||||
@else
|
||||
src="{{ Vite::asset('resources/img/default_avatars/default_avatar_male.svg') }}"
|
||||
@endif
|
||||
alt="user avatar"></a>
|
||||
<ul class="submenu">
|
||||
@if (Auth::user())
|
||||
<li><a href="/artist/{{ Auth::user()->artists->first()->slug }}"><i class="ri-user-line"></i> Profile</a></li>
|
||||
<li><a href="/create-artwork"><i class="ri-image-add-line"></i> Create Artwork</a></li>
|
||||
<form method="post" action="/logout" name="logout" id="logoutForm">
|
||||
@csrf
|
||||
<li><a href="#" onclick="event.preventDefault(); document.getElementById('logoutForm').submit();"><i class="ri-logout-box-r-line"></i>Sign Out</a></li>
|
||||
</form>
|
||||
|
||||
@else
|
||||
<li><a href="/login"><i class="ri-logout-box-r-line"></i>Sign in</a></li>
|
||||
@endif
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
@if (auth()->user())
|
||||
<livewire:themeswitch />
|
||||
@else
|
||||
<li>
|
||||
<label class="theme-switcher-label d-flex" for="theme-switcher">
|
||||
<input type="checkbox" class="theme-switcher" id="theme-switcher">
|
||||
<div class="switch-handle">
|
||||
<i class="ri-sun-line light-text"></i>
|
||||
<i class="ri-moon-line dark-text"></i>
|
||||
</div>
|
||||
</label>
|
||||
</li>
|
||||
@endif
|
||||
<li class="setting-option mobile-menu-bar d-block d-xl-none">
|
||||
<button class="hamburger-button">
|
||||
<i class="ri-menu-2-fill"></i>
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{{-- end header area --}}
|
||||
{{-- start mobile pop-up menu --}}
|
||||
<div class="popup-mobile-menu">
|
||||
<div class="inner">
|
||||
<div class="header-top">
|
||||
<div class="logo logo-custom-css">
|
||||
<a href="/" class="logo logo-light">
|
||||
<img src="{{ Vite::asset('resources/img/logo-dark-naag-mob.png') }}" alt="No Agenda Art Generator"
|
||||
title="No Agenda Art Generator - Home">
|
||||
</a>
|
||||
<a href="/" class="logo logo-dark">
|
||||
<img src="{{ Vite::asset('resources/img/logo-white-naag-mob.png') }}" alt="No Agenda Art Generator"
|
||||
title="No Agenda Art Generator - Home">
|
||||
</a>
|
||||
</div>
|
||||
<div class="close-menu">
|
||||
<button class="close-button">
|
||||
<i class="ri-close-fill"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<nav>
|
||||
@include('partials/nav/main')
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
{{-- end mobile pop-up menu --}}
|
||||
29
site/resources/views/partials/nav/main.blade.php
Normal file
29
site/resources/views/partials/nav/main.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<ul class="mainmenu">
|
||||
<li>
|
||||
<a {!! request()->routeIs('home') ? 'class="active"' : '' !!} href="/">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a {!! request()->is(['artworks', 'artworks/*']) ? 'class="active"' : '' !!} href="/artworks">Submitted</a>
|
||||
</li>
|
||||
<li>
|
||||
<a {!! request()->is(['artists', 'artists/*']) ? 'class="active"' : '' !!} href="/artists">Artists</a>
|
||||
</li>
|
||||
@if (auth()->user())
|
||||
<li>
|
||||
<a {!! request()->is(['create-artwork', 'create-artwork/*']) ? 'class="active"' : '' !!} href="/create-artwork">Create</a>
|
||||
</li>
|
||||
@endif
|
||||
<li>
|
||||
<a {!! request()->is(['leaderboards', 'leaderboards/*']) ? 'class="active"' : '' !!} href="/contact.html">Leaderboards</a>
|
||||
</li>
|
||||
<li class="has-dropdown has-menu-child-item">
|
||||
<a {!! request()->is(['podcasts', 'podcasts/*']) ? 'class="active"' : '' !!}>Podcasts</a>
|
||||
<ul class="submenu">
|
||||
@foreach ($navPodcasts as $cast)
|
||||
<li>
|
||||
<a href="/podcasts/{{ $cast->slug }}">{{ $cast->name }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
12
site/resources/views/partials/preloader.blade.php
Normal file
12
site/resources/views/partials/preloader.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<div id="preloader">
|
||||
<div id="ctn-preloader" class="ctn-preloader">
|
||||
<div class="animation-preloader">
|
||||
<div class="icon">
|
||||
<img src="{{ Vite::asset('resources/img/logo-preloader.png') }}"
|
||||
alt="Podcast Art Generator Logo"
|
||||
class="m-auto d-block">
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
84
site/resources/views/podcasts/podcast.blade.php
Normal file
84
site/resources/views/podcasts/podcast.blade.php
Normal file
@@ -0,0 +1,84 @@
|
||||
@extends('layouts.master')
|
||||
|
||||
@section('page-title', $podcast->name)
|
||||
|
||||
@section('page-top')
|
||||
<section class="inner-page-banner bg-2 bg-image">
|
||||
<div class="container">
|
||||
<div class="inner text-center">
|
||||
<h1 class="title">{{ $podcast->name }}</h1>
|
||||
<nav class="mt-4">
|
||||
<ol class="breadcrumb justify-content-center">
|
||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="/podcasts">Podcasts</a></li>
|
||||
<li class="breadcrumb-item active">Podcast</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
|
||||
@section('page-content')
|
||||
<section class="pt-120 pb-90 masonary-wrapper-activation">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ $episodes->links() }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="grid-filter-wrapper masonry-list">
|
||||
<div class="resizer"></div>
|
||||
@foreach ($episodes as $episode)
|
||||
<div class="grid-item podcast--{{ $episode->podcast->slug }}">
|
||||
<div class="explore-style-one flex-stretch">
|
||||
<div class="thumb">
|
||||
<a href="/podcast/{{ $episode->podcast->slug }}/episode/{{ $episode->slug }}">
|
||||
<img src="{{ 'http://'
|
||||
. config('app.static_asset_url')
|
||||
. '/thumbnails/'
|
||||
. $episode->artwork->filename ?? '#'}}"
|
||||
alt="{{ $episode->title }}, {{ $episode->podcast->name }} Episode {{ number_format($episode->episode_number + 0) }}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header d-flex-between pt-4 pb-1">
|
||||
<h3 class="title">"{{ $episode->title }}"</h3>
|
||||
</div>
|
||||
<div class="product-owner py-0 pb-2 d-flex-between">
|
||||
<h4>{{ $episode->podcast->name }}</h4>
|
||||
</div>
|
||||
<div class="product-owner py-0 d-flex-between">
|
||||
<span class="bid-owner">Episode {{ number_format($episode->episode_number + 0) }}</span>
|
||||
</div>
|
||||
<div class="product-owner py-0 pb-4 d-flex-between">
|
||||
<span class="bid-owner"><em>{{ $episode->episode_date->format('D, M j') }}<sup>{{ $episode->episode_date->format('S') }}</sup>{{ $episode->episode_date->format(', Y') }}</em></span>
|
||||
</div>
|
||||
<div class="action-wrapper py-1 mt-4 d-flex-between">
|
||||
<span class="bid-owner">Artwork By<br><strong><a
|
||||
href="/artist/{{ $episode->artwork->artist->slug }}">{{ $episode->artwork->artist->name ?? 'Unknown' }}</a></strong></span>
|
||||
<span class="profile-share d-flex-center"><a href="/artist/{{ $episode->artwork->artist->slug }}"
|
||||
class="avatar" data-bs-toggle="tooltip"
|
||||
data-bs-placement="top"
|
||||
title="{{ $episode->artwork->artist->name }}">
|
||||
<img src="{{ Vite::asset($episode->artwork->artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}"
|
||||
alt="{{ $episode->artwork->artist->name }}"></a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="action-wrapper py-1 mb-1 d-flex-between">
|
||||
<span class="bid-owner">{{ number_format($episode->artworks->count()) }} Artworks Submitted</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ $episodes->links() }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
80
site/resources/views/profile/artist.blade.php
Normal file
80
site/resources/views/profile/artist.blade.php
Normal file
@@ -0,0 +1,80 @@
|
||||
@extends('layouts.master')
|
||||
|
||||
@section('page-title', 'Artists')
|
||||
|
||||
@section('page-top')
|
||||
<section class="inner-page-banner bg-2 bg-image">
|
||||
<div class="container">
|
||||
<div class="inner text-center">
|
||||
<h1 class="title">{{ $artist->name }}</h1>
|
||||
<nav class="mt-4">
|
||||
<ol class="breadcrumb justify-content-center">
|
||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="/artists">Artists</a></li>
|
||||
<li class="breadcrumb-item active">Artist</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@section('page-content')
|
||||
<section class="pt-120 pb-90">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ $artworks->links() }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xxl-3 col-xl-4 col-lg-4 mb-6">
|
||||
<div class="single-author profile">
|
||||
<div class="thumb">
|
||||
<img src="{{ Vite::asset($artist->header ?? 'resources/img/artist-dark-banner-default.png') }}" alt="{{ $artist->name }}'s Cover Photo" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<img class="author-thumb" src="{{ Vite::asset($artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}"
|
||||
alt="{{ $artist->name }}" />
|
||||
<h4 class="title">{{ $artist->name }}</h4>
|
||||
<p class="title">{{ $artist->location ?? 'No Agenda Nation' }}</p>
|
||||
<p class="title">Artist For {{ $artist->artworks->sortBy('created_at')->first()->created_at->diffForHumans(now(), Carbon\CarbonInterface::DIFF_ABSOLUTE) }}</p>
|
||||
@if ($artist->bio)
|
||||
<h4>Bio:</h4>
|
||||
<p>{{ nl2br($artist->bio) }}</p>
|
||||
@endif
|
||||
<div class="social size-small justify-content-center mb-4">
|
||||
@if ($artist->website)
|
||||
<a href="{{ $artist->website }}" title="website"><i class="ri-pages-line"></i></a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{-- end bio sidebar --}}
|
||||
<div class="col-xxl-9 col-xl-8 col-lg-8">
|
||||
<div class="container">
|
||||
<div class="grid-filter-wrapper masonry-list">
|
||||
<div class="resizer"></div>
|
||||
@foreach ($artworks as $artwork)
|
||||
@php
|
||||
$thisArtwork = $artwork;
|
||||
$thisPodcast = $artwork->podcast;
|
||||
$thisEpisode = $artwork->episode;
|
||||
@endphp
|
||||
<div class="grid-item podcast--{{ $artwork->podcast->slug }}">
|
||||
@include('artworks.card')
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{-- end artist content --}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ $artworks->links() }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
43
site/resources/views/profile/artists.blade.php
Normal file
43
site/resources/views/profile/artists.blade.php
Normal file
@@ -0,0 +1,43 @@
|
||||
@extends('layouts.master')
|
||||
|
||||
@section('page-title', 'Artists')
|
||||
|
||||
@section('page-top')
|
||||
<section class="inner-page-banner bg-2 bg-image">
|
||||
<div class="container">
|
||||
<div class="inner text-center">
|
||||
<h1 class="title">Artists</h1>
|
||||
<nav class="mt-4">
|
||||
<ol class="breadcrumb justify-content-center">
|
||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||
<li class="breadcrumb-item active"><a href="/artists">Artists</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@section('page-content')
|
||||
<section class="pt-120 pb-90 masonary-wrapper-activation">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ $artists->links() }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="grid-filter-wrapper masonry-list">
|
||||
<div class="resizer"></div>
|
||||
@foreach ($artists as $artist)
|
||||
<div class="grid-item">
|
||||
@include('profile.partials.single-artist-card')
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ $artists->links() }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@@ -19,11 +19,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-4 sm:p-8 bg-white dark:bg-gray-800 shadow sm:rounded-lg">
|
||||
{{--<div class="p-4 sm:p-8 bg-white dark:bg-gray-800 shadow sm:rounded-lg">
|
||||
<div class="max-w-xl">
|
||||
@include('profile.partials.delete-user-form')
|
||||
</div>
|
||||
</div>
|
||||
</div>--}}
|
||||
</div>
|
||||
</div>
|
||||
</x-app-layout>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<div class="single-author profile flex-stretch">
|
||||
<div class="thumb">
|
||||
<img src="{{ Vite::asset($artist->header ?? 'resources/img/artist-dark-banner-default.png') }}" alt="{{ $artist->name }}'s Cover Photo" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<a href="/artist/{{ $artist->slug }}"><img class="author-thumb" src="{{ Vite::asset($artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}"
|
||||
alt="{{ $artist->name }}" /></a>
|
||||
<h4 class="title"><a href="/artists/{{ $artist->slug }}">{{ $artist->name }}</a></h4>
|
||||
<p class="title">{{ $artist->location ?? 'No Agenda Nation' }}</p>
|
||||
<p class="title">Artist for {{ $artist->created_at->diffForHumans() }}</p>
|
||||
@if ($artist->bio)
|
||||
<h4>Bio:</h4>
|
||||
<p>{{ nl2br($artist->bio) }}</p>
|
||||
@endif
|
||||
<div class="social size-small justify-content-center mb-4">
|
||||
@if ($artist->website)
|
||||
<a href="{{ $artist->website }}" title="website"><i class="ri-pages-line"></i></a>
|
||||
@endif
|
||||
</div>
|
||||
<div class="size-small justify-content-center mb-4">
|
||||
{{ number_format($artist->artworks->count()) }} Submitted Artworks
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
46
site/resources/views/vendor/pagination/bootstrap-4.blade.php
vendored
Normal file
46
site/resources/views/vendor/pagination/bootstrap-4.blade.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
|
||||
<span class="page-link" aria-hidden="true">‹</span>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')">‹</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="page-item active" aria-current="page"><span class="page-link">{{ $page }}</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')">›</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
|
||||
<span class="page-link" aria-hidden="true">›</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
84
site/resources/views/vendor/pagination/bootstrap-5.blade.php
vendored
Normal file
84
site/resources/views/vendor/pagination/bootstrap-5.blade.php
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav class="d-flex justify-items-center text-center justify-content-between">
|
||||
<div class="d-flex justify-content-between flex-fill d-sm-none">
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled" aria-disabled="true">
|
||||
<span class="page-link">@lang('pagination.previous')</span>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a>
|
||||
</li>
|
||||
@endif
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item disabled" aria-disabled="true">
|
||||
<span class="page-link">@lang('pagination.next')</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
<div class="d-none flex-sm-fill d-sm-flex align-items-sm-center justify-content-sm-between">
|
||||
<div class="d-none d-lg-flex d-xl-flex d-xxl-flex">
|
||||
<p class="small text-muted">
|
||||
{!! __('Showing') !!}
|
||||
<span class="fw-semibold">{{ number_format($paginator->firstItem()) }}</span>
|
||||
{!! __('to') !!}
|
||||
<span class="fw-semibold">{{ number_format($paginator->lastItem()) }}</span>
|
||||
{!! __('of') !!}
|
||||
<span class="fw-semibold">{{ number_format($paginator->total()) }}</span>
|
||||
{!! __('results') !!}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
|
||||
<span class="page-link" aria-hidden="true">‹</span>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')">‹</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
|
||||
@endif
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="page-item active" aria-current="page"><span class="page-link">{{ number_format($page) }}</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $url }}">{{ number_format($page) }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')">›</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
|
||||
<span class="page-link" aria-hidden="true">›</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@endif
|
||||
46
site/resources/views/vendor/pagination/default.blade.php
vendored
Normal file
46
site/resources/views/vendor/pagination/default.blade.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
|
||||
<span aria-hidden="true">‹</span>
|
||||
</li>
|
||||
@else
|
||||
<li>
|
||||
<a href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')">‹</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="disabled" aria-disabled="true"><span>{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="active" aria-current="page"><span>{{ $page }}</span></li>
|
||||
@else
|
||||
<li><a href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li>
|
||||
<a href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')">›</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
|
||||
<span aria-hidden="true">›</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
36
site/resources/views/vendor/pagination/semantic-ui.blade.php
vendored
Normal file
36
site/resources/views/vendor/pagination/semantic-ui.blade.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
@if ($paginator->hasPages())
|
||||
<div class="ui pagination menu" role="navigation">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<a class="icon item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')"> <i class="left chevron icon"></i> </a>
|
||||
@else
|
||||
<a class="icon item" href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')"> <i class="left chevron icon"></i> </a>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<a class="icon item disabled" aria-disabled="true">{{ $element }}</a>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<a class="item active" href="{{ $url }}" aria-current="page">{{ $page }}</a>
|
||||
@else
|
||||
<a class="item" href="{{ $url }}">{{ $page }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a class="icon item" href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')"> <i class="right chevron icon"></i> </a>
|
||||
@else
|
||||
<a class="icon item disabled" aria-disabled="true" aria-label="@lang('pagination.next')"> <i class="right chevron icon"></i> </a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
27
site/resources/views/vendor/pagination/simple-bootstrap-4.blade.php
vendored
Normal file
27
site/resources/views/vendor/pagination/simple-bootstrap-4.blade.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled" aria-disabled="true">
|
||||
<span class="page-link">@lang('pagination.previous')</span>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item disabled" aria-disabled="true">
|
||||
<span class="page-link">@lang('pagination.next')</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
29
site/resources/views/vendor/pagination/simple-bootstrap-5.blade.php
vendored
Normal file
29
site/resources/views/vendor/pagination/simple-bootstrap-5.blade.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav role="navigation" aria-label="Pagination Navigation">
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled" aria-disabled="true">
|
||||
<span class="page-link">{!! __('pagination.previous') !!}</span>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">
|
||||
{!! __('pagination.previous') !!}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">{!! __('pagination.next') !!}</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item disabled" aria-disabled="true">
|
||||
<span class="page-link">{!! __('pagination.next') !!}</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
19
site/resources/views/vendor/pagination/simple-default.blade.php
vendored
Normal file
19
site/resources/views/vendor/pagination/simple-default.blade.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="disabled" aria-disabled="true"><span>@lang('pagination.previous')</span></li>
|
||||
@else
|
||||
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li><a href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a></li>
|
||||
@else
|
||||
<li class="disabled" aria-disabled="true"><span>@lang('pagination.next')</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
25
site/resources/views/vendor/pagination/simple-tailwind.blade.php
vendored
Normal file
25
site/resources/views/vendor/pagination/simple-tailwind.blade.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav role="navigation" aria-label="Pagination Navigation" class="flex justify-between">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
||||
{!! __('pagination.previous') !!}
|
||||
</span>
|
||||
@else
|
||||
<a href="{{ $paginator->previousPageUrl() }}" rel="prev" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-gray-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||
{!! __('pagination.previous') !!}
|
||||
</a>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a href="{{ $paginator->nextPageUrl() }}" rel="next" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-gray-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||
{!! __('pagination.next') !!}
|
||||
</a>
|
||||
@else
|
||||
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
||||
{!! __('pagination.next') !!}
|
||||
</span>
|
||||
@endif
|
||||
</nav>
|
||||
@endif
|
||||
57
site/resources/views/vendor/pagination/tailwind.blade.php
vendored
Normal file
57
site/resources/views/vendor/pagination/tailwind.blade.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav role="navigation" aria-label="{{ __('Pagination Navigation') }}" class="flex items-center text-center -space-x-px h-8 text-sm artworks-nav">
|
||||
<div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
|
||||
<div>
|
||||
<p class="text-sm text-gray-700 leading-5">
|
||||
{!! __('Showing') !!}
|
||||
@if ($paginator->firstItem())
|
||||
<span class="font-small">{{ $paginator->firstItem() }}</span>
|
||||
{!! __('to') !!}
|
||||
<span class="font-small">{{ $paginator->lastItem() }}</span>
|
||||
@else
|
||||
{{ $paginator->count() }}
|
||||
@endif
|
||||
{!! __('of') !!}
|
||||
<span class="font-small">{{ number_format($paginator->total()) }}</span>
|
||||
{!! __('results') !!}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-between flex-1 sm:hidden">
|
||||
@if (!$paginator->onFirstPage())
|
||||
<a href="{{ $paginator->previousPageUrl() }}" class="btn btn-gradient btn-xs">
|
||||
{{--<span>{!! __('pagination.previous') !!}</span>--}}
|
||||
<span>«</span>
|
||||
</a>
|
||||
@endif
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<span aria-disabled="true">
|
||||
<span class="btn btn-outline btn-xs mx-1"><span>{{ $element }}</span></span>
|
||||
</span>
|
||||
@endif
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<span aria-current="page">
|
||||
<span class="btn btn-gradient btn-xs mx-1"><span>{{ number_format($page) }}</span></span>
|
||||
</span>
|
||||
@else
|
||||
<a href="{{ $url }}" class="btn btn-outline btn-xs mx-1" aria-label="{{ __('Go to page :page', ['page' => number_format($page)]) }}">
|
||||
<span>{{ number_format($page) }}</span>
|
||||
</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
@if ($paginator->hasMorePages())
|
||||
<a href="{{ $paginator->nextPageUrl() }}" class="btn btn-gradient btn-xs">
|
||||
{{--<span>{!! __('pagination.next') !!}</span>--}}
|
||||
<span>»</span>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</nav>
|
||||
@endif
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user