mobile changes

This commit is contained in:
Michael Freno
2025-12-21 09:34:39 -05:00
parent cf2a217afd
commit 14ea299ca3
5 changed files with 32 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ export default function BlogIndex() {
<div class="mx-auto pt-8 pb-24">
<Suspense fallback={<TerminalSplash />}>
<div class="flex flex-col justify-center gap-4 md:flex-row md:justify-around">
<div class="flex flex-row justify-around gap-4">
<PostSortingSelect />
<Show when={data() && Object.keys(data()!.tagMap).length > 0}>
@@ -33,7 +33,7 @@ export default function BlogIndex() {
<div class="mt-2 flex justify-center md:mt-0 md:justify-end">
<A
href="/blog/create"
class="border-text rounded border px-4 py-2 transition-all duration-300 ease-out hover:brightness-125 active:scale-90 md:mr-4"
class="border-text rounded border px-4 py-2 text-center transition-all duration-300 ease-out hover:brightness-125 active:scale-90 md:mr-4"
>
Create Post
</A>

View File

@@ -5,7 +5,6 @@ export default function Resume() {
let iframeRef: HTMLIFrameElement | undefined;
onMount(() => {
// Prevent iframe errors from bubbling up
const handleError = (e: ErrorEvent) => {
if (e.filename?.includes("resume.pdf") || e.message === "Script error.") {
e.preventDefault();
@@ -18,7 +17,6 @@ export default function Resume() {
onCleanup(() => {
window.removeEventListener("error", handleError, true);
// Clear iframe source before unmount to prevent script errors
if (iframeRef) {
iframeRef.src = "about:blank";
}
@@ -30,7 +28,7 @@ export default function Resume() {
<Title>Resume | Michael Freno</Title>
<Meta
name="description"
content="View Michael Freno's resume - Software Engineer with expertise in full-stack development, game development, and open source."
content="View Michael Freno's resume - Software Engineer."
/>
<main class="flex h-screen w-full flex-col">