commit 14fa6fef846e74b2eb12a3a5ba2a3e98c2f85f6a
parent abd57a1af78cd57e46a0361a3701728473b0c9da
Author: mtmn <miro@haravara.org>
Date: Wed, 15 Apr 2026 20:57:26 +0200
chore: cleanup
Diffstat:
2 files changed, 1 insertion(+), 41 deletions(-)
diff --git a/src/Log.purs b/src/Log.purs
@@ -1,8 +1,5 @@
module Log
- ( LogLevel(..)
- , LogMessage
- , debug
- , info
+ ( info
, warn
, error
) where
@@ -63,9 +60,6 @@ logger = Logger \{ level, message } -> do
# replaceAll (Pattern "\r") (Replacement " ")
Console.log $ "[" <> ts <> "] [" <> show level <> "] " <> sanitized
-debug :: forall m. MonadEffect m => String -> m Unit
-debug msg = liftEffect $ log logger { level: DEBUG, message: msg }
-
info :: forall m. MonadEffect m => String -> m Unit
info msg = liftEffect $ log logger { level: INFO, message: msg }
diff --git a/src/Main.purs b/src/Main.purs
@@ -424,11 +424,6 @@ indexHtml =
color: #ffffff;
}
- .status {
- color: #b9d0aa;
- font-weight: bold;
- }
-
.track-cover {
width: 60px;
height: 60px;
@@ -474,35 +469,6 @@ indexHtml =
text-decoration: underline;
}
- .refresh-btn {
- background: none;
- border: none;
- color: #a0c0d0;
- cursor: pointer;
- font-size: 12px;
- text-decoration: underline;
- }
-
- .refresh-btn:hover {
- color: #ffffff;
- }
-
- .playing-indicator {
- display: inline-block;
- width: 8px;
- height: 8px;
- background: #b9d0aa;
- border-radius: 50%;
- margin-right: 8px;
- animation: pulse 2s infinite;
- }
-
- @keyframes pulse {
- 0% { opacity: 1; }
- 50% { opacity: 0.3; }
- 100% { opacity: 1; }
- }
-
.pagination {
display: flex;
justify-content: center;