docs: streamline quickstart

This commit is contained in:
Andrey Avtomonov 2026-05-18 18:36:03 +02:00
parent 7d156d9a06
commit e875cbab54
7 changed files with 131 additions and 251 deletions

View file

@ -25,12 +25,12 @@ export function CopyButton({ text, className = "" }: Props) {
type="button"
onClick={onClick}
aria-label={copied ? "Copied" : "Copy code"}
className={`inline-flex items-center justify-center w-7 h-7 rounded-md transition-all hover:bg-white/5 ${className}`}
className={`inline-flex items-center justify-center w-9 h-9 rounded-md transition-all hover:bg-white/5 ${className}`}
>
{copied ? (
<svg
width="14"
height="14"
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
@ -44,8 +44,8 @@ export function CopyButton({ text, className = "" }: Props) {
</svg>
) : (
<svg
width="13"
height="13"
width="17"
height="17"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"

View file

@ -19,7 +19,7 @@ export function DocsPageActions({ mdxSource }: Props) {
setCopied(true);
setTimeout(() => setCopied(false), 1500);
} catch {
// Clipboard denied fail silently
// Clipboard denied - fail silently
}
};