Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 40a0217

Browse files
authored
refactor: UI tweaks and publisher for images (#14)
1 parent 16687dd commit 40a0217

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

resources/lang/en/actions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@
1818
'done' => 'Done',
1919
'confirm_logout' => 'Logout Other Browser Sessions',
2020
'cancel' => 'Cancel',
21+
'delete' => 'Delete',
2122
];

resources/views/profile/delete-user-form.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div>
22
<div class="flex flex-col px-8 lg:p-8 xl:mx-8">
3-
<span class="text-2xl font-semibold text-theme-secondary-900">@lang('fortify::pages.delete_account_title')</span>
3+
<span class="text-2xl font-semibold text-theme-secondary-900">@lang('fortify::pages.user-settings.delete_account_title')</span>
44
<span>
5-
@lang('fortify::pages.delete_account_description')
5+
@lang('fortify::pages.user-settings.delete_account_description')
66
</span>
77

88
<div class="flex flex-row justify-end mt-8">
@@ -34,10 +34,10 @@
3434
<x-slot name="buttons">
3535
<div class="flex flex-col w-full sm:flex-row justify-end mt-5 space-y-4 sm:space-y-0 sm:space-x-3">
3636
<button class="button-secondary"
37-
wire:click="$toggle('confirmingUserDeletion')">@lang('actions.cancel')</button>
37+
wire:click="$toggle('confirmingUserDeletion')">@lang('fortify::actions.cancel')</button>
3838
<button class="inline-flex justify-center items-center button-primary" wire:click="destroy">
3939
@svg('trash', 'h-4 w-4')
40-
<span class="ml-2">@lang('actions.delete')</span>
40+
<span class="ml-2">@lang('fortify::actions.delete')</span>
4141
</button>
4242
</div>
4343
</x-slot>

resources/views/profile/export-user-data.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div>
2-
<div class="flex flex-col px-8 lg:p-8 xl:mx-8">
2+
<div class="flex flex-col">
33
<span class="text-2xl font-semibold text-theme-secondary-900">@lang('fortify::pages.user-settings.gdpr_title')</span>
44
<span>@lang('fortify::pages.user-settings.gdpr_description')</span>
55

resources/views/profile/update-timezone-form.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div>
2-
<div class="flex flex-col px-8 lg:p-8 xl:mx-8">
2+
<div class="flex flex-col">
33
<span class="text-2xl font-semibold text-theme-secondary-900">@lang('fortify::pages.user-settings.update_timezone_title')</span>
44
<span>@lang('fortify::pages.user-settings.update_timezone_description')</span>
55
<div>

src/FortifyServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ public function registerPublishers(): void
8383
__DIR__.'/../resources/views/components' => resource_path('views/components'),
8484
__DIR__.'/../resources/views/profile' => resource_path('views/profile'),
8585
], 'views');
86+
87+
$this->publishes([
88+
__DIR__.'/../resources/images' => resource_path('images'),
89+
], 'images');
8690
}
8791

8892
/**

0 commit comments

Comments
 (0)