refactor: ♻️ Remove all "dev" indicators

This commit is contained in:
Jesse Wierzbinski 2025-01-17 15:46:46 +01:00
parent 3c39ace667
commit 635fae0c54
No known key found for this signature in database
4 changed files with 7 additions and 5 deletions

View file

@ -49,7 +49,7 @@ export default async function RootLayout({
<script
defer={true}
data-api="https://logs.cpluspatch.com/api/event"
data-domain="dev.versia.pub"
data-domain="versia.pub"
src="/pl.js"
/>
</head>

View file

@ -87,6 +87,6 @@
"globals": ["Bun"]
},
"files": {
"ignore": ["node_modules", ".next", ".output", "out"]
"ignore": ["node_modules", ".next", ".output", "out", "public/pl.js"]
}
}

View file

@ -51,7 +51,8 @@ export const Header = forwardRef<ElementRef<"div">, { className?: string }>(
ref={ref}
className={clsx(
className,
"fixed bg-construction bg-opacity-10 [background-size:57px_57px] inset-x-0 top-0 z-50 flex h-14 items-center justify-between gap-2 px-4 transition sm:px-6 lg:left-72 lg:z-30 lg:px-8 xl:left-80",
// Add bg-construction bg-opacity-10 [background-size:57px_57px] classes to make it striped
"fixed inset-x-0 top-0 z-50 flex h-14 items-center justify-between gap-2 px-4 transition sm:px-6 lg:left-72 lg:z-30 lg:px-8 xl:left-80",
!isInsideMobileNavigation &&
"backdrop-blur-sm lg:left-72 xl:left-80 dark:backdrop-blur",
isInsideMobileNavigation

View file

@ -1,6 +1,7 @@
import clsx from "clsx";
import type { ComponentPropsWithoutRef } from "react";
import { Badge } from "./Metadata";
// Uncomment this on dev branches
// import { Badge } from "./Metadata";
export function Logo(props: ComponentPropsWithoutRef<"div">) {
return (
@ -17,7 +18,7 @@ export function Logo(props: ComponentPropsWithoutRef<"div">) {
className="h-full rounded-sm"
/>
<span className="fill-zinc-900 dark:fill-white font-semibold text-lg">
Versia Protocol <Badge className="!h-6">Dev</Badge>
Versia Protocol {/* <Badge className="!h-6">Dev</Badge> */}
</span>
</div>
);