This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new b98f65a6f96 Remove out-dated resources page and related "Older 
Articles" content
b98f65a6f96 is described below

commit b98f65a6f963dedb73ce1f81c754dc4fa60a5413
Author: Lari Hotari <[email protected]>
AuthorDate: Fri Sep 5 01:07:29 2025 +0300

    Remove out-dated resources page and related "Older Articles" content
    
    Fixes apache/pulsar#24705
---
 data/resources.ts                                  | 393 ---------------------
 docusaurus.config.ts                               |   4 +
 .../pages/ResourcesPage/Cards/Cards.module.css     |  29 --
 src/components/pages/ResourcesPage/Cards/Cards.tsx |  68 ----
 .../pages/ResourcesPage/ResourcesPage.module.css   |  35 --
 .../pages/ResourcesPage/ResourcesPage.tsx          |  68 ----
 src/pages/resources.tsx                            |   2 -
 7 files changed, 4 insertions(+), 595 deletions(-)

diff --git a/data/resources.ts b/data/resources.ts
index 652eff490da..e7884eb2c5f 100644
--- a/data/resources.ts
+++ b/data/resources.ts
@@ -1,13 +1,11 @@
 export const categories = [
   'articles',
-  'older_articles',
   'presentations'
 ] as const;
 export type Category = typeof categories[number];
 
 export const categoryLabels: Record<Category, string> = {
   articles: 'Articles',
-  older_articles: 'Older Articles',
   presentations: 'Presentations',
 };
 
@@ -175,397 +173,6 @@ export const resources: Record<Category, Resource[]> = {
 
   ],
 
-  /***************************
-   * Older Articles
-   * *************************/
-  older_articles: [
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      date: 'July 2020',
-      title: "Pulsar vs Kafka - Part 1 - A More Accurate Perspective on 
Performance, Architecture, and Features",
-      link: 'https://streamnative.io/blog/tech/pulsar-vs-kafka-part-1',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      date: 'July 2020',
-      title: "Pulsar vs Kafka - Part 2 - Adoption, Use Cases, Differentiators, 
and Community",
-      link: 'https://streamnative.io/blog/tech/pulsar-vs-kafka-part-2',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      date: 'June 2020',
-      title: "Taking messaging and data ingestion systems to the next level",
-      link: 'https://streamnative.io/blog/tech/2020-07-08-podcast',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      date: 'June 2020',
-      title: "Announcing AMQP-on-Pulsar: bring native AMQP protocol support to 
Apache Pulsar",
-      link: 
'https://streamnative.io/blog/tech/2020-06-15-announcing-aop-on-pulsar',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      date: 'June 2020',
-      title: "How to trace Pulsar messages with OpenTracing and Jaeger",
-      link: 
'https://streamnative.io/blog/tech/2020-06-11-opentracing-instrumentation-for-pulsar',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      date: 'May 2020',
-      title: "Introducing StreamNative Hub — Extend Pulsar Capabilities with 
Rich Integrations",
-      link: 'https://streamnative.io/blog/tech/2020-05-26-intro-to-hub',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "How to Build a Distributed Database with Apache BookKeeper — 
Part 1",
-      link: 
'https://streamnative.io/blog/tech/2020-02-04-how-to-build-database',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "How to Build a Distributed Database with Apache BookKeeper — 
Part 2",
-      link: 
'https://streamnative.io/blog/tech/2020-04-14-distributed-database-bk2',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "How to Build a Distributed Database with Apache BookKeeper — 
Part 3",
-      link: 
'https://streamnative.io/blog/tech/2020-05-12-distributed-database-bk3',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "How Apache Pulsar Helps Streamline Message System and Reduces 
O&M Costs at Tuya Smart",
-      link: 'https://streamnative.io/blog/tech/2020-05-08-tuya-tech-blog',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Why Zhaopin Chooses Pulsar SQL for Search Log Analysis",
-      link: 'https://streamnative.io/blog/tech/2020-05-07-zhaopin-tech-blog',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Why we moved from Apache Kafka to Apache Pulsar",
-      link: 
'https://streamnative.io/blog/tech/2020-04-21-from-apache-kafka-to-apache-pulsar',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Announcing Kafka-on-Pulsar: bring native Kafka protocol support 
to Apache Pulsar",
-      link: 
'https://streamnative.io/blog/tech/2020-03-24-bring-native-kafka-protocol-support-to-apache-pulsar',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Apache Pulsar® Helps Tencent Process Tens of Billions of 
Financial Transactions Efficiently with Virtually No Data Loss",
-      link: 'https://streamnative.io/blog/tech/2020-02-18-pulsar-help-tencent',
-      tags: []
-    },
-    {
-      forum: 'Yahoo Engineering blog',
-      forum_link: 'https://yahooeng.tumblr.com/',
-      title: 'Open sourcing Pulsar, pub-sub messaging at scale',
-      link: 
'https://yahooeng.tumblr.com/post/150078336821/open-sourcing-pulsar-pub-sub-messaging-at-scale',
-      tags: []
-    },
-    {
-      forum: 'Streamlio blog',
-      forum_link: 'https://streaml.io/blog',
-      title: 'Introduction to Apache Pulsar',
-      link: 'https://streaml.io/blog/intro-to-pulsar/',
-      tags: []
-    },
-    {
-      forum: 'Streamlio blog',
-      forum_link: 'https://streaml.io/blog',
-      title: 'Why Apache Pulsar? Part 1',
-      link: 'https://streaml.io/blog/why-apache-pulsar/',
-      tags: []
-    },
-    {
-      forum: 'Streamlio blog',
-      forum_link: 'https://streaml.io/blog',
-      title: 'Why Apache Pulsar? Part 2',
-      link: 'https://streaml.io/blog/why-apache-pulsar-part-2',
-      tags: []
-    },
-    {
-      forum: "Jack Vanlightly's blog",
-      forum_link: 'https://jack-vanlightly.com',
-      title: 'Understanding How Apache Pulsar Works',
-      link: 
'https://jack-vanlightly.com/blog/2018/10/2/understanding-how-apache-pulsar-works',
-      tags: []
-    },
-    {
-      forum: "Anuradha Prasanna's blog",
-      forum_link: 'https://medium.com/@anuradha.neo',
-      title: 'Kafka is not the best anymore - Meet Pulsar!',
-      link: 
'https://medium.com/@anuradha.neo/kafka-is-not-the-best-anymore-meet-pulsar-9eb435c9fc0b',
-      tags: []
-    },
-    {
-      forum: 'Kafkaesque blog',
-      forum_link: 'https://kafkaesque.io/news/',
-      title: '7 Reasons We Choose Apache Pulsar over Apache Kafka',
-      link: 
'https://kafkaesque.io/7-reasons-we-choose-apache-pulsar-over-apache-kafka/',
-      tags: []
-    },
-    {
-      forum: "Jack Vanlightly's blog",
-      forum_link: 'https://jack-vanlightly.com',
-      title: 'How to (not) lose messages on an Apache Pulsar Cluster',
-      link: 
'https://jack-vanlightly.com/blog/2018/10/21/how-to-not-lose-messages-on-an-apache-pulsar-cluster',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "How Orange Financial combats financial fraud in over 50M 
transactions a day using Apache Pulsar",
-      link: 
'https://streamnative.io/blog/tech/2019-11-11-how-orange-finaacial-combats-financial-fraud-over-50m-transactions-a-day-useing-apache-pulsar',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Powering Tencent Billing Platform with Apache Pulsar",
-      link: 
'https://streamnative.io/blog/tech/2019-10-22-powering-tencent-billing-platform-with-apache-pulsar/',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Use Apache SkyWalking to Trace Apache Pulsar Messages",
-      link: 
'https://streamnative.io/blog/tech/2019-10-10-use-apache-skywalking-to-trace-apache-pulsar/',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "StreamNative open sourced and contributed Apache Pulsar Manager 
to ASF",
-      link: 
'https://streamnative.io/blog/tech/2019-09-24-streamnative-opensourced-pulsar-manager/',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Apache Pulsar Adoption Story in ActorCloud (IoT Platform)",
-      link: 
'https://streamnative.io/blog/tech/2019-09-09-apache-pulsar-adoption-in-actorcloud/',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Apache Pulsar at Yahoo!JAPAN",
-      link: 
'https://streamnative.io/blog/tech/2019-09-06-pular-at-yahoo-japan/',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Build a Priority-based Push Notification System Using Apache 
Pulsar at GeTui",
-      link: 
'https://streamnative.io/blog/tech/2019-07-23-build-a-priority-based-push-notification-system-using-apache-pulsar-at-getui/',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://streamnative.io/',
-      title: "Use Apache Pulsar as Streaming Table with 8 Lines of Code",
-      link: 
'https://streamnative.io/blog/tech/2019-08-28-use-apache-pulsar-as-streaming-table-with-8-lines-of-code/',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://medium.com/streamnative/',
-      title: 'Apache Pulsar as One Unified Storage System for Real Time and 
Historical Analysis',
-      link: 
'https://medium.com/streamnative/apache-pulsar-as-one-storage-455222c59017',
-      tags: []
-    },
-    {
-      forum: 'StreamNative blog',
-      forum_link: 'https://medium.com/streamnative/',
-      title: "What’s New in Apache Pulsar 2.4.0",
-      link: 
'https://medium.com/streamnative/whats-new-in-apache-pulsar-2-4-0-d646f6727642',
-      tags: []
-    },
-    {
-      forum: "Penghui Li's blog",
-      forum_link: 'https://medium.com/@codelipenghui',
-      title: "Simplifying Zhaopin's Event Center Using Apache Pulsar",
-      link: 
'https://medium.com/@codelipenghui/simplifying-zhaopins-event-center-with-apache-pulsar-9784b73bead1',
-      tags: []
-    },
-    {
-      forum: "Jowanza Joseph's blog",
-      forum_link: "https://www.jowanza.com/blog";,
-      title: 'Efficient Stream Processing With Pulsar Functions',
-      link: 
'https://www.jowanza.com/blog/2019/3/9/efficient-stream-processing-with-pulsar-functions',
-      tags: []
-    },
-    {
-      forum: "Jesse Anderson's blog",
-      forum_link: 'http://www.jesse-anderson.com/',
-      title: 'Creating Work Queues with Apache Kafka and Apache Pulsar',
-      link: 
'http://www.jesse-anderson.com/2018/08/creating-work-queues-with-apache-kafka-and-apache-pulsar/',
-      tags: []
-    },
-    {
-      forum: 'Streamlio blog',
-      forum_link: 'https://streaml.io/blog',
-      title: 'Building Data Driven Applications at STICORP using Apache 
Pulsar',
-      link: 
'https://streaml.io/blog/building-data-driven-applications-with-apache-pulsar-at-sticorp',
-      tags: []
-    },
-    {
-      forum: 'The Hut Group tech blog',
-      forum_link: 'https://medium.com/thg-tech-blog',
-      title: 'A feather in the caps',
-      link: 
'https://medium.com/thg-tech-blog/a-feather-in-their-caps-4c4083cf9f46',
-      tags: []
-    },
-    {
-      forum: "Karthikeyan Palanivelu's blog",
-      forum_link: 'https://medium.com/@pckeyan',
-      title: 'Apache Pulsar — One Cluster for the entire enterprise using 
Multi-tenancy',
-      link: 
'https://medium.com/@pckeyan/apache-pulsar-one-cluster-for-the-entire-enterprise-using-multi-tenancy-c37e2ee350ef',
-      tags: []
-    },
-    {
-      forum: "Capital One tech blog",
-      forum_link: "https://medium.com/capital-one-tech";,
-      title: 'Apache Pulsar — A Gentle Introduction to Apache’s Newest Pub-Sub 
Messaging Platform',
-      link: 
'https://medium.com/capital-one-tech/apache-pulsar-apaches-newest-pub-sub-messaging-platform-1c1ba1a6c673',
-      tags: []
-    },
-    {
-      forum: "Karthikeyan Palanivelu's blog",
-      forum_link: 'https://medium.com/@pckeyan',
-      title: 'Apache Pulsar: Geo-replication',
-      link: 
'https://medium.com/@pckeyan/apache-pulsar-geo-replication-ad4f0ca3224b',
-      tags: []
-    },
-    {
-      forum: "Karthikeyan Palanivelu's blog",
-      forum_link: 'https://medium.com/@pckeyan',
-      title: 'Apache Pulsar: Geo-replication — Synchronous Replication : 
Hybrid Deployment Model',
-      link: 
'https://medium.com/@pckeyan/apache-pulsar-geo-replication-synchronous-replication-hybrid-deployment-model-3282013e9ae5',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Pulsar topic compaction',
-      link: 'https://streaml.io/blog/pulsar-topic-compaction',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Tiered Storage in Apache Pulsar',
-      link: 'https://streaml.io/blog/tiered-storage-in-apache-pulsar',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Introducing Pulsar IO',
-      link: 'https://streaml.io/blog/introducing-pulsar-io',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Pulsar topic compaction',
-      link: 'https://streaml.io/blog/pulsar-topic-compaction',
-      tags: []
-    },
-
-    {
-      forum: "Jesse Anderson's blog",
-      forum_link: 'https://www.jesse-anderson.com',
-      title: 'Reducing Operational Overhead with Pulsar Functions',
-      link: 
'https://www.jesse-anderson.com/2019/05/reducing-operational-overhead-with-pulsar-functions/',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Querying Data Streams with Apache Pulsar SQL',
-      link: 
'https://streaml.io/blog/querying-data-streams-with-apache-pulsar-sql',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Configuring Apache Pulsar Tiered Storage with Amazon S3',
-      link: 
'https://streaml.io/blog/configuring-apache-pulsar-tiered-storage-with-amazon-s3',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Comparing LogDevice and Apache Pulsar',
-      link: 'https://streaml.io/blog/comparing-logdevice-and-apache-pulsar',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Pulsar’s Multi-Layer System Architecture',
-      link: 
'https://streaml.io/blog/apache-pulsar-architecture-designing-for-streaming-performance-and-scalability',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Debugging Pulsar Functions in Java',
-      link: 'https://streaml.io/blog/debugging-pulsar-functions-in-java',
-      tags: []
-    },
-    {
-      forum: "Streamlio blog",
-      forum_link: 'https://streaml.io/blog',
-      title: 'Sentiment Analysis of Tweets using Apache Pulsar',
-      link: 
'https://streaml.io/blog/sentiment-analysis-of-tweets-using-apache-pulsar',
-      tags: []
-    },
-    {
-      forum: 'Apache Flink blog',
-      forum_link: 'https://flink.apache.org/blog/',
-      title: 'When Flink & Pulsar Come Together',
-      link: 'https://flink.apache.org/2019/05/03/pulsar-flink.html',
-      tags: []
-    },
-    {
-      forum: 'Debezium blog',
-      forum_link: 'https://debezium.io/blog',
-      title: 'Tutorial for Using Debezium Connectors With Apache Pulsar',
-      link: 
'https://debezium.io/blog/2019/05/23/tutorial-using-debezium-connectors-with-apache-pulsar/',
-      tags: []
-    },
-  ],
-
   /******************************
    * Presentations
    ******************************/
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 8912de22de7..8de8b32a454 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -466,6 +466,10 @@ module.exports = async function createConfigAsync() {
               from: '/contribute/setup-mergetool',
               to: '/contribute/setup-git',
             },
+            {
+              from: '/resources',
+              to: '/articles',
+            },
           ],
         },
       ],
diff --git a/src/components/pages/ResourcesPage/Cards/Cards.module.css 
b/src/components/pages/ResourcesPage/Cards/Cards.module.css
deleted file mode 100644
index cdde6253b26..00000000000
--- a/src/components/pages/ResourcesPage/Cards/Cards.module.css
+++ /dev/null
@@ -1,29 +0,0 @@
-.Cards {
-  display: grid;
-  grid-template-columns: 1fr 1fr 1fr;
-  grid-gap: 1.5rem;
-}
-
-.Card {
-  padding: 1rem 2rem;
-  border-radius: 0.5rem;
-  border: 1px solid var(--border-color);
-}
-
-.Date {
-  margin-top: -0.5rem;
-}
-
-.ForumLink {
-  color: var(--primary-color);
-}
-
-.AdditionalInfo {
-  margin-bottom: 1rem;
-}
-
-@media (max-width: 800px) {
-  .Cards {
-    grid-template-columns: 1fr;
-  }
-}
diff --git a/src/components/pages/ResourcesPage/Cards/Cards.tsx 
b/src/components/pages/ResourcesPage/Cards/Cards.tsx
deleted file mode 100644
index 17195f66981..00000000000
--- a/src/components/pages/ResourcesPage/Cards/Cards.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-import React from "react";
-import s from './Cards.module.css';
-import * as data from '@site/data/resources';
-
-const Card: React.FC<data.Resource> = (props) => {
-  return (
-    <div className={s.Card}>
-      <p>
-        <a className={s.ForumLink} target="_blank" href={props.forum_link} 
rel="noopener noreferrer">
-          <strong>{props.forum}</strong>
-        </a>
-      </p>
-      <h3><a href={props.link}>{props.title}</a></h3>
-      <div className={s.AdditionalInfo}>
-        {props.date && <div><small 
className={s.Date}>{props.date}</small></div>}
-        {props.tags && props.tags.length > 0 && (
-          <div>
-            <small>
-              Tags:&nbsp;
-              {props.tags.map((tag, index) => (
-                <span key={index}>
-                  {tag}
-                  {index < props.tags.length - 1 && ', '}
-                </span>
-              ))}
-            </small>
-          </div>
-        )}
-      </div>
-      {props.presenter && <p>Presented by 
<strong>{props.presenter}</strong></p>}
-      <a href={props.link} target="_blank" rel="noopener noreferrer">Learn 
more</a>
-    </div>
-  );
-};
-
-
-export type CardsProps = {
-  resources: data.Resource[]
-  search: string
-};
-
-const Cards: React.FC<CardsProps> = (props) => {
-  const lowerCaseSearch = props.search.toLowerCase();
-  const filteredRes = props.resources.filter((r) => {
-    return r.title.toLowerCase().includes(lowerCaseSearch) ||
-      (r.tags || '').toLowerCase().includes(lowerCaseSearch) ||
-      (r.presenter || '').toLowerCase().includes(lowerCaseSearch) ||
-      (r.forum || '').toLowerCase().includes(lowerCaseSearch)
-  });
-
-  if (!filteredRes.length) {
-    return (
-      <section>
-        <h3>Sorry, no resources match your search.</h3>
-      </section>
-    );
-  }
-
-  return (
-    <section className={s.Cards}>
-      {filteredRes.map((props, idx) => (
-        <Card key={idx} {...props} />
-      ))}
-    </section>
-  );
-}
-
-export default Cards;
diff --git a/src/components/pages/ResourcesPage/ResourcesPage.module.css 
b/src/components/pages/ResourcesPage/ResourcesPage.module.css
deleted file mode 100644
index 133529a4571..00000000000
--- a/src/components/pages/ResourcesPage/ResourcesPage.module.css
+++ /dev/null
@@ -1,35 +0,0 @@
-.TopBlock {
-  display: grid;
-  grid-template-columns: 1fr 1fr;
-  gap: 2rem;
-  padding: 2rem 0;
-}
-
-.Header {
-  max-width: 48rem;
-}
-
-.Filters {
-  display: flex;
-  flex-wrap: wrap;
-  gap: 1rem;
-  margin-bottom: 2rem;
-}
-
-.SearchQueryInput {
-  flex: 1;
-  max-width: 30rem;
-  min-width: 20rem;
-}
-
-.CategorySwitcher {
-  display: flex;
-  flex-wrap: wrap;
-  gap: 1rem;
-}
-
-@media (max-width: 800px) {
-  .TopBlock {
-    grid-template-columns: 1fr;
-  }
-}
diff --git a/src/components/pages/ResourcesPage/ResourcesPage.tsx 
b/src/components/pages/ResourcesPage/ResourcesPage.tsx
deleted file mode 100644
index 373f5e1f6cd..00000000000
--- a/src/components/pages/ResourcesPage/ResourcesPage.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-import React, { useState } from "react";
-import Layout from "@theme/Layout";
-import Cards from "./Cards/Cards";
-import * as data from '@site/data/resources';
-import Page from "@site/src/components/ui/Page/Page";
-import s from './ResourcesPage.module.css';
-import Button from "@site/src/components/ui/Button/Button";
-import Input from "@site/src/components/ui/Input/Input";
-import ContributeDataDrivenPage from 
"../../ui/ContributeDataDrivenPage/ContributeDataDrivenPage";
-
-const categoryFilterOptions = [...data.categories] as const;
-
-const CaseStudiesPage: React.FC = () => {
-  const [searchQuery, setSearchQuery] = useState('');
-  const [categoryFilter, setCategoryFilter] = 
React.useState<data.Category>(data.categories[0]);
-
-  return (
-    <Layout
-      title={`Resources`}
-      description="Learn about the basics of using Apache Pulsar"
-      wrapperClassName="LandingPage"
-    >
-      <Page>
-        <div className={s.TopBlock}>
-          <section className={s.Header}>
-            <h1>Resources</h1>
-            <p>
-              Find Apache Pulsar tutorials, how-tos and other technical 
content by searching with keywords.
-            </p>
-            <ContributeDataDrivenPage />
-          </section>
-        </div>
-
-        <section>
-          <form>
-            <div className={s.Filters}>
-              <div className={s.CategorySwitcher}>
-                {categoryFilterOptions.map((category) => {
-                  return (
-                    <Button
-                      key={category}
-                      variant={categoryFilter === category ? 'action' : 
'regular'}
-                      onClick={() => setCategoryFilter(category)}
-                      title={data.categoryLabels[category]}
-                    />
-                  );
-                })}
-              </div>
-              <div className={s.SearchQueryInput}>
-                <Input placeholder="Search" value={searchQuery} 
onChange={setSearchQuery} clearable />
-              </div>
-            </div>
-
-            <div>
-              {data.categories.map((category) => {
-                if (categoryFilter === category) {
-                  return <Cards key={category} search={searchQuery} 
resources={data.resources[category]} />
-                }
-              })}
-            </div>
-          </form>
-        </section>
-      </Page>
-    </Layout>
-  );
-}
-
-export default CaseStudiesPage;
diff --git a/src/pages/resources.tsx b/src/pages/resources.tsx
deleted file mode 100644
index 0963472f616..00000000000
--- a/src/pages/resources.tsx
+++ /dev/null
@@ -1,2 +0,0 @@
-import ResourcesPage from 
'@site/src/components/pages/ResourcesPage/ResourcesPage';
-export default ResourcesPage;

Reply via email to