mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-26 19:47:30 +00:00
Remove message about BLM
This commit is contained in:
parent
a0d36820b0
commit
d4e8708046
4 changed files with 45 additions and 98 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* Rules for the page layout */
|
||||
body {
|
||||
background-color: black;
|
||||
background-color: rgb(58, 110, 165);
|
||||
font-family: arial;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,115 +1,69 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<title>Webamp · Winamp 2 in your browser</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Winamp 2.9 reimplemented in HTML5 and JavaScript"
|
||||
/>
|
||||
<meta name="description" content="Winamp 2.9 reimplemented in HTML5 and JavaScript" />
|
||||
<meta property="og:title" content="Webamp • Winamp in your browser" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="Winamp 2.9 reimplemented in HTML5 and JavaScript"
|
||||
/>
|
||||
<meta property="og:description" content="Winamp 2.9 reimplemented in HTML5 and JavaScript" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://webamp.org" />
|
||||
<meta
|
||||
property="og:image"
|
||||
content="https://webamp.org<%= require('./images/preview.png') %>"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
type="text/css"
|
||||
href="<%= require('!file-loader?name=[path][name]-[hash].[ext]!./css/page.css') %>"
|
||||
/>
|
||||
<link
|
||||
rel="shortcut icon"
|
||||
sizes="16x16 32x32"
|
||||
href="<%= require('./images/favicon.ico') %>"
|
||||
/>
|
||||
<meta property="og:image" content="https://webamp.org<%= require('./images/preview.png') %>" />
|
||||
<link rel='stylesheet' type='text/css' href="<%= require('!file-loader?name=[path][name]-[hash].[ext]!./css/page.css') %>" />
|
||||
<link rel="shortcut icon" sizes="16x16 32x32" href="<%= require('./images/favicon.ico') %>">
|
||||
|
||||
<!-- See https://goo.gl/qRE0vM -->
|
||||
<meta name="theme-color" content="#4b4b4b" />
|
||||
<meta name="theme-color" content="#4b4b4b">
|
||||
|
||||
<meta
|
||||
name="google-site-verification"
|
||||
content="ycocEnfUpYf8u_UmzpqSe0gNooPs0PBjbD7HKw-qa5I"
|
||||
/>
|
||||
<meta name="google-site-verification" content="ycocEnfUpYf8u_UmzpqSe0gNooPs0PBjbD7HKw-qa5I" />
|
||||
|
||||
<!-- Load and register service worker that deletes the service worker we used to have -->
|
||||
<script>
|
||||
if ("serviceWorker" in navigator) {
|
||||
window.addEventListener("load", function() {
|
||||
navigator.serviceWorker.register("/service-worker.js");
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function() {
|
||||
navigator.serviceWorker.register('/service-worker.js');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div id="loading" style="display: none">
|
||||
Loading<span class="ellipsis-anim"
|
||||
><span>.</span><span>.</span><span>.</span></span
|
||||
>
|
||||
</div>
|
||||
<body>
|
||||
<div id='app'>
|
||||
<div id="loading" style="display: none">
|
||||
Loading<span class="ellipsis-anim"><span>.</span><span>.</span><span>.</span></span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="browser-compatibility">
|
||||
<p>Your browser does not support the features we need.</p>
|
||||
<p>
|
||||
Try using the most recent version of Chrome, Firefox, Safari or Edge.
|
||||
</p>
|
||||
<div id='browser-compatibility'>
|
||||
<p>Your browser does not support the features we need.</p>
|
||||
<p>Try using the most recent version of Chrome, Firefox, Safari or Edge.</p>
|
||||
</div>
|
||||
<div id="demo-desktop"></div>
|
||||
<div style="color: white; text-align: center;">
|
||||
<h1>Black Lives Matter</h1>
|
||||
<h2>
|
||||
<a href="https://secure.actblue.com/donate/ab_mn" style="color: white"
|
||||
>Donate to organizations fighting against racism and police
|
||||
brutality</a
|
||||
>
|
||||
</h2>
|
||||
</div>
|
||||
<p class="about">
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://github.com/jberg/butterchurn"
|
||||
id="butterchurn-share"
|
||||
style="background-color: #222222"
|
||||
>
|
||||
<img inline src="demo/images/share/eye.svg" />
|
||||
</a>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://github.com/captbaritone/webamp/blob/master/docs/music-credits.md"
|
||||
style="background-color: #222222"
|
||||
id="music-credits"
|
||||
>
|
||||
<img inline src="demo/images/share/music.svg" />
|
||||
</a>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://github.com/captbaritone/webamp"
|
||||
style="background-color: #222222; color: pink;"
|
||||
id="github-share"
|
||||
>
|
||||
<img inline src="demo/images/share/github.svg" />
|
||||
</a>
|
||||
<p class='about'>
|
||||
<a target="_blank" href='https://github.com/jberg/butterchurn' id='butterchurn-share' style="background-image: url(<%= require('./images/share/butterchurn-bg.png') %>)">
|
||||
<img inline src="demo/images/share/eye.svg" />
|
||||
</a>
|
||||
<a target="_blank" href='https://github.com/captbaritone/webamp/blob/master/docs/music-credits.md' id='music-credits'>
|
||||
<img inline src="demo/images/share/music.svg" />
|
||||
</a>
|
||||
<a target="_blank" href='https://github.com/captbaritone/webamp' id='github-share'>
|
||||
<img inline src="demo/images/share/github.svg" />
|
||||
</a>
|
||||
</p>
|
||||
<script type="text/javascript">
|
||||
// If we can load faster than half a second, don't bother showing the loading indicator.
|
||||
setTimeout(function() {
|
||||
var loading = document.getElementById("loading");
|
||||
if (loading != null) {
|
||||
loading.style.display = "block";
|
||||
}
|
||||
}, 500);
|
||||
// If we can load faster than half a second, don't bother showing the loading indicator.
|
||||
setTimeout(function() {
|
||||
var loading = document.getElementById('loading');
|
||||
if (loading != null) {
|
||||
loading.style.display = 'block';
|
||||
}
|
||||
}, 500)
|
||||
</script>
|
||||
<!-- https://github.com/captbaritone/webamp/issues/750
|
||||
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="7py29249dpeddu8" async></script>
|
||||
-->
|
||||
<!-- Scripts get injected by html-webpack-plugin -->
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -33,10 +33,7 @@ if ("URLSearchParams" in window) {
|
|||
SHOW_DESKTOP_ICONS = Boolean(params.get("icons"));
|
||||
}
|
||||
|
||||
export const skinUrl =
|
||||
config.skinUrl === undefined
|
||||
? "https://s3.amazonaws.com/webamp-uploaded-skins/skins/e56349b6cedc3ddad73dcfba9405aba7.wsz"
|
||||
: config.skinUrl;
|
||||
export const skinUrl = config.skinUrl === undefined ? null : config.skinUrl;
|
||||
|
||||
// https://freemusicarchive.org/music/netBloc_Artists/netBloc_Vol_24_tiuqottigeloot/
|
||||
const album = "netBloc Vol. 24: tiuqottigeloot";
|
||||
|
|
|
|||
|
|
@ -112,14 +112,10 @@ async function main() {
|
|||
let __butterchurnOptions = null;
|
||||
let __initialWindowLayout = null;
|
||||
if (isButterchurnSupported()) {
|
||||
const params = new URLSearchParams(location.search);
|
||||
const butterchurnPresetUrlParam = params.get("butterchurnPresetUrl");
|
||||
|
||||
const startWithMilkdropHidden =
|
||||
butterchurnPresetUrlParam == null &&
|
||||
(document.body.clientWidth < MIN_MILKDROP_WIDTH ||
|
||||
skinUrl != null ||
|
||||
screenshot);
|
||||
document.body.clientWidth < MIN_MILKDROP_WIDTH ||
|
||||
skinUrl != null ||
|
||||
screenshot;
|
||||
|
||||
__butterchurnOptions = getButterchurnOptions(startWithMilkdropHidden);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue