mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 14:28:20 +01:00
fix: 🐛 Begin v0.6 draft
This commit is contained in:
parent
be79c569a1
commit
3117b376c9
|
|
@ -52,7 +52,7 @@ export const Header = forwardRef<ElementRef<"div">, { className?: string }>(
|
||||||
className={clsx(
|
className={clsx(
|
||||||
className,
|
className,
|
||||||
// Add bg-construction bg-opacity-10 [background-size:57px_57px] classes to make it striped
|
// 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",
|
"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 bg-construction bg-opacity-10 [background-size:57px_57px]",
|
||||||
!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
|
||||||
|
|
@ -95,7 +95,7 @@ export const Header = forwardRef<ElementRef<"div">, { className?: string }>(
|
||||||
<ThemeToggle />
|
<ThemeToggle />
|
||||||
</div>
|
</div>
|
||||||
<div className="hidden min-[500px]:contents">
|
<div className="hidden min-[500px]:contents">
|
||||||
<Button href="/changelog">Working Draft 5</Button>
|
<Button href="/changelog">Working Draft 6</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
import type { ComponentPropsWithoutRef } from "react";
|
import type { ComponentPropsWithoutRef } from "react";
|
||||||
// Uncomment this on dev branches
|
// Uncomment this on dev branches
|
||||||
// import { Badge } from "./Metadata";
|
import { Badge } from "./Metadata";
|
||||||
|
|
||||||
export function Logo(props: ComponentPropsWithoutRef<"div">) {
|
export function Logo(props: ComponentPropsWithoutRef<"div">) {
|
||||||
return (
|
return (
|
||||||
|
|
@ -18,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>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -334,7 +334,7 @@ export function Navigation(props: ComponentPropsWithoutRef<"nav">) {
|
||||||
variant="filled"
|
variant="filled"
|
||||||
className="w-full"
|
className="w-full"
|
||||||
>
|
>
|
||||||
Working Draft 5
|
Working Draft 6
|
||||||
</Button>
|
</Button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue