2026-07-16 16:41:56 -05:00
|
|
|
import {getCategorizedArticles} from "@/lib/articles";
|
|
|
|
|
import ArticleItemList from "@/components/ArticleListItem";
|
|
|
|
|
|
|
|
|
|
export default function BlogPage() {
|
|
|
|
|
const articles = getCategorizedArticles()
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<section className={"mx-auto w-11/12 md:w-1/2 mt-20 flex flex-col gap-16 mb-20"}>
|
|
|
|
|
<header className={"font-cormorantGaramond font-light text-6xl text-center"}>
|
2026-08-04 12:28:28 -05:00
|
|
|
<h1 className={'text-nord-14'}>Blog & thoughts</h1>
|
2026-07-16 16:41:56 -05:00
|
|
|
</header>
|
|
|
|
|
<section className={"md:grid md:grid-cols-2 flex flex-col gap-10"}>
|
|
|
|
|
{articles != null && Object.keys(articles).map((article) => (
|
|
|
|
|
<ArticleItemList category={article} articles={articles[article]} key={article}/>
|
|
|
|
|
))}
|
|
|
|
|
</section>
|
|
|
|
|
</section>
|
|
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
}
|