From 296ed676d5a10f4146958b6e000448ffccdaf58a Mon Sep 17 00:00:00 2001
From: yoonhyejin <0327jane@gmail.com>
Date: Thu, 25 Jul 2024 16:32:20 +0900
Subject: [PATCH] fix: remove blog-related components
---
.../_components/LearnItemCard/index.jsx | 1 -
.../_components/LearnItemCard/styles.module.scss | 0
.../{customer-stories => adoption-stories}/index.jsx | 8 +++-----
.../styles.module.scss | 0
4 files changed, 3 insertions(+), 6 deletions(-)
rename docs-website/src/pages/{customer-stories => adoption-stories}/_components/LearnItemCard/index.jsx (92%)
rename docs-website/src/pages/{customer-stories => adoption-stories}/_components/LearnItemCard/styles.module.scss (100%)
rename docs-website/src/pages/{customer-stories => adoption-stories}/index.jsx (89%)
rename docs-website/src/pages/{customer-stories => adoption-stories}/styles.module.scss (100%)
diff --git a/docs-website/src/pages/customer-stories/_components/LearnItemCard/index.jsx b/docs-website/src/pages/adoption-stories/_components/LearnItemCard/index.jsx
similarity index 92%
rename from docs-website/src/pages/customer-stories/_components/LearnItemCard/index.jsx
rename to docs-website/src/pages/adoption-stories/_components/LearnItemCard/index.jsx
index 099f630d0fa39..d3d736a860ad0 100644
--- a/docs-website/src/pages/customer-stories/_components/LearnItemCard/index.jsx
+++ b/docs-website/src/pages/adoption-stories/_components/LearnItemCard/index.jsx
@@ -1,7 +1,6 @@
import React from "react";
import clsx from "clsx";
import Link from "@docusaurus/Link";
-import { useBlogPost } from "@docusaurus/theme-common/internal";
import styles from "./styles.module.scss";
export default function LearnItemCard({ company }) {
diff --git a/docs-website/src/pages/customer-stories/_components/LearnItemCard/styles.module.scss b/docs-website/src/pages/adoption-stories/_components/LearnItemCard/styles.module.scss
similarity index 100%
rename from docs-website/src/pages/customer-stories/_components/LearnItemCard/styles.module.scss
rename to docs-website/src/pages/adoption-stories/_components/LearnItemCard/styles.module.scss
diff --git a/docs-website/src/pages/customer-stories/index.jsx b/docs-website/src/pages/adoption-stories/index.jsx
similarity index 89%
rename from docs-website/src/pages/customer-stories/index.jsx
rename to docs-website/src/pages/adoption-stories/index.jsx
index d8cd09cd0ba69..8b094fe95dcd1 100644
--- a/docs-website/src/pages/customer-stories/index.jsx
+++ b/docs-website/src/pages/adoption-stories/index.jsx
@@ -7,7 +7,7 @@ import styles from "./styles.module.scss";
import customerStoriesIndexes from "../../../customerStoriesIndexes.json";
-function BlogListPageContent() {
+function AdoptionStoriesListPageContent() {
const companies = (customerStoriesIndexes?.companies || []).filter((company) => company.link);
const [activeFilters, setActiveFilters] = useState([]);
const categories = ["B2B & B2C", "Financial & Fintech", "E-Commerce", "And More"];
@@ -59,10 +59,8 @@ function BlogListPageContent() {
);
}
-export default function BlogListPage() {
+export default function AdoptionStoriesListPage() {
return (
-
-
-
+
);
}
diff --git a/docs-website/src/pages/customer-stories/styles.module.scss b/docs-website/src/pages/adoption-stories/styles.module.scss
similarity index 100%
rename from docs-website/src/pages/customer-stories/styles.module.scss
rename to docs-website/src/pages/adoption-stories/styles.module.scss