Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
chore: add curl cta and question (#1100)
Maximilian Kasked3407d8dedb6
diff --git a/apps/web/src/app/play/curl/page.tsx b/apps/web/src/app/play/curl/page.tsxindex dd9c0e8bc..d2b562261 100644--- a/apps/web/src/app/play/curl/page.tsx+++ b/apps/web/src/app/play/curl/page.tsx@@ -3,6 +3,7 @@ import {ogMetadata,twitterMetadata,} from "@/app/shared-metadata";+import { Shell } from "@/components/dashboard/shell";import {CardContainer,CardDescription,@@ -10,6 +11,7 @@ import {CardIcon,CardTitle,} from "@/components/marketing/card";+import { BottomCTA } from "@/components/marketing/in-between-cta";import type { Metadata } from "next";import { CurlForm } from "./_components/curl-form";@@ -37,28 +39,54 @@ export const metadata: Metadata = {export default function CurlBuilder() {return (- <CardContainer>- <CardHeader>- <CardIcon icon="terminal" />- <CardTitle>cURL Builder</CardTitle>- <CardDescription className="max-w-md">- An online curl command line builder. Generate curl commands to test- your API endpoints.- </CardDescription>- </CardHeader>- <div className="mx-auto grid w-full max-w-xl gap-6">- <CurlForm- defaultValues={{- method: "GET",- url: "",- body: "",- verbose: false,- insecure: false,- json: false,- headers: [],- }}- />+ <div className="grid h-full w-full gap-12">+ <CardContainer>+ <CardHeader>+ <CardIcon icon="terminal" />+ <CardTitle>cURL Builder</CardTitle>+ <CardDescription className="max-w-md">+ An online curl command line builder. Generate curl commands to test+ your API endpoints.+ </CardDescription>+ </CardHeader>+ <div className="mx-auto grid w-full max-w-xl gap-8">+ <CurlForm+ defaultValues={{+ method: "GET",+ url: "",+ body: "",+ verbose: false,+ insecure: false,+ json: false,+ headers: [],+ }}+ />+ </div>+ </CardContainer>+ <Informations />+ <BottomCTA />+ </div>+ );+}++function Informations() {+ return (+ <Shell>+ <div className="grid gap-1">+ <h3 className="font-semibold">What is cURL?</h3>+ <p className="text-muted-foreground">+ cURL (Client URL) is a command-line tool and library for transferring+ data with URLs. It supports various protocols like HTTP, HTTPS, FTP,+ and more, making it a versatile choice for testing APIs, downloading+ files, or performing network tasks. Its simplicity and power come from+ the ability to execute complex operations through straightforward+ commands.+ </p>+ <p className="text-muted-foreground">+ cURL is available on most operating systems, including Linux, macOS,+ and Windows.+ </p></div>- </CardContainer>+ </Shell>);}