This commit is contained in:
Michael Freno
2025-12-19 17:46:57 -05:00
parent a1e287774a
commit 1b31c83287
3 changed files with 17 additions and 4 deletions

View File

@@ -189,7 +189,20 @@
:root { :root {
font-family: "Source Code Pro", monospace; font-family: "Source Code Pro", monospace;
transition-property: all;
transition-timing-function: var(
--tw-ease,
var(--default-transition-timing-function) /* cubic-bezier(0.4, 0, 0.2, 1) */
);
transition-duration: var(
--tw-duration,
var(--default-transition-duration) /* 150ms */
);
transition-duration: 500ms;
syntax: "*";
inherits: false;
} }
::selection { ::selection {
background-color: var(--color-text); background-color: var(--color-text);
color: var(--color-crust); color: var(--color-crust);

View File

@@ -166,9 +166,10 @@ function AppLayout(props: { children: any }) {
</Show> </Show>
<div <div
class="flex max-w-screen flex-row transition-all duration-500 ease-in-out" class="flex max-w-screen flex-row"
style={{ style={{
opacity: barsInitialized() ? "1" : "0" opacity: barsInitialized() ? "1" : "0",
transition: "opacity 0.3s ease-in-out"
}} }}
> >
<LeftBar /> <LeftBar />

View File

@@ -5,8 +5,7 @@ const getBaseUrl = () => {
// Browser: use relative URL // Browser: use relative URL
if (typeof window !== "undefined") return ""; if (typeof window !== "undefined") return "";
//const domain = import.meta.env.VITE_DOMAIN; const domain = import.meta.env.VITE_DOMAIN;
const domain = "https://freno.dev"; // try to hardcode it for now
if (domain) return domain; if (domain) return domain;
return `http://localhost:${process.env.PORT ?? 3000}`; return `http://localhost:${process.env.PORT ?? 3000}`;