fix(org): Final (I hope) changes. Fixes #5230
This commit is contained in:
parent
235c748642
commit
88a60a1ac4
16 changed files with 291 additions and 130 deletions
|
@ -73,8 +73,9 @@ export const ShowUser = ({ user, button = null }) => (
|
|||
<div
|
||||
className="w-52 h-52 bg-base-100 rounded-lg shadow shrink-0"
|
||||
style={{
|
||||
backgroundImage: `url(${cloudflareConfig.url}${user.img}/sq500)`,
|
||||
backgroundImage: `url(${cloudflareConfig.url}uid-${user.ihash}/sq500)`,
|
||||
backgroundSize: 'cover',
|
||||
backgroundColor: 'linear-gradient(#80FFDB, #64DFDF, #48BFE3, #5390D9, #5E60CE);',
|
||||
}}
|
||||
></div>
|
||||
<div className="w-full">
|
||||
|
@ -124,7 +125,7 @@ export const User = ({ user }) => (
|
|||
<ShowUser
|
||||
user={user}
|
||||
button={
|
||||
<Link href={`/admin/user/${user.id}`} className="btn btn-primary">
|
||||
<Link href={`/admin/user?id=${user.id}`} className="btn btn-primary">
|
||||
Manage user
|
||||
</Link>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue