Remove private header from playground
Remove private header from playground Before we miss removing this from the public release, I think we can remove this header now already. We're still behind a secret URL + password.
Jan Kassens committed
Mar 18, 2024 at 16:53 UTC
8c8e318bd4182186699814992e56245ba64c89b3
1 file changed
+2
-13
compiler/apps/playground/components/Header.tsx
+2
-13
@@ -53,26 +53,15 @@ export default function Header() {
53
};
54
55
return (
56
- <div className="flex items-center justify-between w-screen px-5 py-3 border-b border-gray-200 fixed bg-white z-10 h-14">
56
+ <div className="fixed z-10 flex items-center justify-between w-screen px-5 py-3 bg-white border-b border-gray-200 h-14">
57
<div className="flex items-center flex-none h-full gap-2 text-lg">
58
<Logo
59
className={clsx(
60
"w-8 h-8 text-link",
61
- process.env.NODE_ENV === "development" && "text-yellow-600"
61
+ process.env.NODE_ENV === "development" && "text-yellow-600",
62
)}
63
/>
64
<p className="hidden select-none sm:block">React Forget Playground</p>
65
- <div
66
- title="Do not share this outside of Meta"
67
- className={clsx(
68
- "px-1 mb-px text-sm font-bold tracking-wide uppercase rounded bg-highlight dark:bg-highlight-dark whitespace-nowrap",
69
- process.env.NODE_ENV === "development"
70
- ? "text-yellow-600"
71
- : "text-red-600"
72
- )}
73
- >
74
- {process.env.NODE_ENV === "development" ? "DEV" : "Private"}
75
- </div>
65
</div>
66
<div className="flex items-center text-[15px] gap-4">
67
<button