diff --git a/packages/web/docs/src/app/federation/page.tsx b/packages/web/docs/src/app/federation/page.tsx index d180fc0e9..1e4d9888c 100644 --- a/packages/web/docs/src/app/federation/page.tsx +++ b/packages/web/docs/src/app/federation/page.tsx @@ -31,7 +31,7 @@ export const metadata = { images: [ new URL('./opengraph-image.png', import.meta.url) .toString() - // eslint-disable-next-line no-process-env + .replace(process.env.NEXT_BASE_PATH || '', ''), ], }, diff --git a/packages/web/docs/src/app/gateway/page.tsx b/packages/web/docs/src/app/gateway/page.tsx index 2ee666ba1..4579ea50c 100644 --- a/packages/web/docs/src/app/gateway/page.tsx +++ b/packages/web/docs/src/app/gateway/page.tsx @@ -9,6 +9,7 @@ import { HiveGatewayIcon, } from '@theguild/components'; import { ErrorBoundary } from '../../components/error-boundary'; +import { GetYourAPIGameRightList } from '../../components/get-your-api-game-right-list'; import { LandingPageContainer } from '../../components/landing-page-container'; import { metadata as rootMetadata } from '../layout'; import { FederationCompatibleBenchmarksSection } from './federation-compatible-benchmarks'; @@ -73,7 +74,7 @@ export default function HiveGatewayPage() { > - {/* big get your API game right section */} + ); } diff --git a/packages/web/docs/src/app/layout.tsx b/packages/web/docs/src/app/layout.tsx index 1f49d03a3..980352e2b 100644 --- a/packages/web/docs/src/app/layout.tsx +++ b/packages/web/docs/src/app/layout.tsx @@ -42,7 +42,7 @@ metadata.openGraph = { images: [ new URL('./opengraph-image.png', import.meta.url) .toString() - // eslint-disable-next-line no-process-env + .replace(process.env.NEXT_BASE_PATH || '', ''), ], }; diff --git a/packages/web/docs/src/app/partners/page.tsx b/packages/web/docs/src/app/partners/page.tsx index e6e54ba47..106626d80 100644 --- a/packages/web/docs/src/app/partners/page.tsx +++ b/packages/web/docs/src/app/partners/page.tsx @@ -30,7 +30,7 @@ export const metadata = { images: [ new URL('./opengraph-image.png', import.meta.url) .toString() - // eslint-disable-next-line no-process-env + .replace(process.env.NEXT_BASE_PATH || '', ''), ], }, diff --git a/packages/web/docs/src/components/frequently-asked-questions/home-questions.mdx b/packages/web/docs/src/components/frequently-asked-questions/home-questions.mdx index 6783b637d..4c517065a 100644 --- a/packages/web/docs/src/components/frequently-asked-questions/home-questions.mdx +++ b/packages/web/docs/src/components/frequently-asked-questions/home-questions.mdx @@ -1,6 +1,6 @@ ## Frequently Asked Questions -- What does "no vendor lock" mean? +- What does "no vendor lock-in" mean? We value your flexibility and independent decision-making. That means we'll never try to lock you out in our ecosystem and we'll continuously add support for other tools and solutions, so that you diff --git a/packages/web/docs/src/components/get-your-api-game-right-list.tsx b/packages/web/docs/src/components/get-your-api-game-right-list.tsx new file mode 100644 index 000000000..9ba39daf9 --- /dev/null +++ b/packages/web/docs/src/components/get-your-api-game-right-list.tsx @@ -0,0 +1,103 @@ +import { useId } from 'react'; +import { + CallToAction, + cn, + ContactButton, + DecorationIsolation, + Heading, +} from '@theguild/components'; + +/** + * This component differs from the `GetYourAPIGameRightSection` + * from `@theguild/components` by having a list of items. + */ +export function GetYourAPIGameRightList({ className }: { className?: string }) { + return ( +
+ + + +
+ + Get your +
API game right. +
+
+
    +
  • + + Built by engineers to improve developer experience +
  • +
  • + + Driven by customers +
  • +
  • + + No vendor lock-in +
  • +
+
+ + Get started for free + + Talk to us +
+
+
+
+ ); +} + +function CheckmarkCircle() { + return ( +
+ + + +
+ ); +} + +function StrokeDecoration(props: React.SVGAttributes) { + const id = useId(); + return ( + + + + + + + + + + ); +}