feat: clean up blog ui
This commit is contained in:
parent
9a42dd8bc2
commit
25afe6cd15
|
@ -7,7 +7,6 @@ import "react-notion-x/src/styles.css";
|
||||||
import "prismjs/themes/prism-tomorrow.css";
|
import "prismjs/themes/prism-tomorrow.css";
|
||||||
|
|
||||||
import { BackgroundGradentProvider } from "@/components/gradient-provider";
|
import { BackgroundGradentProvider } from "@/components/gradient-provider";
|
||||||
import GrainProvider from "@/components/grain";
|
|
||||||
import { Footer } from "../Footer";
|
import { Footer } from "../Footer";
|
||||||
import { Connect } from "../Connect";
|
import { Connect } from "../Connect";
|
||||||
import { Home, MessageCircleIcon } from "lucide-react";
|
import { Home, MessageCircleIcon } from "lucide-react";
|
||||||
|
@ -76,14 +75,7 @@ export async function generateMetadata(
|
||||||
],
|
],
|
||||||
|
|
||||||
twitter: {
|
twitter: {
|
||||||
images: [
|
images: [og_image_url.toString()],
|
||||||
{
|
|
||||||
url: og_image_url.toString(),
|
|
||||||
type: "image/jpeg",
|
|
||||||
height: 630,
|
|
||||||
width: 1200,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
creator: author.toString(),
|
creator: author.toString(),
|
||||||
card: "summary_large_image",
|
card: "summary_large_image",
|
||||||
title: title,
|
title: title,
|
||||||
|
@ -182,7 +174,10 @@ export default async function Story({
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<NRenderer recordMap={recordMap} />
|
<div className="mt-2">
|
||||||
|
<NRenderer recordMap={recordMap} />
|
||||||
|
</div>
|
||||||
|
|
||||||
<section className="connect-section">
|
<section className="connect-section">
|
||||||
<Connect />
|
<Connect />
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -78,3 +78,7 @@
|
||||||
@apply block;
|
@apply block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notion-collection-page-properties {
|
||||||
|
@apply hidden;
|
||||||
|
}
|
||||||
|
|
|
@ -48,7 +48,6 @@ export function NRenderer({
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setRender(true);
|
setRender(true);
|
||||||
console.log(recordMap);
|
|
||||||
}, [recordMap]);
|
}, [recordMap]);
|
||||||
|
|
||||||
if (!render) {
|
if (!render) {
|
||||||
|
|
Loading…
Reference in New Issue