mirror of
https://github.com/graphql-hive/console
synced 2026-05-24 09:38:26 +00:00
Add Prodigy testimonial (#5995)
This commit is contained in:
parent
e0dc6555c6
commit
c10b3336fa
2 changed files with 60 additions and 3 deletions
|
|
@ -224,3 +224,32 @@ export function WealthsimpleLogo(props: LogoProps) {
|
|||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
export function ProdigyLogo(props: LogoProps) {
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlnsXlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 116 37"
|
||||
{...props}
|
||||
>
|
||||
<defs>
|
||||
<path id="prodigy-a" d="M0 .05h35.903V37H0z" />
|
||||
</defs>
|
||||
<g fill="none" fillRule="evenodd">
|
||||
<mask id="prodigy-b" fill="#fff">
|
||||
<use xlinkHref="#prodigy-a" />
|
||||
</mask>
|
||||
<path
|
||||
d="M15.014 37h-3.692a3.468 3.468 0 01-3.475-3.461V16.687C4.787 14.842 1.97 12.417 0 9.53l2.735-1.852C4.059 9.62 5.874 11.35 7.9 12.79 8.568 5.23 15.307-.624 23.218.113c6.765.63 12.163 6.136 12.649 12.885.586 8.165-5.917 14.996-13.992 14.996v-3.293c6.316 0 11.374-5.468 10.653-11.9-.548-4.899-4.509-8.843-9.427-9.389-6.459-.718-11.947 4.32-11.947 10.61v.749a26.696 26.696 0 004.028 1.693v-1.547c0-4.382 2.836-7.561 6.743-7.561 3.663 0 6.643 2.99 6.643 6.666 0 3.987-3.291 6.666-8.19 6.666-.6 0-1.232-.04-1.89-.12v12.971A3.468 3.468 0 0115.015 37zm-2.516-3.293h1.34a1.34 1.34 0 001.344-1.339V19.891a28.993 28.993 0 01-4.028-1.472v13.95c0 .739.601 1.338 1.344 1.338zm5.99-16.456c.662.095 1.295.144 1.89.144 2.361 0 4.884-.886 4.884-3.373 0-1.891-1.466-3.373-3.337-3.373-2.023 0-3.436 1.755-3.436 4.268v2.334z"
|
||||
fill="currentColor"
|
||||
mask="url(#prodigy-b)"
|
||||
/>
|
||||
<path
|
||||
d="M55.005 14.852c0 2.782-1.865 4.37-5.227 4.37h-2.685v4.72h-3.525V10.337h6.21c3.362 0 5.227 1.587 5.227 4.514m-3.546-.041c0-1.196-.677-1.793-2.234-1.793h-2.132v3.606h2.132c1.557 0 2.234-.597 2.234-1.813m12.26-.985l-.379 2.92c-.273-.163-.777-.305-1.323-.305-1.26 0-2.352.79-2.352 2.392v5.108h-3.571V13.806h3.15l.148 2.19c.503-1.501 1.554-2.393 3.192-2.393.525 0 .903.102 1.134.223m10.892 5.218c0 3.432-2 5.441-5.446 5.441-3.445 0-5.446-2.009-5.446-5.441s2.001-5.441 5.446-5.441 5.446 2.009 5.446 5.44m-7.385 0c0 2.052.64 2.91 1.94 2.91 1.299 0 1.938-.858 1.938-2.91 0-2.05-.639-2.908-1.939-2.908s-1.939.858-1.939 2.909m18.822-9.25v14.488H82.89l-.124-1.933c-.599 1.282-1.774 2.136-3.362 2.136-2.662 0-4.25-1.933-4.25-5.25 0-3.377 1.609-5.33 4.27-5.33 1.506 0 2.537.752 3.115 1.912V9.794h3.507zm-3.507 9.808v-.814c-.083-1.506-.784-2.34-1.919-2.34-1.196 0-1.939.834-1.939 2.747 0 1.913.743 2.747 1.94 2.747 1.114 0 1.835-.794 1.918-2.34zm5.14-8.681c0-1.162.661-1.671 2.179-1.671 1.518 0 2.179.51 2.179 1.67 0 1.142-.66 1.651-2.18 1.651-1.517 0-2.177-.51-2.177-1.65zm.308 13.02h3.741V13.753h-3.74v10.188zm15.486-10.128v9.667c0 3.888-2.29 5.358-5.796 5.358-2.455 0-4.415-.693-4.787-3.068l3.363-.903c.062 1.156.64 1.723 1.774 1.723 1.155 0 1.919-.799 1.919-2.249v-1.933c-.64.988-1.713 1.618-3.115 1.618-2.682 0-4.25-1.913-4.25-5.17 0-3.32 1.589-5.253 4.25-5.253 1.753 0 2.888.967 3.383 2.375l.123-2.165h3.136zm-3.527 5.107v-.19c0-1.597-.702-2.5-1.898-2.5-1.197 0-1.94.82-1.94 2.585 0 1.786.743 2.605 1.94 2.605 1.176 0 1.898-.861 1.898-2.5zm12.186 5.5c-1.162 3.268-2.556 4.418-5.24 4.418-1.226 0-2.177-.267-2.874-.76l.76-2.342c.466.41.973.534 1.818.534.845 0 1.331-.206 1.648-.986l.253-.637-1.225-2.795-3.149-7.705h3.952l1.627 5.857.507 2.177.57-2.26 1.628-5.774H116l-3.867 10.274z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,15 +5,22 @@ import * as Tabs from '@radix-ui/react-tabs';
|
|||
import { CallToAction, Heading } from '@theguild/components';
|
||||
import { cn } from '../../lib';
|
||||
import { ArrowIcon } from '../arrow-icon';
|
||||
import { KarrotLogo, NacelleLogo, WealthsimpleLogo, type LogoProps } from '../company-logos';
|
||||
import {
|
||||
KarrotLogo,
|
||||
NacelleLogo,
|
||||
ProdigyLogo,
|
||||
WealthsimpleLogo,
|
||||
type LogoProps,
|
||||
} from '../company-logos';
|
||||
import karrotPicture from './karrot-picture.webp';
|
||||
import nacellePicture from './nacelle-picture.webp';
|
||||
import prodigyPicture from './prodigy-picture.webp';
|
||||
import wealthsimplePicture from './wealthsimple-picture.webp';
|
||||
|
||||
type Testimonial = {
|
||||
company: string;
|
||||
logo: (props: LogoProps) => React.ReactElement;
|
||||
text: string;
|
||||
text: React.ReactNode;
|
||||
picture?: {
|
||||
img: string | StaticImageData;
|
||||
className?: string;
|
||||
|
|
@ -55,6 +62,27 @@ const testimonials: Testimonial[] = [
|
|||
img: wealthsimplePicture,
|
||||
},
|
||||
},
|
||||
{
|
||||
company: 'Prodigy',
|
||||
logo: props => (
|
||||
<div className="flex h-8 items-center justify-center">
|
||||
<ProdigyLogo {...props} height={37} />
|
||||
</div>
|
||||
),
|
||||
text: (
|
||||
<>
|
||||
Hive is essential to us handling more than 750MM GraphQL requests every month. We ship with
|
||||
certainty that schema changes will not break clients. The <code>atLeastOnceSampler</code> is
|
||||
crucial to capture telemetry from less-often run operations. The schema explorer condenses
|
||||
hours of searching through Github for client usage down to minutes.
|
||||
</>
|
||||
),
|
||||
picture: {
|
||||
img: prodigyPicture,
|
||||
className: 'bg-[#a9e7f599]',
|
||||
},
|
||||
data: [{ numbers: '>750MM', description: 'requests every month' }],
|
||||
},
|
||||
];
|
||||
|
||||
export function CompanyTestimonialsSection({ className }: { className?: string }) {
|
||||
|
|
@ -165,7 +193,7 @@ export function CompanyTestimonialsSection({ className }: { className?: string }
|
|||
)}
|
||||
<article className="max-lg:mt-6 lg:relative" id={getTestimonialId(company)}>
|
||||
<Logo title={company} height={32} className="text-blue-1000 mb-6 lg:hidden" />
|
||||
<blockquote className="sm:blockquote-beige-500 lg:text-xl xl:text-2xl xl:leading-[32px]">
|
||||
<blockquote className="sm:blockquote-beige-500 lg:text-xl xl:text-2xl xl:leading-[32px] [&_code]:font-mono [&_code]:text-[0.9em]">
|
||||
{text}
|
||||
</blockquote>
|
||||
{person && <TestimonialPerson className="mt-6" person={person} />}
|
||||
|
|
|
|||
Loading…
Reference in a new issue