From d2ae053cdac7c504b48ea41f2e8bf02c8de48f28 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Fri, 5 Dec 2025 09:13:14 +0100 Subject: [PATCH] Updates --- components/lib/elements/Search.tsx | 10 +++++----- components/lib/elements/ai/AIPromptBlock.tsx | 2 +- components/lib/form/FileUpload.tsx | 2 +- components/pages/Home/(data)/work.ts | 15 +++++++++++++++ 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/components/lib/elements/Search.tsx b/components/lib/elements/Search.tsx index 180ada6..36c2e7d 100644 --- a/components/lib/elements/Search.tsx +++ b/components/lib/elements/Search.tsx @@ -56,11 +56,11 @@ export default function Search({ const inputRef = componentRef || React.useRef(null); - React.useEffect(() => { - if (props.autoFocus) { - inputRef.current?.focus(); - } - }, []); + // React.useEffect(() => { + // if (props.autoFocus) { + // inputRef.current?.focus(); + // } + // }, []); return ( (null); - const tempFileURLRef = React.useRef(null); + const tempFileURLRef = React.useRef(""); React.useEffect(() => { if (existingFileUrl) { diff --git a/components/pages/Home/(data)/work.ts b/components/pages/Home/(data)/work.ts index 867f17c..7658981 100644 --- a/components/pages/Home/(data)/work.ts +++ b/components/pages/Home/(data)/work.ts @@ -45,6 +45,21 @@ export const work = { "NGINX Reverse Proxy", ], }, + { + title: "Mediajury", + description: "The ultimate debate platform", + href: "https://mediajury.org", + technologies: [ + "SQL", + "MariaDB", + "Next JS", + "Docker", + "NGINX", + "Typescripy", + "Bun JS", + "Tailwind CSS", + ], + }, { title: "Ifuekosa LLC", image: "/images/work/devops/server-management.png",