Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Sep 17, 2022
1 parent cd0707e commit 92136a5
Show file tree
Hide file tree
Showing 13 changed files with 116 additions and 114 deletions.
10 changes: 2 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"filament/spatie-laravel-media-library-plugin": "^2.0",
"filament/spatie-laravel-tags-plugin": "^2.0",
"filament/spatie-laravel-translatable-plugin": "^2.0",
"lara-zeus/core": "dev-main",
"lara-zeus/core": "^2.3",
"mohamedsabil83/filament-forms-tinyeditor": "^1.5",
"spatie/laravel-medialibrary": "^10.0.0",
"spatie/laravel-sluggable": "^3.3",
Expand Down Expand Up @@ -82,11 +82,5 @@
"LaraZeus\\Sky\\SkyServiceProvider"
]
}
},
"repositories": [
{
"type": "path",
"url": "../core"
}
]
}
}
116 changes: 62 additions & 54 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 18 additions & 19 deletions resources/views/themes/zeus/addons/faq.blade.php
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
<div>
@if(!$faqs->isEmpty())
<div class="bg-gray-50">
<div class="max-w-7xl mx-auto py-12 px-4 sm:py-16 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto">
<h2 class="text-center text-3xl font-extrabold tracking-tight sm:text-4xl text-primary-500">
{{ __('question and answer') }}
</h2>
<div class="space-y-8 mt-10">
@foreach($faqs as $faq)
<div class="bg-white rounded-[2rem] rounded-bl-none rounded-tr-none shadow-md group">
<h5>
<a class="flex items-center justify-between w-full px-6 py-4 text-xl font-medium tracking-tight text-secondary-600">
<div class="max-w-7xl mx-auto py-12 px-4 sm:py-16 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto">
<h2 class="text-center text-3xl font-extrabold tracking-tight sm:text-4xl text-primary-500 dark:text-primary-400">
{{ __('question and answer') }}
</h2>
<div class="space-y-8 mt-10">
@foreach($faqs as $faq)
<div
class="bg-white dark:bg-gray-800 rounded-[2rem] rounded-bl-none rounded-tr-none shadow-md group">
<h5>
<a class="flex items-center justify-between w-full px-6 py-4 text-xl font-medium tracking-tight text-secondary-600 dark:text-secondary-200">
<span class="underline">
{{ $faq->question }}
</span>
</a>
</h5>
<div>
<div class="pb-4 px-6">
{!! $faq->answer !!}
</div>
</a>
</h5>
<div>
<div class="pb-4 px-6">
{!! $faq->answer !!}
</div>
</div>
@endforeach
</div>
</div>
@endforeach
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/zeus/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<main class="flex flex-col sm:flex-row justify-between mx-auto gap-3 md:gap-6 px-3 md:px-6 py-4 md:py-8">
<section class="w-full sm:w-2/3 lg:w-3/4">
@unless ($posts->isEmpty())
<h1 class="text-xl font-bold text-gray-700 md:text-2xl">{{ __('Posts') }}</h1>
<h1 class="text-xl font-bold text-gray-700 dark:text-gray-100 md:text-2xl">{{ __('Posts') }}</h1>
@if(request()->filled('search'))
{{ __('Showing Search result of') }}: <span class="highlight">{{ request('search') }}</span>
<a title="{{ __('clear') }}" href="{{ route('blogs') }}">
<x-heroicon-o-backspace class="text-secondary-500 w-4 h-4 inline-flex align-middle"/>
<x-heroicon-o-backspace class="text-secondary-500 dark:text-secondary-100 w-4 h-4 inline-flex align-middle"/>
</a>
@endif
@each($theme.'.partial.post', $posts, 'post')
Expand Down
Loading

0 comments on commit 92136a5

Please sign in to comment.