feat: 增加自定义头像上传、自动压缩与自动清理功能,统一全站头像路径读取逻辑
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
@auth
|
||||
<div class="flex items-center space-x-3 ml-2 pl-2 border-l border-indigo-700">
|
||||
<div class="flex items-center space-x-2">
|
||||
<img src="/images/headface/{{ Auth::user()->headface ?? '01.gif' }}"
|
||||
<img src="{{ Auth::user()->headface_url ?? '/images/headface/1.gif' }}"
|
||||
class="w-7 h-7 rounded border border-indigo-500 object-cover bg-white">
|
||||
<span class="font-bold hidden sm:inline">{{ Auth::user()->username }}</span>
|
||||
<span
|
||||
|
||||
Reference in New Issue
Block a user