Center auth login logo

This commit is contained in:
David Bomba 2022-02-20 21:09:20 +11:00
parent 0bd0c0d2a1
commit a37bf5cb70
3 changed files with 11 additions and 2 deletions

View File

@ -17,6 +17,7 @@ use Coconuts\Mail\PostmarkTransport;
use GuzzleHttp\Client as HttpClient;
use Illuminate\Mail\MailServiceProvider as MailProvider;
use Illuminate\Mail\TransportManager;
use Illuminate\Container\Container;
class MailServiceProvider extends MailProvider
{
@ -33,11 +34,17 @@ class MailServiceProvider extends MailProvider
protected function registerIlluminateMailer()
{
//this is not octane safe
// //this is not octane safe
$this->app->singleton('mail.manager', function($app) {
return new GmailTransportManager($app);
});
//this is octane ready - but is untested
// $this->app->bind('mail.manager', function ($app){
// return new GmailTransportManager($app);
// });
$this->app->bind('mailer', function ($app) {
return $app->make('mail.manager')->mailer();
});

View File

@ -164,6 +164,8 @@ class SystemHealth
private static function extensions(): array
{
$loaded_extensions = null;
$loaded_extensions = [];
foreach (self::$extensions as $extension) {

View File

@ -26,7 +26,7 @@
@elseif(isset($company) && !is_null($company))
<div>
<img src="{{ $company->present()->logo() }}"
class="border-b border-gray-100 h-18 pb-4" alt="{{ $company->present()->name() }} logo">
class="mx-auto border-b border-gray-100 h-18 pb-4" alt="{{ $company->present()->name() }} logo">
</div>
@endif