Skip to content

Commit bd47adc

Browse files
committed
logo
1 parent e895a7b commit bd47adc

File tree

8 files changed

+12
-7
lines changed

8 files changed

+12
-7
lines changed

.env.example

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
NOTION_DATABASE_ID=
2-
NOTION_API_KEY=
1+
NOTION_DATABASE_ID='3adeaad843ae4b81a4bd25c004c50593'
2+
NOTION_API_KEY='secret_JSduilTNwrYNaF9yntGYBnGpC2x960lMZK8l6zibNH3'
3+
ABOUT_PAGE='842ef29054f24e7a91eeb0755ad0c6a8'

app/about/page.tsx

+1-1
Original file line numberDiff line numberDiff 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}`, {

app/articles/[slug]/page.tsx

+1
Original file line numberDiff line numberDiff 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);

app/layout.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import Footer from "../components/Footer";
77
const inter = Inter({ subsets: ["latin"] });
88

99
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",
1212
};
1313

1414
export 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>

components/Header.tsx

+1-1
Original file line numberDiff line numberDiff 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"

public/Logo.svg

+1
Loading

public/logo.avif

-37.6 KB
Binary file not shown.

site.ts

-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)