-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from OpenSynergic/themes
Adding Scheleduled Conference Components and fixing alert-scheduled
- Loading branch information
Showing
5 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
Empty file.
Empty file.
23 changes: 23 additions & 0 deletions
23
resources/views/frontend/scheduledConference/components/announcement-summary.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@props(['announcement']) | ||
|
||
<div class="announcement-summary sm:flex sm:flex-row gap-x-2"> | ||
@if ($announcement->hasMedia('featured_image')) | ||
<img class="max-h-36 w-auto" | ||
src="{{ $announcement->getFirstMedia('featured_image')->getAvailableUrl(['thumb']) }}" alt=""> | ||
@endif | ||
<div class="leading-normal space-y-1"> | ||
<h2 class="announcement-title text-lg tracking-tight"> | ||
<a href="{{ route('livewirePageGroup.scheduledConference.pages.announcement-page', ['announcement' => $announcement->id]) }}" class="link link-hover"> | ||
{{ $announcement->title }} | ||
</a> | ||
</h2> | ||
<div class="announcement-date text-xs font-medium text-gray-500"> | ||
{{ $announcement->created_at->format(Setting::get('format_date')) }} | ||
</div> | ||
<p class="summary text-gray-800 text-sm"> | ||
{{ $announcement->getMeta('summary') }} | ||
</p> | ||
</div> | ||
</div> | ||
|
||
|
15 changes: 15 additions & 0 deletions
15
resources/views/frontend/scheduledConference/components/galley-link.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@props([ | ||
'galley', | ||
]) | ||
|
||
<div> | ||
<a | ||
href="{{ $galley->getUrl() }}" | ||
@class([ | ||
'galley-link btn btn-outline btn-primary btn-sm', | ||
'pdf' => $galley->isPdf(), | ||
]) | ||
> | ||
{{ $galley->label }} | ||
</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters