feat: more work on completing switchover
This commit is contained in:
73
site/resources/views/artworks/artwork.blade.php
Normal file
73
site/resources/views/artworks/artwork.blade.php
Normal file
@@ -0,0 +1,73 @@
|
||||
@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">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">
|
||||
<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
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
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
|
||||
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
|
||||
84
site/resources/views/explore/artworks.blade.php
Normal file
84
site/resources/views/explore/artworks.blade.php
Normal file
@@ -0,0 +1,84 @@
|
||||
@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">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-end 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)
|
||||
<div class="grid-item podcast--{{ $artwork->podcast->slug }}">
|
||||
<div class="explore-style-one {{ $artwork->episode->artwork_id == $artwork->id ? 'selected' : '' }}">
|
||||
<div class="thumb">
|
||||
<a href="/artworks/{{ $artwork->id }}"><img src="http://{{ config('app.static_asset_url') }}/thumbnails/{{ $artwork->filename }}" alt="{{ $artwork->title }} by {{ $artwork->artist->name }} for {{ $artwork->podcast->title }}"></a>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header d-flex-between pt-4 pb-3">
|
||||
<h3 class="title"><a href="/artwork/{{ $artwork->id }}">"{{ $artwork->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="#">Artist Profile</a></li>
|
||||
<li>
|
||||
<hr class="dropdown-divider">
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="#">Episode Submissions</a></li>
|
||||
<li><a class="dropdown-item" href="#">Episode Details</a></li>
|
||||
<li><a class="dropdown-item" href="#">Report</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{-- .header --}}
|
||||
<div class="product-owner py-4 d-flex-between">
|
||||
<span class="bid-owner">Artwork By<br><strong><a href="/artist/{{ $artwork->artist->id }}">{{ $artwork->artist->name }}</a></strong></span>
|
||||
<span class="profile-share d-flex-center"><a href="/artist/{{ $artwork->artist->id }}" class="avatar" data-bs-toggle="tooltip" data-bs-placement="top"
|
||||
title="{{ $artwork->artist->name }}"><img src="{{ Vite::asset($recent->artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}" style="width:100%;height:auto;" alt="{{ $artwork->artist->name }}"></a></span>
|
||||
</div>
|
||||
{{-- End .product-owner --}}
|
||||
<div class="action-wrapper d-flex-between pt-4">
|
||||
<span class="bid-owner">{{ $artwork->id == $artwork->episode->artwork_id ? 'Selected' : 'Submitted' }} for <br><strong><a href="/artist/{{ $artwork->artist->id }}">{{ $artwork->podcast->name }}<br> Episode {{ number_format($artwork->episode->episode_number) }}</a></strong></span>
|
||||
</div>
|
||||
{{-- action-wrapper --}}
|
||||
</div>
|
||||
</div>
|
||||
</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 --}}
|
||||
@@ -3,19 +3,23 @@
|
||||
<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!
|
||||
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="explore-filter-sidebar.html" class="btn btn-gradient">
|
||||
<a href="/artworks" class="btn btn-gradient">
|
||||
<span><i class="ri-rocket-line"></i>Explore</span>
|
||||
</a>
|
||||
<a href="create.html" class="btn btn-outline">
|
||||
@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>
|
||||
</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>
|
||||
@@ -28,14 +28,15 @@
|
||||
<span class="bid-owner">Artwork Selected For<br>
|
||||
<strong><a href="#">{{ $recentEpisode->podcast->name }}</a></strong>
|
||||
<br>
|
||||
<a href="#">Episode {{ number_format($recentEpisode->episode_number + 0) }}</a></span>
|
||||
<a href="#">Episode {{ number_format($recentEpisode->episode_number + 0) }}<br>
|
||||
{{ $recentEpisode->episode_date->format('D, M j') }}<sup>{{ $recentEpisode->episode_date->format('S') }}</sup>{{ $recentEpisode->episode_date->format(', Y') }}</a></span>
|
||||
</div>
|
||||
<div class="product-owner py-1 d-flex-between">
|
||||
<span class="bid-owner">Artwork By<br><strong><a
|
||||
href="author-profile.html">{{ $recentEpisode->artwork->artist->name ?? 'Unknown' }}</a></strong></span>
|
||||
<span class="profile-share d-flex-center"><a href="author-profile.html" class="avatar" data-bs-toggle="tooltip" data-bs-placement="top"
|
||||
title="{{ $recentEpisode->artwork->artist->name }}"><img src="{{ Vite::asset('resources/img/default_avatars/default_avatar_users_' . str_pad(rand(1, 32), 2, '0', STR_PAD_LEFT) . '.svg') }}"
|
||||
alt="{{ $recentEpisode->artwork->artist->name }}"></a></span>
|
||||
title="{{ $recentEpisode->artwork->artist->name }}"><img src="{{ Vite::asset($recentEpisode->artwork->artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}"
|
||||
alt="{{ $recentEpisode->artwork->artist->name }}"></a></span>
|
||||
</div>
|
||||
<!-- End .product-owner -->
|
||||
</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 --}}
|
||||
@@ -1,20 +1,10 @@
|
||||
@extends('layouts.master')
|
||||
@section('page-top')
|
||||
@include('home.hero.hero')
|
||||
@endsection
|
||||
|
||||
@section('hero')
|
||||
<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>
|
||||
@endsection
|
||||
@section('page-content')
|
||||
@include('home.recents.section')
|
||||
@include('home.explainer.explainer')
|
||||
@include('home.leaderboard.section')
|
||||
@endsection
|
||||
|
||||
35
site/resources/views/home/recents/card.blade.php
Normal file
35
site/resources/views/home/recents/card.blade.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<div class="explore-style-one podcast--{{ $recent->podcast->slug }} {{ $recent->episode->artwork_id == $recent->id ? 'selected' : '' }}">
|
||||
<div class="thumb">
|
||||
<a href="product-details.html"><img src="http://{{ config('app.static_asset_url') }}/thumbnails/{{ $recent->filename }}" alt="{{ $recent->title }} by {{ $recent->artist->name }} for {{ $recent->podcast->title }}"></a>
|
||||
</div>
|
||||
{{-- End .thumb --}}
|
||||
<div class="content">
|
||||
<div class="header d-flex-between pt-4 pb-3">
|
||||
<h3 class="title"><a href="product-details.html">"{{ $recent->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="#">Artist Profile</a></li>
|
||||
<li>
|
||||
<hr class="dropdown-divider">
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="#">Episode Submissions</a></li>
|
||||
<li><a class="dropdown-item" href="#">Episode Details</a></li>
|
||||
<li><a class="dropdown-item" href="#">Report</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{-- .header --}}
|
||||
<div class="product-owner py-4 d-flex-between">
|
||||
<span class="bid-owner">Artwork By<br><strong><a href="/artist/{{ $recent->artist->id }}">{{ $recent->artist->name }}</a></strong></span>
|
||||
<span class="profile-share d-flex-center"><a href="/artist/{{ $recent->artist->id }}" class="avatar" data-bs-toggle="tooltip" data-bs-placement="top"
|
||||
title="{{ $recent->artist->name }}"><img src="{{ Vite::asset($recent->artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}" style="width:100%;height:auto;" alt="{{ $recent->artist->name }}"></a></span>
|
||||
</div>
|
||||
{{-- End .product-owner --}}
|
||||
<div class="action-wrapper d-flex-between pt-4">
|
||||
<span class="bid-owner">{{ $recent->id == $recent->episode->artwork_id ? 'Selected' : 'Submitted' }} for<br><strong><a href="/artist/{{ $recent->artist->id }}">{{ $recent->podcast->name }}<br>Episode {{ number_format($recent->episode->episode_number) }}</a></strong></span>
|
||||
</div>
|
||||
{{-- action-wrapper --}}
|
||||
</div>
|
||||
{{-- End .content --}}
|
||||
</div>
|
||||
{{-- End .explore-style-one --}}
|
||||
18
site/resources/views/home/recents/section.blade.php
Normal file
18
site/resources/views/home/recents/section.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
{{-- 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)
|
||||
@include('home.recents.card')
|
||||
@endforeach
|
||||
{{-- End .slick-activation-01 --}}
|
||||
</div>
|
||||
{{-- End .container --}}
|
||||
</div>
|
||||
</section>
|
||||
{{-- End Live Auction --}}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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>
|
||||
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 --}}
|
||||
@@ -20,6 +20,7 @@
|
||||
</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">
|
||||
@@ -35,26 +36,30 @@
|
||||
<button class="search-btn" type="submit"> <i class="ri-search-line"></i></button>
|
||||
</form>
|
||||
</li>
|
||||
<li class="wallet-button"> <a href="wallet.html" class="btn btn-gradient btn-small">
|
||||
<span><i class="ri-wallet-3-line"></i>Join In</span></a>
|
||||
</li>
|
||||
<li class="avatar-info"> <a href="#"><img src="{{ Vite::asset('resources/img/default_avatars/default_avatar_users_' . str_pad(rand(1, 50), 2, '0', STR_PAD_LEFT) . '.svg') }}" alt="user avatar"></a>
|
||||
--}}
|
||||
@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">
|
||||
<li><a href="author-profile.html"><i class="ri-user-line"></i> Profile</a></li>
|
||||
<li><a href="create.html"><i class="ri-edit-line"></i> Create Item</a></li>
|
||||
<li><a href="authors.html"><i class="ri-layout-grid-line"></i>Authors</a></li>
|
||||
<li><a href="signin.html"><i class="ri-logout-box-r-line"></i>Sign in</a></li>
|
||||
@if (Auth::user())
|
||||
<li><a href="/user-account"><i class="ri-user-line"></i> Profile</a></li>
|
||||
<li><a href="/logout"><i class="ri-logout-box-r-line"></i>Sign Out</a></li>
|
||||
@else
|
||||
<li><a href="/login"><i class="ri-logout-box-r-line"></i>Sign in</a></li>
|
||||
@endif
|
||||
</ul>
|
||||
</li>
|
||||
<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
|
||||
<livewire:themeswitch />
|
||||
<li class="setting-option mobile-menu-bar d-block d-xl-none">
|
||||
<button class="hamburger-button">
|
||||
<i class="ri-menu-2-fill"></i>
|
||||
@@ -86,8 +91,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<nav>
|
||||
@include('partials/nav/main')
|
||||
@include('partials/nav/main')
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
{{-- end mobile pop-up menu --}}
|
||||
{{-- end mobile pop-up menu --}}
|
||||
|
||||
@@ -1,34 +1,24 @@
|
||||
<ul class="mainmenu">
|
||||
<li>
|
||||
<a class="active" href="/">Home</a>
|
||||
<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>
|
||||
<li>
|
||||
<a {!! request()->is(['leaderboards', 'leaderboards/*']) ? 'class="active"' : '' !!} href="/contact.html">Leaderboards</a>
|
||||
</li>
|
||||
<li class="has-dropdown has-menu-child-item">
|
||||
<a href="#">Podcasts</a>
|
||||
<a {!! request()->is(['podcasts', 'podcasts/*']) ? 'class="active"' : '' !!}>Podcasts</a>
|
||||
<ul class="submenu">
|
||||
<li>
|
||||
<a href="/explore-filter.html">Explore Filter</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/explore-isotop.html">Explore Isotop</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/explore-carousel.html">Explore Carousel</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/explore-filter-sidebar.html">Explore Filter Sidebar</a>
|
||||
</li>
|
||||
@foreach ($navPodcasts as $cast)
|
||||
<li>
|
||||
<a href="/podcasts/{{ $cast->slug }}">{{ $cast->name }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/artists">Artists</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/activity.html">Submitted</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/submitted.html">Chosen</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/contact.html">Leaderboards</a>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
@@ -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>
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user