This commit is contained in:
MeexReay 2025-08-31 07:26:39 +03:00
commit 7f0e79ea14
4 changed files with 12 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -27,7 +27,7 @@ export default function Protocol() {
{
name: "User Agents",
desc: "A community-made solution to identify clients by a unique symbol in front of their username.",
curator: "@kostya-zero",
curator: "@MeexReay",
href: "/protocol/user-agents",
},
{

View File

@ -11,7 +11,6 @@ import {
import Text from "@/components/blocks/Text";
import PageTitle from "@/components/blocks/PageTitle";
import Code from "@/components/blocks/Code";
import InlineCode from "@/components/blocks/InlineCode";
type UserAgent = {
client: string;
@ -79,16 +78,19 @@ export default function UserAgents() {
<b>User Agents</b>.
</Text>
<Text>
User Agents in RAC are implemented by adding an extra Unicode symbol as
a prefix to usernames. For example, a message sent with the Tower
User Agents in RAC are implemented by changing the message regex.
For example, a message sent with the Tower
client:
</Text>
<Code>{"▲<zero> Hello, world!"}</Code>
<Text>
The <InlineCode></InlineCode> symbol in front of the username indicates
that this message was sent using the Tower client. The client should use
regex to parse these messages and determine the client, username, and
message.
It can be just a prefix, or actually a new message structure,
For example, first versions of Mefedroniy, sent messages like this:
</Text>
<Code>{"banon: Hello, world!"}</Code>
<Text>
That{"'"}s why the clients should use regex to parse these messages
and determine the client, username, and message.
</Text>
<h3 className={"text-3xl text-stone-300 font-semibold font-rokkitt"}>
Known Agents

View File

@ -1,5 +1,6 @@
"use client";
import Link from "next/link";
import HoverLink from "@/components/HoverLink";
import { usePathname } from "next/navigation";
@ -9,7 +10,7 @@ export default function NavBar() {
return (
<header className={"w-full flex flex-row items-end justify-between"}>
<h1 className={"text-5xl text-stone-200 font-rokkitt font-bold"}>
Racinfo
<Link href="/">Racinfo</Link>
</h1>
<nav className={"flex flex-row items-center gap-4 mb-2"}>
<HoverLink