fix: fixing issues found at launch
This commit is contained in:
parent
3d3029ceb6
commit
ebdc50a697
@ -35,7 +35,7 @@ services:
|
|||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
# Entry Point for https
|
# Entry Point for https
|
||||||
- "traefik.http.routers.podcastartgen-secure.entrypoints=websecure"
|
- "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.routers.podcastartgen-secure.service=podcastartgen-service"
|
||||||
- "traefik.http.services.podcastartgen-service.loadbalancer.server.port=80"
|
- "traefik.http.services.podcastartgen-service.loadbalancer.server.port=80"
|
||||||
links:
|
links:
|
||||||
|
@ -31,11 +31,6 @@ public function index()
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function avatar() {
|
|
||||||
$user = auth()->user();
|
|
||||||
return view('')
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show the form for creating a new resource.
|
* Show the form for creating a new resource.
|
||||||
*
|
*
|
||||||
|
@ -30,7 +30,7 @@ public function index()
|
|||||||
->with('artist')
|
->with('artist')
|
||||||
->orderBy('episode_id', 'desc')
|
->orderBy('episode_id', 'desc')
|
||||||
->orderBy('created_at', '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();
|
$podcasts = Podcast::where('published', true)->with('episodes')->get();
|
||||||
return view('explore.artworks', [
|
return view('explore.artworks', [
|
||||||
'user' => $user,
|
'user' => $user,
|
||||||
|
@ -38,7 +38,7 @@ private function mostRecentSubmissions() {
|
|||||||
->with('episode')
|
->with('episode')
|
||||||
->with('podcast')
|
->with('podcast')
|
||||||
->orderBy('created_at', 'desc')
|
->orderBy('created_at', 'desc')
|
||||||
->limit(50)
|
->limit(10)
|
||||||
->get();
|
->get();
|
||||||
});
|
});
|
||||||
return $artworks;
|
return $artworks;
|
||||||
@ -53,7 +53,7 @@ private function mostRecentEpisodes()
|
|||||||
->with('artwork')
|
->with('artwork')
|
||||||
->with('artwork.artist')
|
->with('artwork.artist')
|
||||||
->orderBy('episode_date', 'desc')
|
->orderBy('episode_date', 'desc')
|
||||||
->limit(10)
|
->limit(5)
|
||||||
->get();
|
->get();
|
||||||
});
|
});
|
||||||
return $episodes;
|
return $episodes;
|
||||||
|
@ -64,7 +64,7 @@ public function wallets()
|
|||||||
public function avatar()
|
public function avatar()
|
||||||
{
|
{
|
||||||
if (!$this->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;
|
return config('app.static_asset_url') . '/' . $this->avatar;
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
class="avatar" data-bs-toggle="tooltip"
|
class="avatar" data-bs-toggle="tooltip"
|
||||||
data-bs-placement="top"
|
data-bs-placement="top"
|
||||||
title="{{ $thisArtwork->artist->name }}">
|
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>
|
alt="{{ $thisArtwork->artist->name }}"></a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,6 +18,18 @@
|
|||||||
</section>
|
</section>
|
||||||
@endsection
|
@endsection
|
||||||
@section('page-content')
|
@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">
|
<section class="pt-120 pb-90 masonary-wrapper-activation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -2,21 +2,21 @@
|
|||||||
<div class="top-seller-style-two d-flex-between">
|
<div class="top-seller-style-two d-flex-between">
|
||||||
<div class="d-flex-center">
|
<div class="d-flex-center">
|
||||||
<div class="thumb-wrapper">
|
<div class="thumb-wrapper">
|
||||||
<a href="author-profile.html" class="thumb">
|
<a href="/artist/{{ $leaderboardArtist->artist->slug }}" class="thumb">
|
||||||
<img src="{{ Vite::asset($leaderboardArtist->artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}" alt="{{ $leaderboardArtist->artist->name }}"
|
<img src="{{ $leaderboardArtist->artist->avatar() }}" alt="{{ $leaderboardArtist->artist->name }}"
|
||||||
title="{{ $leaderboardArtist->artist->name }}">
|
title="{{ $leaderboardArtist->artist->name }}">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{{-- End .thumb-wrapper --}}
|
{{-- End .thumb-wrapper --}}
|
||||||
{{-- End .thumb --}}
|
{{-- End .thumb --}}
|
||||||
<div class="content">
|
<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>
|
<span class="price">Chosen {{ $leaderboardArtist->artworkCount }} {{ Str::plural('Time', $leaderboardArtist->artworkCount) }}</span>
|
||||||
</div>
|
</div>
|
||||||
{{-- End .content --}}
|
{{-- End .content --}}
|
||||||
</div>
|
</div>
|
||||||
{{-- End .d-flex-center --}}
|
{{-- 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>
|
<strong class="pb-1">{{ $leaderboardArtist->position }}<sup>{{ numberSuffix($leaderboardArtist->position) }}</sup></strong>
|
||||||
<span>Place</span>
|
<span>Place</span>
|
||||||
</a>
|
</a>
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
@if (Auth::user() && Auth::user()->artists->first() && Auth::user()->artists->first()->avatar)
|
@if (Auth::user() && Auth::user()->artists->first() && Auth::user()->artists->first()->avatar)
|
||||||
src="{{ Auth::user()->artists->first()->avatar() }}"
|
src="{{ Auth::user()->artists->first()->avatar() }}"
|
||||||
@else
|
@else
|
||||||
src="{{ Vite::asset('resources/img/default_avatars/default_avatar_male.svg') }}"
|
src="{{ config('app.static_asset_url') . '/' . ('avatars/default_avatar_male.svg') }}"
|
||||||
@endif
|
@endif
|
||||||
alt="user avatar"></a>
|
alt="user avatar"></a>
|
||||||
<ul class="submenu">
|
<ul class="submenu">
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
class="avatar" data-bs-toggle="tooltip"
|
class="avatar" data-bs-toggle="tooltip"
|
||||||
data-bs-placement="top"
|
data-bs-placement="top"
|
||||||
title="{{ $episode->artwork->artist->name }}">
|
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>
|
alt="{{ $episode->artwork->artist->name }}"></a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<img src="{{ Vite::asset($artist->header ?? 'resources/img/artist-dark-banner-default.png') }}" alt="{{ $artist->name }}'s Cover Photo" />
|
<img src="{{ Vite::asset($artist->header ?? 'resources/img/artist-dark-banner-default.png') }}" alt="{{ $artist->name }}'s Cover Photo" />
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<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>
|
alt="{{ $artist->name }}" /></a>
|
||||||
<h4 class="title"><a href="/artists/{{ $artist->slug }}">{{ $artist->name }}</a></h4>
|
<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->location ?? 'No Agenda Nation' }}</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user