diff --git a/src/components/community-stats/CommunityUsersSection.js b/src/components/community-stats/CommunityUsersSection.js
index 534bbd58..615046d3 100644
--- a/src/components/community-stats/CommunityUsersSection.js
+++ b/src/components/community-stats/CommunityUsersSection.js
@@ -1,36 +1,33 @@
import React from "react";
-// import KaggleLogo from "./KaggleLogo";
-import MapfreeLogo from "./MapfreeLogo";
-// import JpmcLogo from "./JpmcLogo";
-// import SparNordLogo from "./SparNordLogo";
+import { graphql, useStaticQuery } from "gatsby";
export default function CommunityUsersSection() {
const origin = typeof window !== "undefined" ? window.location.origin : "";
- const cards = [
- // {
- // logo: ,
- // title:
- // "JP Morgan Chase lorem ipsum dolorem lorem ipsum dolor lorem ipsum dolor dolor dolor dolor",
- // link: "/",
- // },
- {
- logo: ,
- title:
- "MAPFRE: better detection of homeowner insurance fraud with synthetic data",
- link: `${origin}/community-case-studies/mapfre-better-detection-of-homeowner-insurance-fraud-with-synthetic-data`,
- },
- // {
- // logo: ,
- // title: "Kaggle releases data for 11 competitions using SDV",
- // link: "/",
- // },
- // {
- // logo: ,
- // title:
- // "Spar Nord Bank uses SDV’s multitable synthesizer to generate synthetic anti money laundering data",
- // link: "/",
- // },
- ];
+
+ const data = useStaticQuery(graphql`
+ query {
+ allGhostPost(
+ filter: {
+ tags: { elemMatch: { slug: { eq: "hash-community-case-study" } } }
+ }
+ ) {
+ nodes {
+ slug
+ title
+ excerpt
+ feature_image
+ }
+ }
+ }
+ `);
+
+ const cards = data.allGhostPost.nodes.map((art) => ({
+ slug: art.slug,
+ logo: art.feature_image,
+ title: art.title,
+ description: art.excerpt,
+ link: `${origin}/community-case-studies/${art.slug}`,
+ }));
return (
@@ -50,7 +47,11 @@ export default function CommunityUsersSection() {
}`}
>
- {c.logo}
+
{
- return (
-

- );
-};
-
-export default JpmcLogo;
diff --git a/src/components/community-stats/KaggleLogo.js b/src/components/community-stats/KaggleLogo.js
deleted file mode 100644
index aa116ec4..00000000
--- a/src/components/community-stats/KaggleLogo.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from "react";
-import kaggleLogo from "../../../static/kaggle-logo.png";
-
-const KaggleLogo = () => {
- return (
-

- );
-};
-
-export default KaggleLogo;
diff --git a/src/components/community-stats/SparNordLogo.js b/src/components/community-stats/SparNordLogo.js
deleted file mode 100644
index 3346f8c5..00000000
--- a/src/components/community-stats/SparNordLogo.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from "react";
-import sparNordLogo from "../../../static/spar-nord-logo.png";
-
-const SparNordLogo = () => {
- return (
-

- );
-};
-
-export default SparNordLogo;
diff --git a/static/jpmc-logo.png b/static/jpmc-logo.png
deleted file mode 100644
index 61d7e538..00000000
Binary files a/static/jpmc-logo.png and /dev/null differ
diff --git a/static/kaggle-logo.png b/static/kaggle-logo.png
deleted file mode 100644
index 6210311e..00000000
Binary files a/static/kaggle-logo.png and /dev/null differ
diff --git a/static/spar-nord-logo.png b/static/spar-nord-logo.png
deleted file mode 100644
index 11a4ce03..00000000
Binary files a/static/spar-nord-logo.png and /dev/null differ