Skip to content

Commit d0e8aa6

Browse files
Merge pull request #38 from malimalik/next-js-app-router-cache
Add Next.js caching articles
2 parents 5587316 + 395270b commit d0e8aa6

File tree

8 files changed

+460
-2
lines changed

8 files changed

+460
-2
lines changed
Loading
Loading
Loading
Loading
Loading

src/pages/2023-11/react-server-components/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: "@layouts/BlogPost.astro"
33
title: "React Server Components - A New Paradigm"
44
date: "2023-11-27"
55
description: "Server components are the new way of writing React applications and it changes everything about React making it easier than ever to create complex applications. This article goes in depth into everything you need to know about server components."
6-
tags: ["React"]
6+
tags: ["React", "Next.js"]
77
---
88

99
import Tangent from "@blogComponents/lib/Tangent.astro"

src/pages/2024-01/next-js-app-router-cache/index.mdx

Lines changed: 447 additions & 0 deletions
Large diffs are not rendered by default.

src/styles/shiki-highlight.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
.shiki .highlighted-line {
2+
position: relative;
23
background-color: var(--theme-code-highlight-bg);
3-
border-left: 0.25em solid var(--color-blue);
44
width: 100%;
55
}
66

7+
.shiki .highlighted-line::before {
8+
content: "";
9+
display: block;
10+
position: absolute;
11+
left: 0;
12+
top: 0;
13+
bottom: 0;
14+
width: 0.25em;
15+
background: var(--color-blue);
16+
}
17+
718
.shiki .line {
819
display: inline-block;
920
padding-right: 1em;

0 commit comments

Comments
 (0)