File tree 8 files changed +12
-7
lines changed
8 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
- NOTION_DATABASE_ID =
2
- NOTION_API_KEY =
1
+ NOTION_DATABASE_ID = ' 3adeaad843ae4b81a4bd25c004c50593'
2
+ NOTION_API_KEY = ' secret_JSduilTNwrYNaF9yntGYBnGpC2x960lMZK8l6zibNH3'
3
+ ABOUT_PAGE = ' 842ef29054f24e7a91eeb0755ad0c6a8'
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export default async function AboutPage({
9
9
} : {
10
10
searchParams : { [ key : string ] : string } ;
11
11
} ) {
12
- const pageid = siteData . aboutPageId
12
+ const pageid = process . env . ABOUT_PAGE ;
13
13
14
14
// Fetching blockMap
15
15
const response = await fetch ( `https://notion-api.splitbee.io/v1/page/${ pageid } ` , {
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export default async function Page({
25
25
const response = await fetch ( `https://notion-api.splitbee.io/v1/page/${ id } ` , {
26
26
next : { revalidate : 60 } ,
27
27
} ) ;
28
+ console . log ( response )
28
29
const blockMap = await response . json ( ) ;
29
30
const pageProperties = await notion . pages . retrieve ( { page_id : id } ) ;
30
31
const postDetails = convertToPost ( pageProperties ) ;
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import Footer from "../components/Footer";
7
7
const inter = Inter ( { subsets : [ "latin" ] } ) ;
8
8
9
9
export const metadata : Metadata = {
10
- title : "Create Next App " ,
11
- description : "Generated by create next app " ,
10
+ title : "Analytics Roundtable " ,
11
+ description : "Open Data Community " ,
12
12
} ;
13
13
14
14
export default function RootLayout ( {
@@ -18,6 +18,9 @@ export default function RootLayout({
18
18
} ) {
19
19
return (
20
20
< html lang = "en" >
21
+ < head >
22
+ < link rel = "shortcut icon" href = "/logo.svg" />
23
+ </ head >
21
24
< body className = { inter . className } >
22
25
< Header />
23
26
< main className = "" > { children } </ main >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const Header = () => {
11
11
< div className = "flex flex-row items-center" >
12
12
< Link className = "" href = "/" >
13
13
< Image
14
- src = "/Logo.avif "
14
+ src = "/Logo.svg "
15
15
width = { 28 }
16
16
height = { 28 }
17
17
alt = "AnalyticsRoundtable"
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export const siteData = {
17
17
language : 'en-us' ,
18
18
locale : 'en-US' ,
19
19
websiteUrl : 'analyticsroundtable.com' ,
20
- aboutPageId : '842ef29054f24e7a91eeb0755ad0c6a8&pm=s'
21
20
} ;
22
21
23
22
You can’t perform that action at this time.
0 commit comments