A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
chore: cleanup
Christian Fei10381796243f
diff --git a/.gitignore b/.gitignoreindex a8fc4fd..533defb 100644--- a/.gitignore+++ b/.gitignore@@ -138,4 +138,5 @@ disttmpdatadata.old+data.bkpcookies.txt\ No newline at end of filediff --git a/client/components/empty-state.js b/client/components/empty-state.jsindex ab89f09..5430bee 100644--- a/client/components/empty-state.js+++ b/client/components/empty-state.js@@ -3,14 +3,17 @@ class EmptyState extends HTMLElement {super()}connectedCallback () {+ this.classList.add('flex')+ this.classList.add('space-between')+ this.classList.add('direction-col')+ this.classList.add('user-select-none')this.render()}render () {- /* html for empty app state */this.innerHTML = /*html*/`<h1>Nothing to show...</h1><p>Add YouTube channels you want to track in <a href="/settings">/settings</a></p>- <div class="big-sad-emoji"></div>+ <div class="extra-big">π</div>`}}diff --git a/client/main.css b/client/main.cssindex f6d2508..cd40da8 100644--- a/client/main.css+++ b/client/main.css@@ -47,6 +47,9 @@ a {.space-between {justify-content: space-between;}+.direction-col {+ flex-direction: column;+}.hide {@@ -421,14 +424,12 @@ empty-state {display: flex;flex-direction: column;}-.big-sad-emoji {- display: block;-}-.big-sad-emoji::after {- display: block;++.extra-big {font-size: 10em;margin-top: 20px;margin-bottom: 20px;- animation: fadeIn 1s ease-in-out;- content: 'π';+}+.user-select-none {+ user-select: none;}\ No newline at end of file