From 7c8134cd050e1d129a8508322629a2909de08316 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Wed, 12 Jul 2023 21:31:38 -0300 Subject: [PATCH] Remove remnants of webpackage --- src/css/postman.scss | 8 ++++---- src/html/pages/surah/index.html.erb | 4 ++-- src/html/pages/surah/stream.html.erb | 2 +- src/js/components/Stream.tsx | 2 +- src/js/pages/surah/index/loader.ts | 4 ++-- src/js/pages/surah/stream/loader.ts | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/css/postman.scss b/src/css/postman.scss index dd3d816..cf60a0a 100644 --- a/src/css/postman.scss +++ b/src/css/postman.scss @@ -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%; diff --git a/src/html/pages/surah/index.html.erb b/src/html/pages/surah/index.html.erb index 0d6d91d..9f6608f 100644 --- a/src/html/pages/surah/index.html.erb +++ b/src/html/pages/surah/index.html.erb @@ -5,10 +5,10 @@ - <%= inline_css('/css/webpackage.scss') %> + <%= inline_css('/css/postman.scss') %>
-{ayah.text}
- + ); }); diff --git a/src/js/pages/surah/index/loader.ts b/src/js/pages/surah/index/loader.ts index 48344bf..b175f57 100644 --- a/src/js/pages/surah/index/loader.ts +++ b/src/js/pages/surah/index/loader.ts @@ -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'), diff --git a/src/js/pages/surah/stream/loader.ts b/src/js/pages/surah/stream/loader.ts index 65ec789..822a309 100644 --- a/src/js/pages/surah/stream/loader.ts +++ b/src/js/pages/surah/stream/loader.ts @@ -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')!;