You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xi...@apache.org on 2026/03/21 06:56:16 UTC
(pinot-site) branch new-site-dev updated: Fix prettier formatting errors that broke the build
This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch new-site-dev
in repository https://gitbox.apache.org/repos/asf/pinot-site.git
The following commit(s) were added to refs/heads/new-site-dev by this push:
new 5cf89085 Fix prettier formatting errors that broke the build
5cf89085 is described below
commit 5cf890858703dc29875d0d91c67b3302192f0812
Author: Xiang Fu <xi...@startree.ai>
AuthorDate: Fri Mar 20 23:56:00 2026 -0700
Fix prettier formatting errors that broke the build
Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
---
app/use-cases/page.tsx | 8 +++-----
components/ArchitectureSection.tsx | 33 +++++++++++++++++++++++++++------
components/UseCase.tsx | 14 ++++----------
components/UseCases.tsx | 5 ++---
4 files changed, 36 insertions(+), 24 deletions(-)
diff --git a/app/use-cases/page.tsx b/app/use-cases/page.tsx
index 15614f5c..993be19f 100644
--- a/app/use-cases/page.tsx
+++ b/app/use-cases/page.tsx
@@ -10,12 +10,10 @@ const UseCasesPage = () => {
return (
<section>
<header className="p-8 text-center md:p-0 md:pt-16">
- <h1 className="mb-6 text-3xl font-bold md:text-5xl">
- Apache Pinot Use Cases
- </h1>
+ <h1 className="mb-6 text-3xl font-bold md:text-5xl">Apache Pinot Use Cases</h1>
<p className="mx-auto max-w-2xl text-lg text-gray-600 md:mb-12">
- Discover how teams at leading companies use Apache Pinot to power
- real-time analytics, dashboards, and intelligent applications at scale.
+ Discover how teams at leading companies use Apache Pinot to power real-time
+ analytics, dashboards, and intelligent applications at scale.
</p>
</header>
<UseCases />
diff --git a/components/ArchitectureSection.tsx b/components/ArchitectureSection.tsx
index fa24cd50..5e5b1552 100644
--- a/components/ArchitectureSection.tsx
+++ b/components/ArchitectureSection.tsx
@@ -41,12 +41,31 @@ const ArchitectureSection: React.FC = () => {
</div>
<div className="grid gap-4">
{[
- { icon: '⚙️', name: 'Controller', desc: 'Manages cluster' },
- { icon: '🔀', name: 'Broker', desc: 'Routes queries' },
- { icon: '💾', name: 'Server', desc: 'Stores segments' },
- { icon: '🔧', name: 'Minion', desc: 'Optimization tasks' }
+ {
+ icon: '⚙️',
+ name: 'Controller',
+ desc: 'Manages cluster'
+ },
+ {
+ icon: '🔀',
+ name: 'Broker',
+ desc: 'Routes queries'
+ },
+ {
+ icon: '💾',
+ name: 'Server',
+ desc: 'Stores segments'
+ },
+ {
+ icon: '🔧',
+ name: 'Minion',
+ desc: 'Optimization tasks'
+ }
].map((comp) => (
- <div key={comp.name} className="flex items-center gap-3 rounded bg-white p-3 dark:bg-gray-800">
+ <div
+ key={comp.name}
+ className="flex items-center gap-3 rounded bg-white p-3 dark:bg-gray-800"
+ >
<div className="text-xl">{comp.icon}</div>
<div className="flex-1">
<div className="text-xs font-semibold text-gray-900 dark:text-gray-100">
@@ -140,7 +159,9 @@ const ArchitectureSection: React.FC = () => {
>
<span>{comp.icon}</span>
<div className="flex-1 text-left">
- <div className="text-xs font-semibold">{comp.name}</div>
+ <div className="text-xs font-semibold">
+ {comp.name}
+ </div>
<div className="text-xs text-gray-600 dark:text-gray-400">
{comp.desc}
</div>
diff --git a/components/UseCase.tsx b/components/UseCase.tsx
index 526ab663..601c9994 100644
--- a/components/UseCase.tsx
+++ b/components/UseCase.tsx
@@ -4,16 +4,10 @@ import { UseCase as UseCaseType } from '@/data/useCasesData';
interface UseCaseProps extends UseCaseType {}
-const UseCase: React.FC<UseCaseProps> = ({
- icon,
- title,
- description,
- details,
- learnMoreLink
-}) => {
+const UseCase: React.FC<UseCaseProps> = ({ icon, title, description, details, learnMoreLink }) => {
return (
- <div className="flex flex-col rounded-lg border border-gray-200 bg-white p-6 shadow-sm hover:shadow-md transition-shadow">
- <div className="mb-4 flex h-16 w-16 items-center justify-center rounded-md bg-vine-50">
+ <div className="flex flex-col rounded-lg border border-gray-200 bg-white p-6 shadow-sm transition-shadow hover:shadow-md">
+ <div className="bg-vine-50 mb-4 flex h-16 w-16 items-center justify-center rounded-md">
<Image src={icon} alt={title} width={40} height={40} />
</div>
<h3 className="mb-3 text-xl font-semibold text-gray-900">{title}</h3>
@@ -28,7 +22,7 @@ const UseCase: React.FC<UseCaseProps> = ({
</ul>
<Link
href={learnMoreLink}
- className="inline-flex text-base font-semibold text-vine-100 hover:text-vine-200 transition-colors"
+ className="hover:text-vine-200 inline-flex text-base font-semibold text-vine-100 transition-colors"
>
Learn more →
</Link>
diff --git a/components/UseCases.tsx b/components/UseCases.tsx
index 699cb407..cf4a4b07 100644
--- a/components/UseCases.tsx
+++ b/components/UseCases.tsx
@@ -9,9 +9,8 @@ const UseCases: React.FC = () => {
Use Cases Powered by Apache Pinot
</h2>
<p className="mb-12 text-center text-lg text-gray-600 md:mb-16">
- From real-time dashboards to personalized recommendations, Pinot powers
- modern applications that need fast, scalable analytics on petabyte-scale
- data.
+ From real-time dashboards to personalized recommendations, Pinot powers modern
+ applications that need fast, scalable analytics on petabyte-scale data.
</p>
<div className="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
{useCasesData.map((useCase) => (
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org