diff --git a/app/guides/[[...slug]]/page.tsx b/app/guides/[[...slug]]/page.tsx index faad702..b1549c7 100644 --- a/app/guides/[[...slug]]/page.tsx +++ b/app/guides/[[...slug]]/page.tsx @@ -4,14 +4,23 @@ import { DocsPage, DocsBody, DocsTitle, DocsDescription } from "fumadocs-ui/page import { notFound } from "next/navigation" import { MDXContent } from "@content-collections/mdx/react" import { components } from "@/components/shared/mdx-components" +import { getGithubLastEdit } from "fumadocs-core/server" export default async function Page(props: { params: Promise<{ slug?: string[] }> }) { const params = await props.params const page = guides.getPage(params.slug) if (!page) notFound() + const time = await getGithubLastEdit({ + owner: "bryan308", + repo: "ca-resources", + sha: "main", + path: `content/resources/${page.file.flattenedPath}.mdx`, + }) + return ( }) { const params = await props.params const page = resources.getPage(params.slug) if (!page) notFound() + const time = await getGithubLastEdit({ + owner: "bryan308", + repo: "ca-resources", + sha: "main", + path: `content/resources/${page.file.flattenedPath}.mdx`, + }) + return ( + + diff --git a/public/resources/icons/pqoqubbw.png b/public/resources/icons/pqoqubbw.png new file mode 100644 index 0000000..7270682 Binary files /dev/null and b/public/resources/icons/pqoqubbw.png differ diff --git a/public/resources/inspirations/calltoinspiration.png b/public/resources/inspirations/calltoinspiration.png new file mode 100644 index 0000000..e97ccc1 Binary files /dev/null and b/public/resources/inspirations/calltoinspiration.png differ