So much stuff. hljs in backend for example

This commit is contained in:
2022-10-18 16:03:49 +02:00
parent 71c0e839c6
commit 3d968a8f0e
10 changed files with 1076 additions and 47 deletions

View File

@ -1,9 +1,11 @@
import type { NextPage } from "next";
import { useEffect } from "react";
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" ? <DiaryPageSelector title={content.title} pageSelected={content.pageSelected} name={content.name} pages={content.entries} /> : null}