From 3275ae94c4402aafb4730492eb1d6069e09882dc Mon Sep 17 00:00:00 2001 From: Fady Mondy Date: Sat, 30 Mar 2024 14:37:30 +0200 Subject: [PATCH] fallback all modals --- .../resources/views/contact.blade.php | 11 +- .../CircleXO/resources/views/index.blade.php | 23 - .../resources/views/layouts/app.blade.php | 21 + .../resources/views/layouts/public.blade.php | 21 + .../resources/views/listing/create.blade.php | 11 +- .../resources/views/listing/edit.blade.php | 11 +- .../views/notifications/index.blade.php | 198 ++++---- .../views/notifications/show.blade.php | 10 +- .../views/profile/edit/avatar.blade.php | 11 +- .../views/profile/edit/cover.blade.php | 11 +- .../views/profile/edit/info.blade.php | 11 +- .../views/profile/edit/password.blade.php | 11 +- .../resources/views/profile/edit/qr.blade.php | 10 +- .../profile/edit/social-accounts.blade.php | 11 +- .../views/profile/edit/social-edit.blade.php | 11 +- .../views/profile/edit/social.blade.php | 11 +- .../views/profile/edit/sponsoring.blade.php | 11 +- .../resources/views/profile/message.blade.php | 10 +- bootstrap/cache/packages.php | 423 ++++++++++++++++++ bootstrap/cache/services.php | 318 +++++++++++++ 20 files changed, 962 insertions(+), 193 deletions(-) create mode 100644 Modules/CircleXO/resources/views/layouts/app.blade.php create mode 100644 Modules/CircleXO/resources/views/layouts/public.blade.php create mode 100755 bootstrap/cache/packages.php create mode 100755 bootstrap/cache/services.php diff --git a/Modules/CircleXO/resources/views/contact.blade.php b/Modules/CircleXO/resources/views/contact.blade.php index 59b15c6..ca93191 100644 --- a/Modules/CircleXO/resources/views/contact.blade.php +++ b/Modules/CircleXO/resources/views/contact.blade.php @@ -1,7 +1,8 @@ - - - {{ __('Send Message To') . " " . $account->username }} - +@extends('circle-xo::layouts.public') + +@section('title', __('Send Message To') . " " . $account->username ) + +@section('content') - +@endsection diff --git a/Modules/CircleXO/resources/views/index.blade.php b/Modules/CircleXO/resources/views/index.blade.php index f097418..caf91ac 100644 --- a/Modules/CircleXO/resources/views/index.blade.php +++ b/Modules/CircleXO/resources/views/index.blade.php @@ -1,26 +1,3 @@ -{{--@php--}} -{{-- SEO::openGraphType('WebPage');--}} -{{-- SEO::openGraphSiteName(setting('site_name'));--}} -{{-- SEO::openGraphTitle(setting('site_name'));--}} -{{-- SEO::openGraphUrl(url()->current());--}} -{{-- SEO::openGraphImage(setting('site_profile'));--}} -{{-- SEO::metaByProperty('og:description', setting('site_description'));--}} - -{{-- SEO::twitterCard('summary_large_image');--}} -{{-- SEO::twitterTitle(setting('site_name'));--}} -{{-- SEO::twitterDescription(setting('site_description'));--}} -{{-- SEO::twitterImage(setting('site_profile'));--}} - -{{-- SEO::canonical(url()->current());--}} -{{--@endphp--}} -{{--@seoTitle(setting('site_name'))--}} -{{--@seoDescription(setting('site_description'))--}} -{{--@seoKeywords(setting('site_keywords'))--}} -{{----}} -{{-- --}} -{{-- --}} -{{-- --}} -{{----}}
diff --git a/Modules/CircleXO/resources/views/layouts/app.blade.php b/Modules/CircleXO/resources/views/layouts/app.blade.php new file mode 100644 index 0000000..22ca376 --- /dev/null +++ b/Modules/CircleXO/resources/views/layouts/app.blade.php @@ -0,0 +1,21 @@ +@seoTitle(isset(app()->view->getSections()['title']) ? app()->view->getSections()['title'] . ' | ' : ''. setting('site_name')) +@seoDescription(isset(app()->view->getSections()['description']) ? app()->view->getSections()['description'] . ' | ' : '' . setting('site_description')) +@seoKeywords(isset(app()->view->getSections()['keywords']) ? app()->view->getSections()['keywords'] . ' | ' : '' .setting('site_keywords')) + + +
+
+
+ @yield('title') +
+
+ + + @yield('title') + + @yield('content') + +
+
+
+
diff --git a/Modules/CircleXO/resources/views/layouts/public.blade.php b/Modules/CircleXO/resources/views/layouts/public.blade.php new file mode 100644 index 0000000..0b4142d --- /dev/null +++ b/Modules/CircleXO/resources/views/layouts/public.blade.php @@ -0,0 +1,21 @@ +@seoTitle(isset(app()->view->getSections()['title']) ? app()->view->getSections()['title'] . ' | ' : ''. setting('site_name')) +@seoDescription(isset(app()->view->getSections()['description']) ? app()->view->getSections()['description'] . ' | ' : '' . setting('site_description')) +@seoKeywords(isset(app()->view->getSections()['keywords']) ? app()->view->getSections()['keywords'] . ' | ' : '' .setting('site_keywords')) + + +
+
+
+ @yield('title') +
+
+ + + @yield('title') + + @yield('content') + +
+
+
+
diff --git a/Modules/CircleXO/resources/views/listing/create.blade.php b/Modules/CircleXO/resources/views/listing/create.blade.php index 9a9af6f..2ae99f3 100644 --- a/Modules/CircleXO/resources/views/listing/create.blade.php +++ b/Modules/CircleXO/resources/views/listing/create.blade.php @@ -1,7 +1,8 @@ - - - {{ __('Create New Listing') }} - +@extends('circle-xo::layouts.app') + +@section('title', __('Create New Listing')) + +@section('content') - +@endsection diff --git a/Modules/CircleXO/resources/views/listing/edit.blade.php b/Modules/CircleXO/resources/views/listing/edit.blade.php index 8a638b4..ffe752b 100644 --- a/Modules/CircleXO/resources/views/listing/edit.blade.php +++ b/Modules/CircleXO/resources/views/listing/edit.blade.php @@ -1,7 +1,8 @@ - - - {{ __('Update Listing') . "#" . $listing->id }} - +@extends('circle-xo::layouts.app') + +@section('title', __('Update Listing') . "#" . $listing->id) + +@section('content')

{{__('Select Listing Type')}}

@@ -101,4 +102,4 @@
-
+@endsection diff --git a/Modules/CircleXO/resources/views/notifications/index.blade.php b/Modules/CircleXO/resources/views/notifications/index.blade.php index 02e768c..e5a4609 100644 --- a/Modules/CircleXO/resources/views/notifications/index.blade.php +++ b/Modules/CircleXO/resources/views/notifications/index.blade.php @@ -1,125 +1,123 @@ - - - - {{__('Notification')}} - +@extends('circle-xo::layouts.app') - @if(count($notifications)) -
-
-
- @foreach($notifications as $notification) -
-
-