Skip to content

Commit 170ccd8

Browse files
authored
[playground] Add ruff logo docs link to Header.tsx (#18947)
1 parent 4a5715b commit 170ccd8

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

playground/shared/src/Header.tsx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,20 @@ function Logo({ name, className }: { name: "ruff" | "ty"; className: string }) {
8181
switch (name) {
8282
case "ruff":
8383
return (
84-
<svg
85-
height={32}
86-
viewBox="0 0 272 64"
87-
className={className}
88-
xmlns="http://www.w3.org/2000/svg"
89-
>
90-
<path
91-
fillRule="evenodd"
92-
clipRule="evenodd"
93-
d="M61.5 0C62.8807 0 64 1.11929 64 2.5V32.06C64 33.4407 62.8807 34.56 61.5 34.56H51.2V39.68H64V64H34.56V44.8H29.44V64H0V0H61.5ZM39.68 29.44V24.32H24.32V29.44H39.68ZM69.12 0H98.56V41.6H103.68V0H133.12V61.5C133.12 62.8807 132.001 64 130.62 64H71.62C70.2393 64 69.12 62.8807 69.12 61.5V0ZM202.24 0H145.86C144.479 0 143.36 1.11929 143.36 2.5V29.44H138.24V53.76H143.36V64H172.8V53.76H199.74C201.121 53.76 202.24 52.6407 202.24 51.26V29.44H172.8V24.32H202.24V0ZM214.98 0H271.36V24.32H241.92V29.44H271.36V51.26C271.36 52.6407 270.241 53.76 268.86 53.76H241.92V64H212.48V53.76H207.36V29.44H212.48V2.5C212.48 1.11929 213.599 0 214.98 0Z"
94-
/>
95-
</svg>
84+
<a href="https://docs.astral.sh/ruff">
85+
<svg
86+
height={32}
87+
viewBox="0 0 272 64"
88+
className={className}
89+
xmlns="http://www.w3.org/2000/svg"
90+
>
91+
<path
92+
fillRule="evenodd"
93+
clipRule="evenodd"
94+
d="M61.5 0C62.8807 0 64 1.11929 64 2.5V32.06C64 33.4407 62.8807 34.56 61.5 34.56H51.2V39.68H64V64H34.56V44.8H29.44V64H0V0H61.5ZM39.68 29.44V24.32H24.32V29.44H39.68ZM69.12 0H98.56V41.6H103.68V0H133.12V61.5C133.12 62.8807 132.001 64 130.62 64H71.62C70.2393 64 69.12 62.8807 69.12 61.5V0ZM202.24 0H145.86C144.479 0 143.36 1.11929 143.36 2.5V29.44H138.24V53.76H143.36V64H172.8V53.76H199.74C201.121 53.76 202.24 52.6407 202.24 51.26V29.44H172.8V24.32H202.24V0ZM214.98 0H271.36V24.32H241.92V29.44H271.36V51.26C271.36 52.6407 270.241 53.76 268.86 53.76H241.92V64H212.48V53.76H207.36V29.44H212.48V2.5C212.48 1.11929 213.599 0 214.98 0Z"
95+
/>
96+
</svg>
97+
</a>
9698
);
9799
case "ty":
98100
return (

0 commit comments

Comments
 (0)