From 3e831906b63970ee4de92f796077558851d0b938 Mon Sep 17 00:00:00 2001
From: Yash <67926590+Yash094@users.noreply.github.com>
Date: Sat, 19 Apr 2025 01:04:39 +0530
Subject: [PATCH 1/4] Redirect to dashboard instead of playground
---
apps/playground-web/src/components/blocks/APIHeader.tsx | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/apps/playground-web/src/components/blocks/APIHeader.tsx b/apps/playground-web/src/components/blocks/APIHeader.tsx
index 989abbd83d4..1ade0467b62 100644
--- a/apps/playground-web/src/components/blocks/APIHeader.tsx
+++ b/apps/playground-web/src/components/blocks/APIHeader.tsx
@@ -24,18 +24,17 @@ export function PageHeader(props: {
{/* right */}
From eb3a771d49a390160d5d377e7460e31ceaa6c458 Mon Sep 17 00:00:00 2001
From: Yash <67926590+Yash094@users.noreply.github.com>
Date: Sat, 19 Apr 2025 01:05:30 +0530
Subject: [PATCH 3/4] quick fix
---
apps/playground-web/src/components/blocks/APIHeader.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/playground-web/src/components/blocks/APIHeader.tsx b/apps/playground-web/src/components/blocks/APIHeader.tsx
index d72c6c79444..fb05f7a0bb2 100644
--- a/apps/playground-web/src/components/blocks/APIHeader.tsx
+++ b/apps/playground-web/src/components/blocks/APIHeader.tsx
@@ -26,7 +26,7 @@ export function PageHeader(props: {
From a15a138ba26a9c67e87ce8a2308d7149e5ff0db4 Mon Sep 17 00:00:00 2001
From: Yash <67926590+Yash094@users.noreply.github.com>
Date: Fri, 18 Apr 2025 19:54:06 +0000
Subject: [PATCH 4/4] lint
---
.../src/components/blocks/APIHeader.tsx | 106 +++++++++---------
1 file changed, 53 insertions(+), 53 deletions(-)
diff --git a/apps/playground-web/src/components/blocks/APIHeader.tsx b/apps/playground-web/src/components/blocks/APIHeader.tsx
index fb05f7a0bb2..4411b6c43d9 100644
--- a/apps/playground-web/src/components/blocks/APIHeader.tsx
+++ b/apps/playground-web/src/components/blocks/APIHeader.tsx
@@ -4,63 +4,63 @@ import { cn } from "../../lib/utils";
import { Button } from "../ui/button";
export function PageHeader(props: {
- title: string;
- description: React.ReactNode;
- docsLink: string;
+ title: string;
+ description: React.ReactNode;
+ docsLink: string;
}) {
- return (
-
-
- {/* Left */}
-
-
- {props.title}
-
-
- {props.description}
-
-
+ return (
+
+
+ {/* Left */}
+
+
+ {props.title}
+
+
+ {props.description}
+
+
- {/* right */}
-
-
-
-
-
-
- );
+ {/* right */}
+
+
+
+
+
+
+ );
}
export function PageLayout(props: {
- title: string;
- description: React.ReactNode;
- docsLink: string;
- children: React.ReactNode;
- containerClassName?: string;
+ title: string;
+ description: React.ReactNode;
+ docsLink: string;
+ children: React.ReactNode;
+ containerClassName?: string;
}) {
- return (
-
-
-
- {props.children}
-
-
- );
+ return (
+
+
+
+ {props.children}
+
+
+ );
}