From fc2ba5fb0729e9b2c06174ef3ccd052b036d575b Mon Sep 17 00:00:00 2001 From: mrdrogdrog Date: Wed, 19 Aug 2020 21:28:53 +0200 Subject: [PATCH] Replace gravatar image with local image (#433) Signed-off-by: Tilman Vatteroth --- public/api/v2/me | 2 +- public/avatar.png | Bin 0 -> 18479 bytes .../connection-indicator.tsx | 4 ++-- .../document-info/document-info-button.tsx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 public/avatar.png diff --git a/public/api/v2/me b/public/api/v2/me index fcf166f76..614b3db6e 100644 --- a/public/api/v2/me +++ b/public/api/v2/me @@ -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" diff --git a/public/avatar.png b/public/avatar.png new file mode 100644 index 0000000000000000000000000000000000000000..2310e17cdd52717cd2c800ffc4983b2fa954d450 GIT binary patch literal 18479 zcmeIaWmMGN8wENuGBSjKv`T}3q>2g*HIgEdf^;Y#Al(f^C@C!=-6GQ6AR^r$NT+mn z-!uGge7fK7TKE0na^Cg+;{48e&hzZOpM4BakdwNFdlwf1f!vaQA+7|0z`#!!1aTAm zweK`^3V}c^O~k|$O!W035Y}+}@LqPTx0J0SHO9Pe2-fJNZBec%;_cz~R(~@j)V1FK z?#UlhAM7$4)A|zRV?#vIKyY~@zvGKiVAR44_x2jY=cTd__s`_E1e5Ex&fHz5xA10_ zn@a0WJqm;B<7wnSl*I9K?utk8-6pnM%~}eUlgs+XKV^x?ahc3^8J;@YGS=vFVfIb? zDV8;V`jhcz4%xI~E&arYe+Lq??z1|o1gvhUcIiJu18vDXRMzFPTj_qde5lejJAcQs zHTDx{ma9hLv1d=Z1#u_2QC3EI=XxV!H=pzq{FfYxjoI=a6d#{Wk6dlU>!}N7ol|#I z&b5V8SQdP{zw-6Vhk&Fn1t|5!OJ4cjyHwxoLhq-}(j#=L>5J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n@=YVumdz#tntV)4h`Cvoe_7>AF?Ng4|1GmkA)gkI83v$lWrFNhGDr^p{b8 zAd;os1_|bOTsj>cQfU^HcyVmjfp@6v)C*t=@Se8+s*zayMu2MdRO=!?av7Wu5xe`$ zjFQR+)2^ujuXGqs>bmyH;Ny|G+|vLN literal 0 HcmV?d00001 diff --git a/src/components/editor/document-bar/connection-indicator/connection-indicator.tsx b/src/components/editor/document-bar/connection-indicator/connection-indicator.tsx index 99734d6a1..b9be3a3b0 100644 --- a/src/components/editor/document-bar/connection-indicator/connection-indicator.tsx +++ b/src/components/editor/document-bar/connection-indicator/connection-indicator.tsx @@ -14,10 +14,10 @@ const ConnectionIndicator: React.FC = () => { - + - + diff --git a/src/components/editor/document-bar/document-info/document-info-button.tsx b/src/components/editor/document-bar/document-info/document-info-button.tsx index 19a5b3614..0c5132d6f 100644 --- a/src/components/editor/document-bar/document-info/document-info-button.tsx +++ b/src/components/editor/document-bar/document-info/document-info-button.tsx @@ -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'}/> + profileImageSrc={'/avatar.png'}/>