mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
feat(home): add link to skin details page
- Modify recent_skins.blade.php and upcoming_skins.blade.php - Add a hyperlink to the skin name that redirects to the skin details page
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
src="//wsrv.nl/?url={{ $skin->getSkinImageAttribute() }}&w=720&output=jpg&q=90&il"
|
src="//wsrv.nl/?url={{ $skin->getSkinImageAttribute() }}&w=720&output=jpg&q=90&il"
|
||||||
alt="{{ $skin->skin_name }} Splash Art">
|
alt="{{ $skin->skin_name }} Splash Art">
|
||||||
<div class="flex flex-col items-center justify-center">
|
<div class="flex flex-col items-center justify-center">
|
||||||
<h2 class="mt-4 text-xl font-bold text-white">{{ $skin->skin_name }}</h2>
|
<h2 class="mt-4 text-xl font-bold text-white"><a href="{{ route('skins.show', $skin->slug) }}">{{ $skin->skin_name }}</a></h2>
|
||||||
<h3 class=" text-stone-200">Released
|
<h3 class=" text-stone-200">Released
|
||||||
{{ Carbon::parse($skin->release_date)->diffForHumans([
|
{{ Carbon::parse($skin->release_date)->diffForHumans([
|
||||||
'parts' => 2,
|
'parts' => 2,
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
src="//wsrv.nl/?url={{ $skin->getSkinImageAttribute() }}&w=720&output=jpg&q=90&il"
|
src="//wsrv.nl/?url={{ $skin->getSkinImageAttribute() }}&w=720&output=jpg&q=90&il"
|
||||||
alt="{{ $skin->skin_name }} Splash Art">
|
alt="{{ $skin->skin_name }} Splash Art">
|
||||||
<div class="flex flex-col items-center justify-center">
|
<div class="flex flex-col items-center justify-center">
|
||||||
<h2 class="mt-4 text-xl font-bold text-white">{{ $skin->skin_name }}</h2>
|
<h2 class="mt-4 text-xl font-bold text-white"><a href="{{ route('skins.show', $skin->slug) }}">{{ $skin->skin_name }}</a></h2>
|
||||||
|
|
||||||
<div class="my-1 ">
|
<div class="my-1 ">
|
||||||
<span class="sr-only">Associated Skinline:</span>
|
<span class="sr-only">Associated Skinline:</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user