1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 15:16:40 -04:00

remove css reset as a dependency

This commit is contained in:
2025-04-08 19:52:54 -04:00
parent 30b6e02b83
commit 84702aeab1
24 changed files with 297 additions and 254 deletions

View File

@ -14,7 +14,6 @@ export const size = {
};
// generate and cache these images at build-time for each slug, since doing this on-demand is mega slow...
export const dynamic = "force-static";
export const dynamicParams = false;
export const generateStaticParams = async () => {

View File

@ -20,7 +20,7 @@
display: inline-block;
width: 1.2em;
height: 1.2em;
vertical-align: -0.25em;
vertical-align: -0.225em;
margin-right: 0.6em;
}

View File

@ -35,7 +35,7 @@
margin-bottom: 0;
}
.postDate {
.date {
width: 5.25em;
flex-shrink: 0;
color: var(--colors-medium);

View File

@ -38,7 +38,7 @@ const Page = async () => {
<ul className={styles.list}>
{posts.map(({ slug, date, title, htmlTitle }) => (
<li className={styles.post} key={slug}>
<Time date={date} format="MMM d" className={styles.postDate} />
<Time date={date} format="MMM d" className={styles.date} />
<span>
<Link href={`/${POSTS_DIR}/${slug}`} dangerouslySetInnerHTML={{ __html: htmlTitle || title }} />
</span>