This commit is contained in:
2022-08-21 15:44:27 +01:00
parent 5cebc9b75a
commit c2a2032564

View File

@ -9,7 +9,7 @@ const posts = await Astro.glob('./posts/*.md');
</head> </head>
<body class="w-full flex flex-col items-center bg-polar-night-400"> <body class="w-full flex flex-col items-center bg-polar-night-400">
<Navbar /> <Navbar />
<div class="w-full max-w-2xl flex flex-col gap-4 p-4"> <div class="w-full max-w-4xl flex flex-col gap-4 p-4">
{posts.map((post) => ( {posts.map((post) => (
<a href={post.url} class="flex flex-col border-frost-400 border-2 text-snow-storm-100 p-4 rounded-lg"> <a href={post.url} class="flex flex-col border-frost-400 border-2 text-snow-storm-100 p-4 rounded-lg">
<h1 class="text-2xl">{post.frontmatter.title}</h1> <h1 class="text-2xl">{post.frontmatter.title}</h1>