1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

Add Open Sans option!

This commit is contained in:
Cooper Ransom 2024-03-27 17:36:16 -04:00
parent 9d658e8f8d
commit 5fb0a32456
3 changed files with 4 additions and 4 deletions

View file

@ -134,8 +134,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Open+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="/config.js"></script> <script src="/config.js"></script>

View file

@ -91,7 +91,8 @@ export function NextEpisodeButton(props: {
if (!meta?.episode || !nextEp) return null; if (!meta?.episode || !nextEp) return null;
if (metaType !== "show") return null; if (metaType !== "show") return null;
console.log(time, duration); // Use rounded numbers for auto-next!
console.log(Math.round(time), Math.round(duration));
return ( return (
<Transition <Transition

View file

@ -16,7 +16,7 @@ const config: Config = {
/* fonts */ /* fonts */
fontFamily: { fontFamily: {
"main": "'DM Sans'", "main": "'DM Sans'", // "main": "'Open Sans'",
}, },
/* animations */ /* animations */