diff --git a/Frontend/src/app/(pages)/docs/[[...slug]]/page.tsx b/Frontend/src/app/(pages)/docs/[[...slug]]/page.tsx index 5ffb560..a635ff0 100644 --- a/Frontend/src/app/(pages)/docs/[[...slug]]/page.tsx +++ b/Frontend/src/app/(pages)/docs/[[...slug]]/page.tsx @@ -38,53 +38,64 @@ const ContentPage = ({ params }: PageProps): ReactElement => { const splitSlug: string[] = content.slug?.split("/") || []; return ( -
- {/* Breadcrumb */} - - - {["docs", ...splitSlug].map( - (part: string, index: number): ReactElement => ( -
- - 0 ? "/docs" : "") + - `/${part}` - } +
+ {/* Header */} +
+
+ {/* Breadcrumb */} + + + {["docs", ...splitSlug].map( + (part: string, index: number): ReactElement => ( +
- {capitalize(part)} - - - {index < splitSlug.length && ( - - )} -
- ) - )} -
-
- {/* Publish Date */} -

- Published on{" "} - {moment(content.published, "MM-DD-YYYY").format("MMMM Do YYYY")} -

+ + 0 ? "/docs" : "") + + `/${part}` + } + > + {capitalize(part)} + + + {index < splitSlug.length && ( + + )} +
+ ) + )} + + + + {/* Publish Date */} +

+ Published on{" "} + {moment(content.published, "MM-DD-YYYY").format( + "MMMM Do YYYY" + )} +

+
+ + {/* View on Git */} + + GitHub Logo + +
+ {/* Content */} - - {/* View on Git */} - - GitHub Logo -
); };