mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
feat: ✨ Add dev notice
This commit is contained in:
parent
842e842e3c
commit
f67b327f75
|
|
@ -110,7 +110,8 @@ On all entities that have an `author` field, the `author` can be `null` to repre
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"versions": [
|
"versions": [
|
||||||
"0.3.0",
|
"0.3.0",
|
||||||
"0.4.0"
|
"0.4.0",
|
||||||
|
"0.5.0"
|
||||||
],
|
],
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"pub.versia:reactions",
|
"pub.versia:reactions",
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ This extension adds the following metadata to instances:
|
||||||
},
|
},
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"versions": [
|
"versions": [
|
||||||
"0.4.0"
|
"0.5.0"
|
||||||
],
|
],
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"pub.versia:reactions",
|
"pub.versia:reactions",
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ Accept: application/json
|
||||||
},
|
},
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"versions": [
|
"versions": [
|
||||||
"0.4.0"
|
"0.5.0"
|
||||||
],
|
],
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"pub.versia:reactions",
|
"pub.versia:reactions",
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ export const Header = forwardRef<ElementRef<"div">, { className?: string }>(
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
className,
|
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 &&
|
!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
|
||||||
|
|
@ -94,7 +94,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 4</Button>
|
<Button href="/changelog">Working Draft 5</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
import type { ComponentPropsWithoutRef } from "react";
|
import type { ComponentPropsWithoutRef } from "react";
|
||||||
|
import { Badge } from "./Metadata";
|
||||||
|
|
||||||
export function Logo(props: ComponentPropsWithoutRef<"div">) {
|
export function Logo(props: ComponentPropsWithoutRef<"div">) {
|
||||||
return (
|
return (
|
||||||
|
|
@ -16,7 +17,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
|
Versia Protocol <Badge className="!h-6">Dev</Badge>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -323,7 +323,7 @@ export function Navigation(props: ComponentPropsWithoutRef<"nav">) {
|
||||||
variant="filled"
|
variant="filled"
|
||||||
className="w-full"
|
className="w-full"
|
||||||
>
|
>
|
||||||
Working Draft 4
|
Working Draft 5
|
||||||
</Button>
|
</Button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,10 @@ export default {
|
||||||
animation: {
|
animation: {
|
||||||
roll: "roll 2s 1 ease-in-out",
|
roll: "roll 2s 1 ease-in-out",
|
||||||
},
|
},
|
||||||
|
backgroundImage: {
|
||||||
|
construction:
|
||||||
|
"linear-gradient(45deg, rgb(255 195 0 / var(--tw-bg-opacity)) 25%, rgb(46 39 37 / var(--tw-bg-opacity)) 25%, rgb(46 39 37 / var(--tw-bg-opacity)) 50%, rgb(255 195 0 / var(--tw-bg-opacity)) 50%, rgb(255 195 0 / var(--tw-bg-opacity)) 75%, rgb(46 39 37 / var(--tw-bg-opacity)) 75%, rgb(46 39 37 / var(--tw-bg-opacity)) 100%)",
|
||||||
|
},
|
||||||
keyframes: {
|
keyframes: {
|
||||||
roll: {
|
roll: {
|
||||||
"0%": { transform: "rotate(0deg)" },
|
"0%": { transform: "rotate(0deg)" },
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue