mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 19:13:15 +00:00
Replace gravatar image with local image (#433)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
13b7854c65
commit
fc2ba5fb07
4 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "mockUser",
|
||||
"photo": "https://1.gravatar.com/avatar/767fc9c115a1b989744c755db47feb60?s=200&r=pg&d=mp",
|
||||
"photo": "/avatar.png",
|
||||
"name": "Test",
|
||||
"status": "ok",
|
||||
"provider": "internal"
|
||||
|
|
BIN
public/avatar.png
Normal file
BIN
public/avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
|
@ -14,10 +14,10 @@ const ConnectionIndicator: React.FC = () => {
|
|||
</Dropdown.Toggle>
|
||||
<Dropdown.Menu>
|
||||
<Dropdown.Item disabled={true} className="d-flex align-items-center p-0">
|
||||
<UserLine name="Philip Molares" photo="https://1.gravatar.com/avatar/767fc9c115a1b989744c755db47feb60?s=200&r=pg&d=mp" color="red" status={ActiveIndicatorStatus.INACTIVE}/>
|
||||
<UserLine name="Philip Molares" photo="/avatar.png" color="red" status={ActiveIndicatorStatus.INACTIVE}/>
|
||||
</Dropdown.Item>
|
||||
<Dropdown.Item disabled={true} className="d-flex align-items-center p-0">
|
||||
<UserLine name="Philip Molares" photo="https://1.gravatar.com/avatar/767fc9c115a1b989744c755db47feb60?s=200&r=pg&d=mp" color="blue" status={ActiveIndicatorStatus.ACTIVE}/>
|
||||
<UserLine name="Philip Molares" photo="/avatar.png" color="blue" status={ActiveIndicatorStatus.ACTIVE}/>
|
||||
</Dropdown.Item>
|
||||
</Dropdown.Menu>
|
||||
</Dropdown>
|
||||
|
|
|
@ -27,14 +27,14 @@ export const DocumentInfoButton: React.FC = () => {
|
|||
mode={DocumentInfoLineWithTimeMode.CREATED}
|
||||
time={ moment().subtract(11, 'days') }
|
||||
userName={'Tilman'}
|
||||
profileImageSrc={'https://1.gravatar.com/avatar/767fc9c115a1b989744c755db47feb60?s=200&r=pg&d=mp'}/>
|
||||
profileImageSrc={'/avatar.png'}/>
|
||||
</ListGroup.Item>
|
||||
<ListGroup.Item>
|
||||
<DocumentInfoTimeLine
|
||||
mode={DocumentInfoLineWithTimeMode.EDITED}
|
||||
time={ moment().subtract(3, 'minutes') }
|
||||
userName={'Philip'}
|
||||
profileImageSrc={'https://1.gravatar.com/avatar/767fc9c115a1b989744c755db47feb60?s=200&r=pg&d=mp'}/>
|
||||
profileImageSrc={'/avatar.png'}/>
|
||||
</ListGroup.Item>
|
||||
<ListGroup.Item>
|
||||
<DocumentInfoLine icon={'users'}>
|
||||
|
|
Loading…
Reference in a new issue