mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-08-25 15:25:40 -04:00
experimental prefetching on hover for common links
This commit is contained in:
+5
-1
@@ -40,7 +40,11 @@ const Page = async () => {
|
||||
<li className={styles.post} key={slug}>
|
||||
<Time date={date} format="MMM d" className={styles.date} />
|
||||
<span>
|
||||
<Link href={`/${POSTS_DIR}/${slug}`} dangerouslySetInnerHTML={{ __html: htmlTitle || title }} />
|
||||
<Link
|
||||
dynamicOnHover
|
||||
href={`/${POSTS_DIR}/${slug}`}
|
||||
dangerouslySetInnerHTML={{ __html: htmlTitle || title }}
|
||||
/>
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user