+
{lang && (
-
-
- {getFullLang(lang)}
+
+ {["sh", "bash", "zsh"].includes(lang) ? (
+ <>
+
+ Shell
+ >
+ ) : (
+ <>
+
+ {lang}
+ >
+ )}
)}
{showCopyButton && (
)}
diff --git a/components/heading-anchor.tsx b/components/heading-anchor.tsx
index f7ad5676..55625d61 100644
--- a/components/heading-anchor.tsx
+++ b/components/heading-anchor.tsx
@@ -13,7 +13,7 @@ const HeadingAnchor = ({ id, title, className }: { id: string; title: string; cl
aria-hidden="true"
tabIndex={-1}
>
-
+
Permalink to “{reactToText(title)}”
);
diff --git a/components/layout/footer.tsx b/components/layout/footer.tsx
index 3f184d34..60370456 100644
--- a/components/layout/footer.tsx
+++ b/components/layout/footer.tsx
@@ -25,7 +25,7 @@ const Footer = ({ className, ...rest }: ComponentPropsWithoutRef<"footer">) => {
Made with{" "}
-
{" "}
+
{" "}
and{" "}
) => {
stroke="currentColor"
strokeWidth="0"
viewBox="0 0 24 24"
- className="mx-0.5 inline size-4 align-text-top"
+ className="mx-[1px] inline size-4 align-text-top"
>
diff --git a/components/layout/header.tsx b/components/layout/header.tsx
index 03b5f8a5..a1ab076f 100644
--- a/components/layout/header.tsx
+++ b/components/layout/header.tsx
@@ -31,7 +31,7 @@ const Header = ({ className, ...rest }: ComponentPropsWithoutRef<"header">) => {
-
+
);
};
diff --git a/components/layout/menu.tsx b/components/layout/menu.tsx
index 25b52139..dc045b8b 100644
--- a/components/layout/menu.tsx
+++ b/components/layout/menu.tsx
@@ -13,7 +13,7 @@ const Menu = ({ className, ...rest }: ComponentPropsWithoutRef<"ul">) => {
return (
li]:first-of-type:hidden",
+ "flex max-w-2/3 flex-row justify-between md:max-w-none md:justify-end md:gap-4 max-sm:[&>li]:first-of-type:hidden",
className
)}
{...rest}
diff --git a/components/layout/skip-nav.tsx b/components/layout/skip-nav.tsx
index d3fed507..3723ae61 100644
--- a/components/layout/skip-nav.tsx
+++ b/components/layout/skip-nav.tsx
@@ -1,8 +1,8 @@
import Button from "@/components/ui/button";
-const SKIP_NAV_ID = "skip-nav";
+export const SKIP_NAV_ID = "skip-nav";
-export const SkipNavLink = () => {
+const SkipNavButton = () => {
return (