some adjustments

This commit is contained in:
Michael Freno
2025-12-29 00:23:00 -05:00
parent a7455bf9b1
commit c47326f417
3 changed files with 22 additions and 10 deletions

View File

@@ -40,6 +40,14 @@ function AppLayout(props: { children: any }) {
setRightBarVisible(true); setRightBarVisible(true);
} }
}); });
// Hide leftbar on mobile after 500ms with translation animation
const currentIsMobile = isMobile(windowWidth());
if (currentIsMobile) {
setTimeout(() => {
setLeftBarVisible(false);
}, 1000);
}
}); });
// Auto-hide on scroll (mobile only) // Auto-hide on scroll (mobile only)

View File

@@ -350,7 +350,7 @@ export default function PostPage() {
"pointer-events": "none" "pointer-events": "none"
}} }}
/> />
<div class="fixed top-1/3 z-50 m-auto w-full px-4 text-center tracking-widest text-white backdrop-blur-md select-text text-shadow-lg backdrop:brightness-50 md:w-[calc(100vw-500px)]"> <div class="fixed top-24 z-50 m-auto w-full px-4 text-center tracking-widest text-white backdrop-blur-md select-text text-shadow-lg backdrop:brightness-50 sm:top-36 md:top-[20vh] md:w-[calc(100vw-500px)]">
<div class="py-8 text-3xl font-semibold tracking-widest"> <div class="py-8 text-3xl font-semibold tracking-widest">
{p().title.replaceAll("_", " ")} {p().title.replaceAll("_", " ")}
<Show when={p().subtitle}> <Show when={p().subtitle}>

View File

@@ -13,21 +13,21 @@ export default function Home() {
<main class="flex h-full flex-col gap-8 px-4 py-16 text-xl"> <main class="flex h-full flex-col gap-8 px-4 py-16 text-xl">
<div class="flex-1"> <div class="flex-1">
<Typewriter speed={30} keepAlive={2000}> <Typewriter speed={30} keepAlive={2000} delay={500}>
<div class="text-4xl">Hey!</div> <div class="text-4xl">Hey!</div>
</Typewriter> </Typewriter>
<Typewriter speed={80} keepAlive={2000}> <Typewriter speed={80} keepAlive={2000} delay={500}>
<div> <div>
My name is <span class="text-green">Mike Freno</span>, I'm a{" "} My name is <span class="text-green">Mike Freno</span>, I'm a{" "}
<span class="text-blue">Software Engineer</span> based in{" "} <span class="text-blue">Software Engineer</span> based in{" "}
<span class="text-yellow">Brooklyn, NY.</span> <span class="text-yellow">Brooklyn, NY.</span>
</div> </div>
</Typewriter> </Typewriter>
<Typewriter speed={100} keepAlive={2000}> <Typewriter speed={100} keepAlive={2000} delay={500}>
I'm a passionate developer tooling, game, and open source software I'm a passionate developer tooling, game, and open source software
developer. developer.
</Typewriter> </Typewriter>
<Typewriter speed={100} keepAlive={2000}> <Typewriter speed={100} keepAlive={2000} delay={500}>
Recently been working in the world of{" "} Recently been working in the world of{" "}
<a <a
href="https://www.love2d.org" href="https://www.love2d.org"
@@ -37,7 +37,7 @@ export default function Home() {
</a>{" "} </a>{" "}
(an open source game engine for Lua).{" "} (an open source game engine for Lua).{" "}
</Typewriter>{" "} </Typewriter>{" "}
<Typewriter speed={100} keepAlive={2000}> <Typewriter speed={100} keepAlive={2000} delay={500}>
You can see some of my work{" "} You can see some of my work{" "}
<a <a
href="https://github.com/mikefreno" href="https://github.com/mikefreno"
@@ -46,7 +46,7 @@ export default function Home() {
here (github). here (github).
</a> </a>
</Typewriter> </Typewriter>
<Typewriter speed={100} keepAlive={2000}> <Typewriter speed={100} keepAlive={2000} delay={500}>
If you want to get in touch, check to side bar for various links. If you want to get in touch, check to side bar for various links.
</Typewriter> </Typewriter>
<div class="pt-8 text-center"> <div class="pt-8 text-center">
@@ -154,7 +154,11 @@ export default function Home() {
</div> </div>
</div> </div>
<div class="flex justify-between"> <div class="flex justify-between">
<Typewriter speed={120} class="mx-auto max-w-3/4 pt-8 md:max-w-1/2"> <Typewriter
speed={120}
class="mx-auto max-w-3/4 pt-8 md:max-w-1/2"
delay={500}
>
And if you love the color schemes of this site And if you love the color schemes of this site
<div class="mx-auto w-fit"> <div class="mx-auto w-fit">
<DarkModeToggle /> <DarkModeToggle />
@@ -171,14 +175,14 @@ export default function Home() {
and a home server setup too. Which I will write about soon. and a home server setup too. Which I will write about soon.
</Typewriter> </Typewriter>
<div class="flex flex-col items-end justify-center gap-4 pr-4"> <div class="flex flex-col items-end justify-center gap-4 pr-4">
<Typewriter speed={30} keepAlive={false}> <Typewriter speed={30} keepAlive={false} delay={500}>
<div> <div>
My Collection of My Collection of
<br /> <br />
By-the-ways: By-the-ways:
</div> </div>
</Typewriter> </Typewriter>
<Typewriter speed={30} keepAlive={false}> <Typewriter speed={30} keepAlive={false} delay={500}>
<ul class="list-disc"> <ul class="list-disc">
<li>I use Neovim</li> <li>I use Neovim</li>
<li>I use Arch Linux</li> <li>I use Arch Linux</li>