Skip to content

Commit

Permalink
Merge pull request #2 from OpenSynergic/themes
Browse files Browse the repository at this point in the history
Adding Scheleduled Conference Components and fixing alert-scheduled
  • Loading branch information
rahmanramsi authored Nov 7, 2024
2 parents 03e69bc + 10dce53 commit 4617f43
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 1 deletion.
Empty file.
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>


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>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<x-everest::layouts.banner></x-everest::layouts.banner>

<div class="space-y-8">
<x-scheduledConference::alert-scheduled-conference :scheduled-conference="$currentScheduledConference" />

<section class="container mx-auto px-4 py-8">
<div class="flex flex-col lg:flex-row gap-8 items-start">
Expand Down

0 comments on commit 4617f43

Please sign in to comment.