mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Merge pull request #4 from Einundzwanzig-Podcast/style-fixes
Style fixes
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<div class="bg-21gray flex flex-col justify-between">
|
<div class="min-h-screen bg-21gray flex flex-col justify-between">
|
||||||
<section class="relative px-10 pt-16 pb-24 sm:py-16 sm:overflow-hidden mb:64 sm:mb-24">
|
<section class="relative px-10 pt-16 pb-24 sm:py-16 sm:overflow-hidden">
|
||||||
<img class="absolute h-43 left-0 z-0 w-3/4 transform -translate-y-1/2 opacity-70 top-1/2"
|
<img class="absolute h-43 left-0 z-0 w-3/4 transform -translate-y-1/2 opacity-70 top-1/2"
|
||||||
src="{{ asset('img/gradient-blob.svg') }}">
|
src="{{ asset('img/gradient-blob.svg') }}">
|
||||||
<img class="absolute left-0 z-0 object-cover object-center w-full h-full opacity-50 top-24"
|
<img class="absolute left-0 z-0 object-cover object-center w-full h-full opacity-50 top-24"
|
||||||
@@ -173,7 +173,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{-- FOOTER --}}
|
{{-- FOOTER --}}
|
||||||
<div class="fixed bottom-0 w-full">
|
<div class="bottom-0 w-full">
|
||||||
<livewire:frontend.footer/>
|
<livewire:frontend.footer/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -77,8 +77,8 @@
|
|||||||
$link = $isLecturerPage ? route('lecturerMaterial.view', ['libraryItem' => $libraryItem]) : route('libraryItem.view', ['libraryItem' => $libraryItem]);
|
$link = $isLecturerPage ? route('lecturerMaterial.view', ['libraryItem' => $libraryItem]) : route('libraryItem.view', ['libraryItem' => $libraryItem]);
|
||||||
@endphp
|
@endphp
|
||||||
<div wire:key="library_item_{{ $libraryItem->id }}"
|
<div wire:key="library_item_{{ $libraryItem->id }}"
|
||||||
class="flex flex-col overflow-hidden rounded-lg shadow-[#F7931A] shadow-sm">
|
class="flex flex-col overflow-hidden rounded-lg border-2 border-[#F7931A]">
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0 pt-6">
|
||||||
<a href="{{ $link }}">
|
<a href="{{ $link }}">
|
||||||
<img class="h-48 w-full object-contain"
|
<img class="h-48 w-full object-contain"
|
||||||
src="{{ $libraryItem->getFirstMediaUrl('main') }}"
|
src="{{ $libraryItem->getFirstMediaUrl('main') }}"
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
@foreach($libraryItems as $libraryItem)
|
@foreach($libraryItems as $libraryItem)
|
||||||
<div wire:key="library_item_{{ $libraryItem->id }}"
|
<div wire:key="library_item_{{ $libraryItem->id }}"
|
||||||
class="flex flex-col overflow-hidden rounded-lg shadow-[#F7931A] shadow-sm">
|
class="flex flex-col overflow-hidden rounded-lg border-2 border-[#F7931A]">
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0 pt-6">
|
||||||
<a href="{{ route('article.view', ['libraryItem' => $libraryItem]) }}">
|
<a href="{{ route('article.view', ['libraryItem' => $libraryItem]) }}">
|
||||||
<img class="h-48 w-full object-contain"
|
<img class="h-48 w-full object-contain"
|
||||||
src="{{ $libraryItem->getFirstMediaUrl('main') }}"
|
src="{{ $libraryItem->getFirstMediaUrl('main') }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user