[go: nahoru, domu]

Skip to content

Commit

Permalink
Add screenshots, pwaupdate button
Browse files Browse the repository at this point in the history
  • Loading branch information
vj-abishek committed Dec 19, 2020
1 parent 854a3f8 commit 0eaf01d
Show file tree
Hide file tree
Showing 4 changed files with 161 additions and 118 deletions.
Binary file added public/icon/desktop_screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon/mobile_screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 76 additions & 47 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,54 +1,78 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon-16x16.png">
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="theme-color" content="#061e23" />
<meta name="description" content="Relp, a messenger for the web. " />
<meta name="keywords"
content="SafeShare,on share,SafeShare now ,SafeShare file,file transfer, peer to peer communication, " />
<meta name="author" content="Abishek" />
<meta name="ROBOTS" content="INDEX, FOLLOW" />
<meta property="og:title" content="relp.now.sh - Online file Sharing" />
<meta property="og:url" content="https://relp.now.sh" />
<meta property="og:description" content="relp.now.sh is a online file sharing service. SafeShare is a real time
<head>
<meta charset="utf-8" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="%PUBLIC_URL%/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="%PUBLIC_URL%/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="%PUBLIC_URL%/favicon-16x16.png"
/>
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, user-scalable=no"
/>
<meta name="theme-color" content="#061e23" />
<meta name="description" content="Relp, a messenger for the web. " />
<meta
name="keywords"
content="SafeShare,on share,SafeShare now ,SafeShare file,file transfer, peer to peer communication, "
/>
<meta name="author" content="Abishek" />
<meta name="ROBOTS" content="INDEX, FOLLOW" />
<meta property="og:title" content="relp.now.sh - Online file Sharing" />
<meta property="og:url" content="https://relp.now.sh" />
<meta
property="og:description"
content="relp.now.sh is a online file sharing service. SafeShare is a real time
peer to peer communication system. The files you shared won't be uploaded to our
server. This is a peer to peer file sharing website." />
server. This is a peer to peer file sharing website."
/>

<meta property="og:image" content="%PUBLIC_URL%/HomeScreen.PNG" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="300" />
<meta property="og:image:alt" content="relp.now.sh - messenger for the web" />
<meta property="og:image" content="%PUBLIC_URL%/HomeScreen.PNG" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="300" />
<meta
property="og:image:alt"
content="relp.now.sh - messenger for the web"
/>

<link rel="canonical" href="https://relp.now.sh" />
<link rel="preconnect" href="https://relp-server.herokuapp.com/">
<link rel="dns-prefetch" href="https://relp-server.herokuapp.com/">
<title>Relp (alpha)</title>
<style>
#root{
background-color: var(--color-primary);
}
</style>
</head>
<link rel="canonical" href="https://relp.now.sh" />
<link rel="preconnect" href="https://relp-server.herokuapp.com/" />
<link rel="dns-prefetch" href="https://relp-server.herokuapp.com/" />
<title>Relp (alpha)</title>
<style>
#root {
background-color: var(--color-primary);
}
</style>
</head>

<body>
<noscript>You need to enable JavaScript to share files to anyone.</noscript>
<div id="root"></div>
<div id="popup"></div>
<div id="img"></div>
<audio id="message-tone">
<source src="tones/message-tone.mp3" type="audio/mpeg">
<source src="tones/message-tone.ogg" type="audio/ogg">
</audio>
<body>
<noscript>You need to enable JavaScript to share files to anyone.</noscript>
<div id="root"></div>
<div id="popup"></div>
<div id="img"></div>
<audio id="message-tone">
<source src="tones/message-tone.mp3" type="audio/mpeg" />
<source src="tones/message-tone.ogg" type="audio/ogg" />
</audio>

<!--
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
Expand All @@ -58,9 +82,15 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</body>
<script type="module">
import 'https://cdn.jsdelivr.net/npm/@pwabuilder/pwaupdate';

const el = document.createElement('pwa-update');
document.body.appendChild(el);
</script>

<!-- <script>
<!-- <script>
if('serviceWorker' in navigator){
navigator.serviceWorker. => {
const localFile = e.data.file;
Expand All @@ -79,5 +109,4 @@
};
}
</script> -->

</html>
156 changes: 85 additions & 71 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,81 +9,95 @@
"start_url": "./",
"orientation": "portrait",
"icons": [
{
"src": "icon/android-icon-192x192-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "icon/apple-icon-180x180-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "180x180"
},
{
"src": "icon/apple-icon-152x152-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "152x152"
},
{
"src": "icon/apple-icon-144x144-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "144x144"
},
{
"src": "icon/apple-icon-120x120-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "120x120"
},
{
"src": "icon/apple-icon-114x114-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "114x114"
},
{
"src": "icon/favicon-96x96-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "96x96"
},
{
"src": "icon/apple-icon-76x76-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "76x76"
},
{
"src": "icon/apple-icon-72x72-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "72x72"
},
{
"src": "icon/apple-icon-60x60-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "60x60"
},
{
"src": "icon/apple-icon-57x57-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "57x57"
},
{
"src": "icon/favicon-32x32-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "32x32"
},
{
"src": "icon/favicon-16x16-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "16x16"
}
{
"src": "icon/android-icon-192x192-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "icon/apple-icon-180x180-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "180x180"
},
{
"src": "icon/apple-icon-152x152-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "152x152"
},
{
"src": "icon/apple-icon-144x144-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "144x144"
},
{
"src": "icon/apple-icon-120x120-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "120x120"
},
{
"src": "icon/apple-icon-114x114-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "114x114"
},
{
"src": "icon/favicon-96x96-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "96x96"
},
{
"src": "icon/apple-icon-76x76-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "76x76"
},
{
"src": "icon/apple-icon-72x72-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "72x72"
},
{
"src": "icon/apple-icon-60x60-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "60x60"
},
{
"src": "icon/apple-icon-57x57-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "57x57"
},
{
"src": "icon/favicon-32x32-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "32x32"
},
{
"src": "icon/favicon-16x16-dunplab-manifest-27309.png",
"type": "image/png",
"sizes": "16x16"
}
],
"share_target": {
"action": "/share-target",
"method": "POST",
"enctype": "multipart/form-data",
"params": {
"files": [{
"name": "file",
"accept": ["*/*"]
}]
"files": [
{
"name": "file",
"accept": ["*/*"]
}
]
}
},
"screenshots": [
{
"src": "icon/desktop_screenshot.png",
"sizes": "1280x800",
"type": "image/png"
},
{
"src": "icon/mobile_screenshot.png",
"sizes": "750x1334",
"type": "image/png"
}
}
}
]
}

1 comment on commit 0eaf01d

@vercel
Copy link
@vercel vercel bot commented on 0eaf01d Dec 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.