feat: implement data management panel and blog data utilities
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
import { ContentContent } from "@/components/content-content";
|
||||
import { YOUTUBE_VIDEO_LINKS } from "@/data/youtube-videos";
|
||||
import { getPdfNotes, getPodcastCollections } from "@/lib/content-page";
|
||||
import { getPdfNotes } from "@/lib/content-page";
|
||||
|
||||
export default async function ContentPage() {
|
||||
const [{ yazilim, masaBasi }, pdfFiles] = await Promise.all([
|
||||
getPodcastCollections(),
|
||||
getPdfNotes(),
|
||||
]);
|
||||
const pdfFiles = await getPdfNotes();
|
||||
|
||||
return (
|
||||
<ContentContent
|
||||
yazilimEpisodes={yazilim}
|
||||
masaBasiEpisodes={masaBasi}
|
||||
youtubeLinks={YOUTUBE_VIDEO_LINKS}
|
||||
pdfFiles={pdfFiles}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user