feat: add blog

This commit is contained in:
Andrea
2023-02-28 14:07:59 +01:00
parent 3a68df6fd0
commit 92a08aca83
26 changed files with 1469 additions and 5205 deletions

18
app/routes/blog/Post.tsx Normal file
View File

@@ -0,0 +1,18 @@
import { Link } from "@remix-run/react";
type PostProps = {
title: string;
description?: string;
href: string;
};
export function Post({ title, description, href }: PostProps) {
return (
<div className="mt-10">
<Link to={href}>
<div className="text-[#ffff00] font-bold text-2xl">{title}</div>
<div className="italic text-xl">{description}</div>
</Link>
</div>
);
}