File tree Expand file tree Collapse file tree 7 files changed +24
-16
lines changed Expand file tree Collapse file tree 7 files changed +24
-16
lines changed Original file line number Diff line number Diff line change @@ -653,7 +653,13 @@ if (root) fetchProps(root);
653
653
port : options && options . port ? options . port : 8000 ,
654
654
handler : this . #handler,
655
655
signal : this . #ac. signal ,
656
- onListen : options && options . onListen ? options . onListen : undefined ,
656
+ onListen : options && options . onListen ? options . onListen : ( ) => {
657
+ console . log (
658
+ `%cListening on: %chttp://localhost:${ options ?. port ?? 8000 } ` ,
659
+ "color: blue" ,
660
+ "color: white" ,
661
+ ) ;
662
+ } ,
657
663
} ) ;
658
664
} ;
659
665
Original file line number Diff line number Diff line change 50
50
"date" : " 11/15/2023"
51
51
},
52
52
{
53
- "title" : " renderToReadableStream" ,
53
+ "title" : " Boosting Performance with renderToReadableStream" ,
54
54
"url" : " /blog/render_to_readable_stream" ,
55
55
"date" : " 10/26/2023"
56
56
},
57
57
{
58
- "title" : " React" ,
58
+ "title" : " Fixing React Version Consistency Issues " ,
59
59
"url" : " /blog/react" ,
60
60
"date" : " 10/22/2023"
61
61
},
62
62
{
63
- "title" : " Preact" ,
63
+ "title" : " Preact Integration and Secure Server Side Props " ,
64
64
"url" : " /blog/preact_and_encrypted_props" ,
65
65
"date" : " 08/16/2023"
66
66
},
67
67
{
68
- "title" : " Hello" ,
68
+ "title" : " Hello World " ,
69
69
"url" : " /blog/hello" ,
70
70
"date" : " 11/15/2023"
71
71
}
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export default function (
120
120
` }
121
121
</ style >
122
122
</ head >
123
- < body class = "bg-gray-200 dark:bg-gray-950 text-slate-900 dark:text-white" >
123
+ < body class = "bg-white dark:bg-gray-950 text-slate-900 dark:text-white" >
124
124
< Header
125
125
isLogin = { data . isLogin }
126
126
avatar_url = { data . avatar_url }
Original file line number Diff line number Diff line change @@ -9,13 +9,16 @@ export default function Toc({ data }: PageProps<{ posts: Post[] }>) {
9
9
{ data . posts . map ( ( v ) => {
10
10
return (
11
11
< li >
12
- < a href = { v . url } class = { `flex space-x-1` } >
12
+ < a
13
+ href = { v . url }
14
+ class = { `flex items-center space-x-[1px] gap-y-1 gap-x-0` }
15
+ >
13
16
{ v . date && (
14
17
< div
15
- class = { `min-w-24 text-sm text-gray-800 dark:text-gray-100 items-center ` }
18
+ class = { `min-w-24 text-xs ` }
16
19
>
17
20
< span
18
- class = { `border border-gray-400 p-[2px ] rounded-md ` }
21
+ class = { `dark: border-gray-400 dark: border-[1px] bg-slate-600 text- gray-100 p-[5px ] rounded-sm ` }
19
22
>
20
23
{ v . date }
21
24
</ span >
Original file line number Diff line number Diff line change 1
1
---
2
- title : " Fastro v0.80.0: Preact and Server Side Props Encryption "
3
- description : " Preact integration and robust encryption of Server Side Props "
2
+ title : " Fastro v0.80.0: Preact Integration and Secure Server Side Props"
3
+ description : " Switching from React to Preact for faster performance and implementing robust encryption for server-side props "
4
4
image : https://fastro.deno.dev/fastro.png
5
5
author : Admin
6
6
date : 08/16/2023
Original file line number Diff line number Diff line change 1
1
---
2
- title : " Fastro v0.82.0: Back to using React "
2
+ title : " Fastro v0.82.0: Fixing React Version Consistency Issues "
3
3
image : https://fastro.deno.dev/fastro.png
4
- description : " The error in the previous version has been resolved "
4
+ description : " Resolving version mismatch between server-side and client-side React components "
5
5
author : Admin
6
6
date : 10/22/2023
7
7
---
Original file line number Diff line number Diff line change 1
1
---
2
- title : " Fastro v0.83.0: renderToReadableStream"
2
+ title : " Fastro v0.83.0: Boosting Performance with renderToReadableStream"
3
3
image : https://fastro.deno.dev/fastro.png
4
- description : " Use renderToReadableStream to improve the performance of
5
- the page load "
4
+ description : " Enhancing page load times by replacing renderToString with streaming React server rendering"
6
5
author : Admin
7
6
date : 10/26/2023
8
7
---
You can’t perform that action at this time.
0 commit comments