Skip to content

Commit

Permalink
Adding updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Apr 23, 2024
1 parent caa5b55 commit 29f0a76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions resources/views/components/elements/heading.blade.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="sm:mx-auto sm:w-full sm:max-w-md">
<div class="flex justify-center items-center w-full">
<x-auth::elements.link href="/" class="block w-auto" style="height:{{ config('devdojo.auth.branding.logo.height') }}px">
@if(config('devdojo.auth.branding.logo.type') == 'image')
<img src="{{ config('devdojo.auth.branding.logo.src') }}" class="w-auto h-full" />
<x-auth::elements.link href="/" class="block w-auto" style="height:{{ config('devdojo.auth.customizations.logo.height') }}px">
@if(config('devdojo.auth.customizations.logo.type') == 'image')
<img src="{{ config('devdojo.auth.customizations.logo.src') }}" class="w-auto h-full" />
@else
{!! str_replace('<svg', '<svg class="w-auto h-full"', config('devdojo.auth.branding.logo.src')) !!}
{!! str_replace('<svg', '<svg class="w-auto h-full"', config('devdojo.auth.customizations.logo.src')) !!}
@endif
</x-auth::elements.link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function register()
{
// Automatically apply the package configuration
$this->mergeConfigFrom(__DIR__.'/../config/devdojo/auth/settings.php', 'devdojo.auth.settings');
$this->mergeConfigFrom(__DIR__.'/../config/devdojo/auth/branding.php', 'devdojo.auth.branding');
$this->mergeConfigFrom(__DIR__.'/../config/devdojo/auth/customizations.php', 'devdojo.auth.customizations');

// Register the main class to use with the facade
$this->app->singleton('devdojoauth', function () {
Expand Down

0 comments on commit 29f0a76

Please sign in to comment.