File tree Expand file tree Collapse file tree 8 files changed +12
-7
lines changed
Expand file tree Collapse file tree 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({
99} : {
1010 searchParams : { [ key : string ] : string } ;
1111} ) {
12- const pageid = siteData . aboutPageId
12+ const pageid = process . env . ABOUT_PAGE ;
1313
1414 // Fetching blockMap
1515 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({
2525 const response = await fetch ( `https://notion-api.splitbee.io/v1/page/${ id } ` , {
2626 next : { revalidate : 60 } ,
2727 } ) ;
28+ console . log ( response )
2829 const blockMap = await response . json ( ) ;
2930 const pageProperties = await notion . pages . retrieve ( { page_id : id } ) ;
3031 const postDetails = convertToPost ( pageProperties ) ;
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import Footer from "../components/Footer";
77const inter = Inter ( { subsets : [ "latin" ] } ) ;
88
99export const metadata : Metadata = {
10- title : "Create Next App " ,
11- description : "Generated by create next app " ,
10+ title : "Analytics Roundtable " ,
11+ description : "Open Data Community " ,
1212} ;
1313
1414export default function RootLayout ( {
@@ -18,6 +18,9 @@ export default function RootLayout({
1818} ) {
1919 return (
2020 < html lang = "en" >
21+ < head >
22+ < link rel = "shortcut icon" href = "/logo.svg" />
23+ </ head >
2124 < body className = { inter . className } >
2225 < Header />
2326 < main className = "" > { children } </ main >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const Header = () => {
1111 < div className = "flex flex-row items-center" >
1212 < Link className = "" href = "/" >
1313 < Image
14- src = "/Logo.avif "
14+ src = "/Logo.svg "
1515 width = { 28 }
1616 height = { 28 }
1717 alt = "AnalyticsRoundtable"
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export const siteData = {
1717 language : 'en-us' ,
1818 locale : 'en-US' ,
1919 websiteUrl : 'analyticsroundtable.com' ,
20- aboutPageId : '842ef29054f24e7a91eeb0755ad0c6a8&pm=s'
2120} ;
2221
2322
You can’t perform that action at this time.
0 commit comments