File tree Expand file tree Collapse file tree 9 files changed +512
-685
lines changed
blog/[year]/[month]/[day]/[slug] Expand file tree Collapse file tree 9 files changed +512
-685
lines changed Original file line number Diff line number Diff line change 12
12
"@mantine/charts" : " ^7.13.3" ,
13
13
"@mantine/core" : " 7.13.3" ,
14
14
"@mantine/hooks" : " 7.13.3" ,
15
- "@next/bundle-analyzer" : " ^14.2.15 " ,
15
+ "@next/bundle-analyzer" : " 15.0.0-rc.1 " ,
16
16
"@tabler/icons-react" : " ^3.19.0" ,
17
- "next" : " 14.2.15 " ,
17
+ "next" : " 15.0.0-rc.1 " ,
18
18
"node-html-parser" : " ^6.1.13" ,
19
19
"react" : " ^18" ,
20
20
"react-device-detect" : " ^2.2.3" ,
31
31
"@typescript-eslint/parser" : " ^8.10.0" ,
32
32
"d3" : " ^7.9.0" ,
33
33
"eslint" : " ^8.57.0" ,
34
- "eslint-config-next" : " 14.2.15 " ,
34
+ "eslint-config-next" : " 15.0.0-rc.1 " ,
35
35
"eslint-config-prettier" : " ^9.1.0" ,
36
36
"feed" : " ^4.2.2" ,
37
37
"gray-matter" : " ^4.0.3" ,
Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ import { Container } from "@mantine/core";
3
3
import { BlogPost } from "@/app/blog/post" ;
4
4
import { Metadata } from "next" ;
5
5
6
- export async function generateMetadata ( {
7
- params,
8
- } : {
9
- params : PostPath ;
10
- } ) : Promise < Metadata > {
6
+ export async function generateMetadata (
7
+ props : {
8
+ params : Promise < PostPath > ;
9
+ }
10
+ ) : Promise < Metadata > {
11
+ const params = await props . params ;
11
12
const post = getPostData (
12
13
`${ params . year } -${ params . month } -${ params . day } -${ params . slug } .markdown` ,
13
14
) ;
@@ -28,7 +29,8 @@ export async function generateMetadata({
28
29
} ;
29
30
}
30
31
31
- export default function Page ( { params } : { params : PostPath } ) {
32
+ export default async function Page ( props : { params : Promise < PostPath > } ) {
33
+ const params = await props . params ;
32
34
const post = getPostData (
33
35
`${ params . year } -${ params . month } -${ params . day } -${ params . slug } .markdown` ,
34
36
) ;
Original file line number Diff line number Diff line change 1
- "use client" ;
1
+ "use client"
2
2
3
3
import { useDisclosure } from "@mantine/hooks" ;
4
4
import {
Original file line number Diff line number Diff line change @@ -222,3 +222,5 @@ export async function GET() {
222
222
} ,
223
223
} ) ;
224
224
}
225
+
226
+ export const revalidate = false ;
Original file line number Diff line number Diff line change 1
- "use client" ;
1
+ "use client"
2
+
2
3
import { BarChart } from "@mantine/charts" ;
3
4
import { Paper , Text } from "@mantine/core" ;
4
5
import classes from "./weekly_contributions.module.css" ;
Original file line number Diff line number Diff line change 1
- "use client" ; // tables in mantine don't seem to work on server...
1
+ "use client"
2
+ // tables in mantine don't seem to work on server...
2
3
3
4
import {
4
5
Button ,
Original file line number Diff line number Diff line change @@ -34,3 +34,5 @@ export async function GET() {
34
34
} ,
35
35
} ) ;
36
36
}
37
+
38
+ export const revalidate = false ;
Original file line number Diff line number Diff line change @@ -14,13 +14,9 @@ import { IconCheck } from "@tabler/icons-react";
14
14
import React from "react" ;
15
15
import { getLatestReleases } from "@/app/downloads/github" ;
16
16
17
- const InteractiveLogo = dynamic ( ( ) => import ( "../components/logo" ) , {
18
- ssr : false ,
19
- } ) ;
17
+ const InteractiveLogo = dynamic ( ( ) => import ( "../components/logo" ) ) ;
20
18
21
- const Installers = dynamic ( ( ) => import ( "./installers" ) , {
22
- ssr : false ,
23
- } ) ;
19
+ const Installers = dynamic ( ( ) => import ( "./installers" ) ) ;
24
20
25
21
export default async function Home ( ) {
26
22
const releases = await getLatestReleases ( ) ;
You can’t perform that action at this time.
0 commit comments