fix: fixing issues found at launch
This commit is contained in:
parent
3d3029ceb6
commit
ebdc50a697
@ -35,7 +35,7 @@ services:
|
||||
- "traefik.docker.network=proxy"
|
||||
# Entry Point for https
|
||||
- "traefik.http.routers.podcastartgen-secure.entrypoints=websecure"
|
||||
- "traefik.http.routers.podcastartgen-secure.rule=Host(`new.noagendaartgenerator.com`)"
|
||||
- "traefik.http.routers.podcastartgen-secure.rule=Host(`www.noagendaartgenerator.com`) || HOST(`noagendaartgenerator.com`)"
|
||||
- "traefik.http.routers.podcastartgen-secure.service=podcastartgen-service"
|
||||
- "traefik.http.services.podcastartgen-service.loadbalancer.server.port=80"
|
||||
links:
|
||||
|
@ -31,11 +31,6 @@ public function index()
|
||||
]);
|
||||
}
|
||||
|
||||
public function avatar() {
|
||||
$user = auth()->user();
|
||||
return view('')
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*
|
||||
|
@ -30,7 +30,7 @@ public function index()
|
||||
->with('artist')
|
||||
->orderBy('episode_id', 'desc')
|
||||
->orderBy('created_at', 'desc')
|
||||
->paginate($perPage = 92, $columns = ['*'], $pageName = 'artworks');
|
||||
->paginate($perPage = 54, $columns = ['*'], $pageName = 'artworks');
|
||||
$podcasts = Podcast::where('published', true)->with('episodes')->get();
|
||||
return view('explore.artworks', [
|
||||
'user' => $user,
|
||||
|
@ -38,7 +38,7 @@ private function mostRecentSubmissions() {
|
||||
->with('episode')
|
||||
->with('podcast')
|
||||
->orderBy('created_at', 'desc')
|
||||
->limit(50)
|
||||
->limit(10)
|
||||
->get();
|
||||
});
|
||||
return $artworks;
|
||||
@ -53,7 +53,7 @@ private function mostRecentEpisodes()
|
||||
->with('artwork')
|
||||
->with('artwork.artist')
|
||||
->orderBy('episode_date', 'desc')
|
||||
->limit(10)
|
||||
->limit(5)
|
||||
->get();
|
||||
});
|
||||
return $episodes;
|
||||
|
@ -64,7 +64,7 @@ public function wallets()
|
||||
public function avatar()
|
||||
{
|
||||
if (!$this->avatar) {
|
||||
return asset('resources/img/default_avatars/default_avatar_male.svg');
|
||||
return config('app.static_asset_url') . '/' . ('avatars/default_avatar_male.svg');
|
||||
}
|
||||
return config('app.static_asset_url') . '/' . $this->avatar;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
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') }}"
|
||||
<img src="{{ $thisArtwork->artist->avatar() }}"
|
||||
alt="{{ $thisArtwork->artist->name }}"></a>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -18,6 +18,18 @@
|
||||
</section>
|
||||
@endsection
|
||||
@section('page-content')
|
||||
<div class="container mt-4">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="alert alert-success text-success">
|
||||
<p style="color:#20202d;">
|
||||
<strong style="color:#20202d;">NOTE:</strong> Still working out some bugs, episodes 1613-1616 will be added later today
|
||||
after the show. You can find those submissions here: <a style="color: #000;" href="https://noagenda.dev/old/">https://noagenda.dev/old/</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<section class="pt-120 pb-90 masonary-wrapper-activation">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
@ -2,25 +2,25 @@
|
||||
<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 }}"
|
||||
<a href="/artist/{{ $leaderboardArtist->artist->slug }}" class="thumb">
|
||||
<img src="{{ $leaderboardArtist->artist->avatar() }}" 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>
|
||||
<h4 class="title pb-1"><a href="/artist/{{ $leaderboardArtist->artist->slug }}">{{ $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">
|
||||
<a href="/artist/{{ $leaderboardArtist->artist->slug }}" 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 --}}
|
||||
{{-- End .col --}}
|
||||
|
@ -58,7 +58,7 @@
|
||||
@if (Auth::user() && Auth::user()->artists->first() && Auth::user()->artists->first()->avatar)
|
||||
src="{{ Auth::user()->artists->first()->avatar() }}"
|
||||
@else
|
||||
src="{{ Vite::asset('resources/img/default_avatars/default_avatar_male.svg') }}"
|
||||
src="{{ config('app.static_asset_url') . '/' . ('avatars/default_avatar_male.svg') }}"
|
||||
@endif
|
||||
alt="user avatar"></a>
|
||||
<ul class="submenu">
|
||||
|
@ -60,7 +60,7 @@
|
||||
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') }}"
|
||||
<img src="{{ $episode->artwork->artist->avatar() }}"
|
||||
alt="{{ $episode->artwork->artist->name }}"></a>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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') }}"
|
||||
<a href="/artist/{{ $artist->slug }}"><img class="author-thumb" src="{{ $artist->avatar() }}"
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user