Remove unused script tag from Layout component, add docker-compose and pnpm workspace configuration

This commit is contained in:
2025-08-30 13:42:01 +02:00
parent 54e4bc705c
commit 02549ae97a
4 changed files with 19 additions and 28 deletions

View File

@@ -14,35 +14,8 @@ export const meta: MetaFunction = () => {
];
};
interface BlogPost {
id: string;
title: string;
excerpt: string;
date: string;
access: string; // Where its located in the folder
tags: string[];
hide_date?: boolean;
}
export async function loader() {
const posts: BlogPost[] = [
{
id: "1",
title: "My First Post",
excerpt: "Yeah, as it says, this is my first post.",
date: "2024-01-23",
access: "myfirstpost",
tags: ["Hello, World!"],
hide_date: true,
},
// Add more posts here
];
return json({ posts });
}
export default function Index() {
const { posts } = useLoaderData<typeof loader>();
const [status, setStatus] = useState("");
const [border_status, setBorderStatus] = useState("border-gray-700");