mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
refactor: ♻️ Remove all "dev" indicators
This commit is contained in:
parent
3c39ace667
commit
635fae0c54
|
|
@ -49,7 +49,7 @@ export default async function RootLayout({
|
||||||
<script
|
<script
|
||||||
defer={true}
|
defer={true}
|
||||||
data-api="https://logs.cpluspatch.com/api/event"
|
data-api="https://logs.cpluspatch.com/api/event"
|
||||||
data-domain="dev.versia.pub"
|
data-domain="versia.pub"
|
||||||
src="/pl.js"
|
src="/pl.js"
|
||||||
/>
|
/>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,6 @@
|
||||||
"globals": ["Bun"]
|
"globals": ["Bun"]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"ignore": ["node_modules", ".next", ".output", "out"]
|
"ignore": ["node_modules", ".next", ".output", "out", "public/pl.js"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,8 @@ export const Header = forwardRef<ElementRef<"div">, { className?: string }>(
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
className,
|
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 &&
|
!isInsideMobileNavigation &&
|
||||||
"backdrop-blur-sm lg:left-72 xl:left-80 dark:backdrop-blur",
|
"backdrop-blur-sm lg:left-72 xl:left-80 dark:backdrop-blur",
|
||||||
isInsideMobileNavigation
|
isInsideMobileNavigation
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
import type { ComponentPropsWithoutRef } from "react";
|
import type { ComponentPropsWithoutRef } from "react";
|
||||||
import { Badge } from "./Metadata";
|
// Uncomment this on dev branches
|
||||||
|
// import { Badge } from "./Metadata";
|
||||||
|
|
||||||
export function Logo(props: ComponentPropsWithoutRef<"div">) {
|
export function Logo(props: ComponentPropsWithoutRef<"div">) {
|
||||||
return (
|
return (
|
||||||
|
|
@ -17,7 +18,7 @@ export function Logo(props: ComponentPropsWithoutRef<"div">) {
|
||||||
className="h-full rounded-sm"
|
className="h-full rounded-sm"
|
||||||
/>
|
/>
|
||||||
<span className="fill-zinc-900 dark:fill-white font-semibold text-lg">
|
<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>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue