From 460c067fba7de288c2625ce6d3dbd959e2bb2e91 Mon Sep 17 00:00:00 2001 From: Trym Wensberg Kulseng Date: Wed, 9 Feb 2022 11:08:35 +0100 Subject: [PATCH] Temp solution to #8. Modified manifest for PWA --- public/Online_bla_o.png | Bin 0 -> 7133 bytes public/manifest.json | 18 ++++-------------- src/pages/Profile.tsx | 6 +++++- 3 files changed, 9 insertions(+), 15 deletions(-) create mode 100644 public/Online_bla_o.png diff --git a/public/Online_bla_o.png b/public/Online_bla_o.png new file mode 100644 index 0000000000000000000000000000000000000000..42b2958039aa97c395f519ece01ae4ccc197cbe3 GIT binary patch literal 7133 zcmW+*Wn2_}7u{tE6%Y{VMnRNXr9)O41Zj|^5s>ai1(xoT&Ijp^r6raQVd)MjL15|b zcYHt0?w9$^-2b`v+suR$QTSl8HL_D*BkUPBt@G*;L^yRl_DKOqT4aHy)Fje5|p zvswnLH2dHCiHRjn`l_p|(}*_T5+|)Nx&H3%l!nSyF+<%C)x+b*o(99$mtV!+4sU|3 z+46Evb+~hR;GE0nLYtlV=qq!Znvtl$_K+VXJnf;xn!9UCt6g@YpUbu#?^A7s^4X0n ziRm>pIN3#Cinb(bepn*6Q;&-^TTwTzXQg=B%6DoJYN)6bfAPzd^C>078d=G67@pIn zEpKIM>?u_4@~R+y-=wvR{?{Om*>2oys1gV!mah03O(}Wun%VmS(e24V)T_&-tQ)u% z%SV!mI9ZcGZ29U2=^^>kpNUWoEW ztddNKc1Y*PwRwR$_kU2lO0{O7rEzeBkNyyGXnjaWWF-}TBgglq>`<^d^PM`SPDQq3 z)dccLsP~*$C#j;zZ}IKlSdZQ@0VfXgot^DDL7>N7|1NL>`(qjqh#Dj> zC9dI-zMJ70PcPjVoE2diKSSaaX`|Z6M#7C3Qz<9K%VA)nvO=8-8v0R+hmFlrX47G8 zs6#B(!uVe`pSZBE?+A8xAGL~906tcA5N99x-**zE8+WRFrf*U%TemApnzqx{h0GsI zs_CC9wf@#{|JZW+MfT+EtU99ouyY17g*Ao4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EIK0hH*5w(sbPA(QHX$;`PJ4%EhOlwDvoi7cUoI4z@v(z)1iDR$UOJ9JT-U zSlm)`1_B3{uq+3(3~Y_t7$@e<>iX nOPKT9@e@)LegDao!Fvey`@EvPLW51<0})7GT1l#0!pQG`_;|wz literal 0 HcmV?d00001 diff --git a/public/manifest.json b/public/manifest.json index 080d6c7..89825e6 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,21 +1,11 @@ { - "short_name": "React App", - "name": "Create React App Sample", + "short_name": "Nibble App", + "name": "Nibble App", "icons": [ { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "logo192.png", - "type": "image/png", - "sizes": "192x192" - }, - { - "src": "logo512.png", + "src": "Online_bla_o.png", "type": "image/png", - "sizes": "512x512" + "sizes": "167x167" } ], "start_url": ".", diff --git a/src/pages/Profile.tsx b/src/pages/Profile.tsx index 9209928..208fb8b 100644 --- a/src/pages/Profile.tsx +++ b/src/pages/Profile.tsx @@ -16,6 +16,10 @@ const Profile = () => { window.location.reload(); }; + const addMoney = () => { + window.open('https://online.ntnu.no/payments/wallet', '_blank'); + }; + return ( { )} -