diff --git a/src/app/protocol/avatars/page.tsx b/src/app/protocol/avatars/page.tsx new file mode 100644 index 0000000..f0b9e0b --- /dev/null +++ b/src/app/protocol/avatars/page.tsx @@ -0,0 +1,29 @@ +import { ArrowLeft } from "lucide-react"; +import Link from "next/link"; +import Text from "@/components/blocks/Text"; +import PageTitle from "@/components/blocks/PageTitle"; +import InlineCode from "@/components/blocks/InlineCode"; +import Code from "@/components/blocks/Code"; + +export default function Avatars() { + return ( +
+ + Go Back + + Avatars + + To add an avatar to your message, + the client only needs to add 0x06 byte and the specific suffix + !!AR!!, then the image url. + Here's a simple example: + + {"\\x06!!AR!!https://meex.lol/assets/nyashka.gif"} +
+ ); +} diff --git a/src/app/protocol/page.tsx b/src/app/protocol/page.tsx index 3ad94fc..506ffab 100644 --- a/src/app/protocol/page.tsx +++ b/src/app/protocol/page.tsx @@ -30,6 +30,12 @@ export default function Protocol() { curator: "@kostya-zero", href: "/protocol/user-agents", }, + { + name: "Avatars", + desc: "An explanation of the basic user-made implementation of avatars in RAC clients.", + curator: "@MeexReay", + href: "/protocol/avatars", + }, ]; return ( diff --git a/src/app/protocol/user-agents/page.tsx b/src/app/protocol/user-agents/page.tsx index f7c0485..6ba337f 100644 --- a/src/app/protocol/user-agents/page.tsx +++ b/src/app/protocol/user-agents/page.tsx @@ -19,7 +19,7 @@ type UserAgent = { color: string; }; -export default function Wrac() { +export default function UserAgents() { const userAgents: UserAgent[] = [ { client: "Tower",