Add Social Icons and Web Manifest

This commit is contained in:
Leo Herzog
2020-11-10 17:08:06 -05:00
parent 7e6583ce22
commit c110e8fef3
15 changed files with 52 additions and 1 deletions

View File

@@ -33961,6 +33961,8 @@ function propertyChange(e) {
function resetProperties() {
document.getElementById('magnet').value = "";
document.getElementById('torrent').value = "";
originalSourceIcon.innerHTML = '<span class="fad fa-magnet fa-fw"></span>';
originalSourceIcon.title = '';
properties.style.display = 'none';
name.value = "";
created.value = "";

2
bundle.min.js vendored

File diff suppressed because one or more lines are too long

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 849 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
img/TorrentParts-Icon.psd Normal file

Binary file not shown.

BIN
img/TorrentParts-Social.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
img/TorrentParts-Social.psd Normal file

Binary file not shown.

View File

@@ -10,6 +10,27 @@
<meta name="keywords" content="torrent, webtorrent, magnet, p2p, peer to peer, filesharing, announce, tracker, webseed" />
<meta name="author" content="Leo Herzog | herzog.tech" />
<meta name="theme-color" content="#102030" />
<link href="/favicon.ico" rel="icon" />
<link href="/img/TorrentParts-Icon-1x.png" rel="icon" type="image/png" sizes="128x128" />
<link href="/img/TorrentParts-Icon-2x.png" rel="icon" type="image/png" sizes="256x256" />
<link href="/img/TorrentParts-Icon-1x.png" rel="apple-touch-icon" type="image/png" sizes="128x128" />
<link href="/img/TorrentParts-Icon-2x.png" rel="apple-touch-icon" type="image/png" sizes="256x256" />
<meta name="msapplication-TileColor" content="#102030" />
<meta name="msapplication-TileImage" content="/img/TorrentParts-Icon-2x.png" />
<meta property="og:image" content="/img/TorrentParts-Social.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="640" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://torrent.parts/" />
<meta property="og:title" content="Torrent Parts" />
<meta property="og:description" content="Inspect and edit what's in your Torrent file or Magnet link" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@xd1936" />
<meta name="twitter:title" content="Torrent Parts" />
<meta name="twitter:description" content="Inspect and edit what's in your Torrent file or Magnet link" />
<meta name="twitter:image" content="https://torrent.parts/img/TorrentParts-Social.png" />
<title>Torrent Parts | Inspect and edit what's in your Torrent file or Magnet link</title>
<link rel="stylesheet" href="style.css" />

View File

@@ -298,6 +298,8 @@ function propertyChange(e) {
function resetProperties() {
document.getElementById('magnet').value = "";
document.getElementById('torrent').value = "";
originalSourceIcon.innerHTML = '<span class="fad fa-magnet fa-fw"></span>';
originalSourceIcon.title = '';
properties.style.display = 'none';
name.value = "";
created.value = "";

26
site.webmanifest Normal file
View File

@@ -0,0 +1,26 @@
{
"name": "Torrent Parts",
"description": "Inspect and edit what's in your Torrent file or Magnet link",
"theme_color": "#102030",
"background_color": "#102030",
"scope": "/",
"start_url": "/",
"display": "minimal-ui",
"icons": [
{
"src": "/img/TorrentParts-Icon-.5x.png",
"sizes": "64x64",
"type": "image/png"
},
{
"src": "/img/TorrentParts-Icon-1x.png",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "/img/TorrentParts-Icon-2x.png",
"sizes": "256x256",
"type": "image/png"
}
]
}