Remove remnants of webpackage
This commit is contained in:
parent
8d683c8040
commit
7c8134cd05
6 changed files with 11 additions and 11 deletions
|
@ -8,11 +8,11 @@ body {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.webpackage.loader {
|
||||
.postman.loader {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.webpackage.loader div:first-child {
|
||||
.postman.loader div:first-child {
|
||||
width: 200px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
|
@ -21,11 +21,11 @@ body {
|
|||
top: 250px;
|
||||
}
|
||||
|
||||
.webpackage.loader progress {
|
||||
.postman.loader progress {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.webpackage.loader .percentage {
|
||||
.postman.loader .percentage {
|
||||
font-family: monospace;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" href="/favicon.png">
|
||||
<%= inline_css('/css/webpackage.scss') %>
|
||||
<%= inline_css('/css/postman.scss') %>
|
||||
</head>
|
||||
<body>
|
||||
<div class="webpackage loader">
|
||||
<div class="postman loader">
|
||||
<div>
|
||||
<progress value="0" max="100"></progress>
|
||||
<span class="percentage">Loading...</span>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<%= inline_css('/css/postman.css') %>
|
||||
</head>
|
||||
<body>
|
||||
<div class="webpackage loader">
|
||||
<div class="postman loader">
|
||||
<div>
|
||||
<progress value="0" max="100"></progress>
|
||||
<span class="percentage">Loading...</span>
|
||||
|
|
|
@ -35,7 +35,7 @@ export function Stream({ reciter, surah, stream, locale, slice, endOfStream, isP
|
|||
{formatNumber(ayah.id, locale)}
|
||||
</span>
|
||||
<p>{ayah.text}</p>
|
||||
<audio ref={audioRef} src={`${baseUrl}/${surah.id}/${ayah.id}.mp3`} />
|
||||
<audio autoPlay ref={audioRef} src={`${baseUrl}/${surah.id}/${ayah.id}.mp3`} />
|
||||
</li>
|
||||
);
|
||||
});
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import postman, { item } from 'postman';
|
||||
|
||||
(function() {
|
||||
const parent: HTMLElement = document.querySelector('.webpackage.loader')!;
|
||||
const parent: HTMLElement = document.querySelector('.postman.loader')!;
|
||||
const progressBar: HTMLProgressElement = parent.querySelector('progress')!;
|
||||
const progressNumber: HTMLSpanElement = parent.querySelector('.percentage')!;
|
||||
const inlineStyle: HTMLStyleElement = document.querySelector('.css.webpackage')!;
|
||||
const inlineStyle: HTMLStyleElement = document.querySelector('.css.postman')!;
|
||||
|
||||
postman(
|
||||
item.script('/js/pages/surah/index.js'),
|
||||
|
|
|
@ -2,7 +2,7 @@ import postman, { item } from 'postman';
|
|||
import * as Quran from 'lib/Quran';
|
||||
|
||||
(function() {
|
||||
const parent: HTMLElement = document.querySelector('.webpackage.loader')!;
|
||||
const parent: HTMLElement = document.querySelector('.postman.loader')!;
|
||||
const progressBar: HTMLProgressElement = parent.querySelector('progress')!;
|
||||
const progressNumber: HTMLSpanElement = parent.querySelector('.percentage')!;
|
||||
const inlineStyle: HTMLStyleElement = document.querySelector('.css.postman')!;
|
||||
|
|
Loading…
Reference in a new issue