import type { NextPage } from "next"; import { Git } from "@icons-pack/react-simple-icons"; import Icon from "@mdi/react"; import { mdiWeb } from "@mdi/js"; import type { ProjectRender, DiaryRender } from "../../lib/content/types"; import DiaryPageSelector from "./DiaryPageSelector"; import styles from "../../styles/Blog/Content.module.scss"; const ContentPage: NextPage<{ content: ProjectRender | DiaryRender }> = ({ content }) => { return (<> {content.type === "diary" ? : null}
{content.more ? : null} {content.repo ? : null}
{content.type === "diary" ? : null} ); }; export default ContentPage;