mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 17:18:23 +00:00
Add Talk To Us button to hero element (#3770)
This commit is contained in:
parent
8dc872af90
commit
9ab5342579
2 changed files with 20 additions and 9 deletions
|
|
@ -2,7 +2,7 @@ import { ReactElement, ReactNode, useState } from 'react';
|
|||
import Head from 'next/head';
|
||||
import Image, { StaticImageData } from 'next/image';
|
||||
import Link from 'next/link';
|
||||
import { FiGithub, FiGlobe, FiLogIn, FiPackage, FiServer, FiTruck } from 'react-icons/fi';
|
||||
import { FiGithub, FiGlobe, FiLogIn, FiPackage, FiPhone, FiServer, FiTruck } from 'react-icons/fi';
|
||||
import * as Tooltip from '@radix-ui/react-tooltip';
|
||||
import { cn } from '../lib';
|
||||
import { BookIcon } from './book-icon';
|
||||
|
|
@ -328,6 +328,15 @@ export function IndexPage(): ReactElement {
|
|||
>
|
||||
<FiGithub /> Star on GitHub
|
||||
</a>
|
||||
<a
|
||||
className={cn(classes.link, 'flex flex-row items-center gap-2')}
|
||||
href="#"
|
||||
onClick={() => {
|
||||
(window as any).$crisp?.push(['do', 'chat:open']);
|
||||
}}
|
||||
>
|
||||
<FiPhone /> Talk to us
|
||||
</a>
|
||||
</>
|
||||
</HeroLinks>
|
||||
<HereTrustedBy>
|
||||
|
|
|
|||
|
|
@ -106,14 +106,16 @@ export function Pricing({ gradient }: { gradient: [string, string] }): ReactElem
|
|||
return (
|
||||
<div className="w-full bg-neutral-900">
|
||||
<div className="mx-auto my-12 box-border w-full max-w-[1024px] px-6">
|
||||
<h2
|
||||
className="bg-clip-text text-2xl font-bold leading-normal text-transparent md:text-3xl"
|
||||
style={{
|
||||
backgroundImage: `linear-gradient(-70deg, ${gradient[1]}, ${gradient[0]})`,
|
||||
}}
|
||||
>
|
||||
Pricing
|
||||
</h2>
|
||||
<a id="pricing">
|
||||
<h2
|
||||
className="bg-clip-text text-2xl font-bold leading-normal text-transparent md:text-3xl"
|
||||
style={{
|
||||
backgroundImage: `linear-gradient(-70deg, ${gradient[1]}, ${gradient[0]})`,
|
||||
}}
|
||||
>
|
||||
Pricing
|
||||
</h2>
|
||||
</a>
|
||||
<p className="text-gray-400">
|
||||
All features are available on all plans - including the free plan. Our pricing is honest
|
||||
and based only on your real usage.
|
||||
|
|
|
|||
Loading…
Reference in a new issue