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

@@ -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">