update page structure

This commit is contained in:
2025-02-06 19:12:41 -05:00
parent 27bf9ad185
commit e15bb944c9
22 changed files with 6236 additions and 88 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
---
import { format, add } from 'date-fns';
import CalendarIcon from '../styles/svg/calendar.svg';
import CalendarIcon from '../img/svg/calendar.svg';
interface Props {
title: String;
@@ -14,7 +14,7 @@ const { title, date, slug } = Astro.props;
<div class="blog-header">
<h2>
{slug ? <a href={`/posts/${slug}`}>{title}</a> : title}
{slug ? <a href={`/blog/${slug}`}>{title}</a> : title}
</h2>
<div>
<CalendarIcon class="calendar-icon" size={24} />