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

mayanks pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/pinot-site.git


The following commit(s) were added to refs/heads/dev by this push:
     new 243803e  Moved Who Uses section to an independent page
     new 7d94757  Merge pull request #58 from joshigaurava/who-uses-pinot
243803e is described below

commit 243803e829c00ef40cec57f8a36b97730401cbac
Author: Gaurav Joshi <68965367+joshigaur...@users.noreply.github.com>
AuthorDate: Thu Sep 2 07:00:30 2021 -0700

    Moved Who Uses section to an independent page
---
 website/docusaurus.config.js  |  6 +++++-
 website/src/pages/index.js    | 48 -------------------------------------------
 website/src/pages/who_uses.js | 23 +++++++++------------
 3 files changed, 15 insertions(+), 62 deletions(-)

diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 941ed22..32759c1 100755
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -88,10 +88,14 @@ module.exports = {
           title: 'About',
           items: [
             {
-              label: 'What is Pinot?',
+              label: 'What is Apache Pinot?',
               to: 'https://docs.pinot.apache.org/',
             },
             {
+              label: 'Who uses Apache Pinot?',
+              to: '/who_uses',
+            },
+            {
               label: 'Components',
               to: 'https://docs.pinot.apache.org/pinot-components',
             },
diff --git a/website/src/pages/index.js b/website/src/pages/index.js
index 7b69da8..8b7961f 100755
--- a/website/src/pages/index.js
+++ b/website/src/pages/index.js
@@ -378,53 +378,6 @@ function Installation() {
     );
 }
 
-function WhoUsesPinot() {
-    return (
-        <section className="topologies">
-            <div className="container">
-                <AnchoredH2 id="who-uses">Who Uses Apache Pinot?</AnchoredH2>
-                <div className="sub-title">
-                    Pinot powers several big players, including LinkedIn, 
Uber, Microsoft, Walmart, WePay, Factual, Weibo, Slack and more
-                </div>
-
-                <div className={styles.installationPlatforms}>
-                    {
-                        companiesList.map(
-                            company => (
-                                (() => {
-                                    if (company['enable_dark_logo'] == true) {
-                                        var title = 
`apache_pinot_user_${company.name}`
-                                        var altText = `Apache Pinot used by 
${company.name}`
-                                        return <Link class="grid-item" 
to={company.website} alt={altText} title={title}>
-                                                    <CompanyLogo 
srcLight={company.logo} srcDark={company.darkLogo} title={title} 
description={altText} />
-                                                </Link>
-                                    } else {
-                                        var title = 
`apache_pinot_user_${company.name}`
-                                        var altText = `Apache Pinot used by 
${company.name}`
-                                        return <Link class="grid-item" 
to={company.website} alt={altText} title={title}>
-                                                    <SVG src={company.logo} 
title={title} description={altText} />
-                                                </Link>
-                                    }
-                                })()
-                            )
-                        )
-                    }
-                </div>
-            </div>
-            <p align="center">
-            <div className="hero--buttons">
-                <Link
-                    to="/who_uses"
-                    className="button button--primary button--highlight">
-                    Read More on use cases..
-                </Link>
-            </div>
-            </p>
-
-        </section>
-    );
-}
-
 const CompanyLogo = ({srcLight, srcDark, title, description}) => {
     const { isDarkTheme } = useThemeContext();
 
@@ -494,7 +447,6 @@ function Home() {
                     <Features features={features} />
                 )}
                 <Usage />
-                <WhoUsesPinot />
                 <UserFacingAnalytics />
                 <Installation />
 
diff --git a/website/src/pages/who_uses.js b/website/src/pages/who_uses.js
index f4071b0..54cd08e 100644
--- a/website/src/pages/who_uses.js
+++ b/website/src/pages/who_uses.js
@@ -56,10 +56,6 @@ function WhoUsesPinot() {
     return (
         <section className="topologies">
             <div className="container">
-                <AnchoredH2 id="who-uses">Who Uses Apache Pinot?</AnchoredH2>
-                <div className="sub-title">
-                    Pinot powers several big players, including LinkedIn, 
Uber, Microsoft, Walmart, WePay, Factual, Weibo, Slack and more
-                </div>
 
                 <div className={styles.installationPlatforms}>
                     {
@@ -103,19 +99,20 @@ function WhoUses() {
 
     return (
         <Layout title="Who Uses Apache Pinot" description="Collection of 
Companies using Apache Pinot">
-            <header className="hero">
-                <div className="container container--fluid">
-                    <AnchoredH1>Who Uses Apache Pinot</AnchoredH1>
-                    <div className="hero--subtitle">
-                    Collection of stories from Companies using Apache Pinot
-                    </div>
+            <header
+                className={"hero"}
+            >
+                <div className="container">
+                    <h1 className="hero__title">Who Uses Apache Pinot</h1>
+                    <p className="hero__subtitle">
+                        Apache Pinot powers a wide variety of real time 
analytical use cases across several big players, including LinkedIn, Uber, 
Walmart, WePay, Factual, Weibo and more.
+                    </p>
                 </div>
             </header>
             <main>
-            <WhoUsesPinot />
-
-            {/* TODO Add Company quotes */}
+                <WhoUsesPinot />
 
+                {/* TODO add Company quotes */}
             </main>
         </Layout>
     );

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to