Skip to content

Commit

Permalink
feat: add logo and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
espy committed Mar 15, 2019
1 parent c280b5b commit 7bce875
Show file tree
Hide file tree
Showing 17 changed files with 78 additions and 2 deletions.
Binary file added android-chrome-192x192.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 android-chrome-512x512.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 apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ body {
height: 100vh;
flex-direction: column;
}
h1 svg {
height: 1em;
display: inline-block;
width: 1em;
vertical-align: bottom;
}

#holder {
display: block;
position: fixed;
Expand Down
2 changes: 1 addition & 1 deletion assets/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ holder.ondrop = function (e) {

var file = e.dataTransfer.files[0]
fileName = file.name
document.getElementById('title').innerHTML = 'Transcribing ' + file.name
document.getElementById('filename').innerHTML = file.name
// var reader = new FileReader()
// `loadBlob` doesn’t work with `backend: MediaElement`
// wavesurfer.loadBlob(file)
Expand Down
9 changes: 9 additions & 0 deletions browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#2d89ef</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added favicon-16x16.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 favicon-32x32.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 favicon.ico
Binary file not shown.
14 changes: 13 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,24 @@
<head>
<meta charset="UTF-8">
<title>Transcribe</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#2d89ef">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="assets/main.css">
</head>
<body>
<div id="holder">Drop an audio file here…</div>
<section id="audio-area">
<h1><span id="title">Transcribe</span><span id="time"></span></h1>
<h1>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<path d="M30 210V90m0 0c0-33.1 26.9-60 60-60m60 60c0-33.1-26.9-60-60-60m60 180V90m0 120c0 33.1 26.9 60 60 60s60-26.9 60-60m0 0V90" fill="none" stroke="#4e9dca" stroke-width="31" stroke-linecap="round" stroke-miterlimit="10"/>
</svg>
<span id="filename"></span>
</h1>
<div id="waveform-display">
<div id="loading-message">
Generating your waveform…
Expand Down
Binary file added mstile-144x144.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 mstile-150x150.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 mstile-310x150.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 mstile-310x310.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 mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

0 comments on commit 7bce875

Please sign in to comment.