diff --git a/src/navbar/index.tsx b/src/navbar/index.tsx
index f313e56..c20dcc1 100644
--- a/src/navbar/index.tsx
+++ b/src/navbar/index.tsx
@@ -1,6 +1,5 @@
import React, { useRef, useEffect, useState } from "react";
import { shallowEqual, useDispatch, useSelector } from "react-redux";
-import Clock from "react-live-clock";
import {
FaCircle,
@@ -28,6 +27,7 @@ import { getShowplan, setItemPlayed } from "../showplanner/state";
import * as OptionsMenuState from "../optionsMenu/state";
import { setChannelPFL } from "../mixer/state";
import { secToHHMM, useInterval } from "../lib/utils";
+import { Timelord } from "./timelord";
function nicifyConnectionState(state: ConnectionStateEnum): string {
switch (state) {
@@ -164,24 +164,7 @@ export function NavBarMain() {
return (
<>
- - {
- e.preventDefault();
- window.open(
- "http://ury.org.uk/timelord/",
- "URY - Timelord",
- "resizable,status"
- );
- }}
- >
-
-
+
diff --git a/src/navbar/navbar.scss b/src/navbar/navbar.scss
index 27c087a..53eb353 100644
--- a/src/navbar/navbar.scss
+++ b/src/navbar/navbar.scss
@@ -285,23 +285,6 @@
}
}
-#timelord {
- background: black;
- border: red 1px solid;
- color: white;
- min-width: 85px;
-}
-
-#timelord a {
- text-decoration: none;
- color: white;
-}
-
-#timelord .time {
- font-weight: bold;
- font-size: 1.1em;
-}
-
.nav-link.connect {
min-width: 90px;
}
diff --git a/src/navbar/timelord.scss b/src/navbar/timelord.scss
new file mode 100644
index 0000000..0f55f7b
--- /dev/null
+++ b/src/navbar/timelord.scss
@@ -0,0 +1,16 @@
+#timelord {
+ background: black;
+ border: red 1px solid;
+ color: white;
+ min-width: 85px;
+}
+
+#timelord a {
+ text-decoration: none;
+ color: white;
+}
+
+#timelord time {
+ font-weight: bold;
+ font-size: 1.2em;
+}
diff --git a/src/navbar/timelord.tsx b/src/navbar/timelord.tsx
new file mode 100644
index 0000000..b3ab05c
--- /dev/null
+++ b/src/navbar/timelord.tsx
@@ -0,0 +1,26 @@
+import React from "react";
+import LiveClock from "react-live-clock";
+import "./timelord.scss";
+
+export function Timelord() {
+ return (
+ - {
+ e.preventDefault();
+ window.open(
+ "http://ury.org.uk/timelord/",
+ "URY - Timelord",
+ "resizable,status"
+ );
+ }}
+ >
+
+
+ );
+}
diff --git a/src/showplanner/index.tsx b/src/showplanner/index.tsx
index 959c5da..271b573 100644
--- a/src/showplanner/index.tsx
+++ b/src/showplanner/index.tsx
@@ -506,7 +506,7 @@ const Showplanner: React.FC<{ timeslotId: number }> = function({ timeslotId }) {
isOpen={showWelcomeModal}
close={() => setShowWelcomeModal(false)}
/>
- setShowPisModal(false)} isOpen={showPisModal} />
+
);