<body ${helmet.bodyAttributes.toString()}>
<noscript>
- <nav class="navbar fixed-bottom navbar-light bg-light">
- Javascript is disabled. Actions will not work.
- </nav>
+ <div class="alert alert-danger rounded-0" role="alert">
+ Javascript is disabled. Actions will not work.
+ </div>
</noscript>
<div id='root'>${root}</div>
// import Cookies from 'js-cookie';
import IsomorphicCookie from 'isomorphic-cookie';
import { User, LoginResponse } from 'lemmy-js-client';
-import { setTheme } from '../utils';
import jwt_decode from 'jwt-decode';
import { Subject, BehaviorSubject } from 'rxjs';
return `hsla(${num}, 35%, 50%, 1)`;
}
-function randomHsl() {
- return `hsla(${Math.random() * 360}, 100%, 50%, 1)`;
-}
+// function randomHsl() {
+// return `hsla(${Math.random() * 360}, 100%, 50%, 1)`;
+// }
export function previewLines(
text: string,