mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
feat: ✨ Add dev notice
This commit is contained in:
parent
842e842e3c
commit
f67b327f75
7 changed files with 13 additions and 7 deletions
|
|
@ -51,7 +51,7 @@ export const Header = forwardRef<ElementRef<"div">, { className?: string }>(
|
|||
ref={ref}
|
||||
className={clsx(
|
||||
className,
|
||||
"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",
|
||||
"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",
|
||||
!isInsideMobileNavigation &&
|
||||
"backdrop-blur-sm lg:left-72 xl:left-80 dark:backdrop-blur",
|
||||
isInsideMobileNavigation
|
||||
|
|
@ -94,7 +94,7 @@ export const Header = forwardRef<ElementRef<"div">, { className?: string }>(
|
|||
<ThemeToggle />
|
||||
</div>
|
||||
<div className="hidden min-[500px]:contents">
|
||||
<Button href="/changelog">Working Draft 4</Button>
|
||||
<Button href="/changelog">Working Draft 5</Button>
|
||||
</div>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import clsx from "clsx";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
import { Badge } from "./Metadata";
|
||||
|
||||
export function Logo(props: ComponentPropsWithoutRef<"div">) {
|
||||
return (
|
||||
|
|
@ -16,7 +17,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
|
||||
Versia Protocol <Badge className="!h-6">Dev</Badge>
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -323,7 +323,7 @@ export function Navigation(props: ComponentPropsWithoutRef<"nav">) {
|
|||
variant="filled"
|
||||
className="w-full"
|
||||
>
|
||||
Working Draft 4
|
||||
Working Draft 5
|
||||
</Button>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue