diff --git a/apps/docs/docusaurus.config.ts b/apps/docs/docusaurus.config.ts
index 0d6d36a2c..89341ec21 100644
--- a/apps/docs/docusaurus.config.ts
+++ b/apps/docs/docusaurus.config.ts
@@ -51,6 +51,7 @@ const config: Config = {
"https://github.com/opensource-observer/oso/tree/main/apps/docs/",
blogSidebarTitle: "All posts",
blogSidebarCount: "ALL",
+ blogTagsPostsComponent: "@site/src/components/BlogTagsPostsPage.tsx",
},
theme: {
customCss: "./src/css/custom.css",
diff --git a/apps/docs/package.json b/apps/docs/package.json
index e2031c81c..20de58de5 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -29,6 +29,7 @@
"@mdx-js/react": "^3.0.1",
"@plasmicapp/react-web": "^0.2.350",
"clsx": "^2.1.1",
+ "lodash": "^4.17.21",
"prism-react-renderer": "^2.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
diff --git a/apps/docs/src/components/BlogTagsPostsPage.tsx b/apps/docs/src/components/BlogTagsPostsPage.tsx
new file mode 100644
index 000000000..6ff80599f
--- /dev/null
+++ b/apps/docs/src/components/BlogTagsPostsPage.tsx
@@ -0,0 +1,67 @@
+import React from "react";
+import clsx from "clsx";
+import _ from "lodash";
+import Translate from "@docusaurus/Translate";
+import {
+ PageMetadata,
+ HtmlClassNameProvider,
+ ThemeClassNames,
+} from "@docusaurus/theme-common";
+import Link from "@docusaurus/Link";
+import BlogLayout from "@theme/BlogLayout";
+import BlogListPaginator from "@theme/BlogListPaginator";
+import SearchMetadata from "@theme/SearchMetadata";
+import type { Props } from "@theme/BlogTagsPostsPage";
+import BlogPostItems from "@theme/BlogPostItems";
+import Heading from "@theme/Heading";
+
+function BlogTagsPostsPageMetadata({ tag }: Props): JSX.Element {
+ const title = _.capitalize(tag.label);
+ console.log(tag);
+ return (
+ <>
+
+
+ >
+ );
+}
+
+function BlogTagsPostsPageContent({
+ tag,
+ items,
+ sidebar,
+ listMetadata,
+}: Props): JSX.Element {
+ const title = _.capitalize(tag.label);
+ return (
+
+
+ {title}
+ {tag.description && {tag.description}
}
+
+
+ View All Tags
+
+
+
+
+
+
+ );
+}
+export default function BlogTagsPostsPage(props: Props): JSX.Element {
+ return (
+
+
+
+
+ );
+}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3a268066e..66213e636 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -51,6 +51,9 @@ importers:
clsx:
specifier: ^2.1.1
version: 2.1.1
+ lodash:
+ specifier: ^4.17.21
+ version: 4.17.21
prism-react-renderer:
specifier: ^2.3.1
version: 2.3.1(react@18.3.1)