diff --git a/app/Support/AvatarUrl.php b/app/Support/AvatarUrl.php index c724881a..c3a760be 100644 --- a/app/Support/AvatarUrl.php +++ b/app/Support/AvatarUrl.php @@ -15,6 +15,7 @@ class AvatarUrl } $avatarHash = $hash ?: self::resolveHash($userId); + if (!$avatarHash) { return self::default(); } @@ -30,7 +31,9 @@ class AvatarUrl public static function default(): string { - return asset('img/default-avatar.webp'); + $base = rtrim((string) config('cdn.avatar_url', 'https://files.skinbase.org'), '/'); + + return sprintf('%s/avatars/default.webp', $base); } private static function resolveHash(int $userId): ?string diff --git a/public/gfx/skinbase_back_001.webp b/public/gfx/skinbase_back_001.webp new file mode 100644 index 00000000..1d22c152 Binary files /dev/null and b/public/gfx/skinbase_back_001.webp differ diff --git a/public/gfx/skinbase_back_002.webp b/public/gfx/skinbase_back_002.webp new file mode 100644 index 00000000..4efa6c26 Binary files /dev/null and b/public/gfx/skinbase_back_002.webp differ diff --git a/public/gfx/skinbase_back_003.webp b/public/gfx/skinbase_back_003.webp new file mode 100644 index 00000000..f16ace6c Binary files /dev/null and b/public/gfx/skinbase_back_003.webp differ diff --git a/public/gfx/skinbase_back_004.webp b/public/gfx/skinbase_back_004.webp new file mode 100644 index 00000000..ced047e8 Binary files /dev/null and b/public/gfx/skinbase_back_004.webp differ diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index fc1b58f7..9c474593 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -1,21 +1,18 @@ @extends('layouts.nova') @section('content') -
Please confirm your password before continuing.
+Please confirm your password before continuing.