Files
Hayden Bleasel 101ca62c2d Update docs styles (#22)
* Initial implementation

* Bump deps

* Update code-block.tsx

* Update navbar.tsx

* Move video to Geistdocs

* Update layout.tsx

* Margin fixes

* Update code-block-tabs.tsx

* Update docs-page.tsx

* Update navbar.tsx

* Add feed

* Update docs-layout.tsx

* Update mobile-menu.tsx

* Fix adaptable layout

* Update docs-page.tsx

* Update docs page composability

* Update global.css

* Remove unused AI Elements

* Update Feedback
2025-11-14 11:56:29 -08:00

29 lines
600 B
TypeScript

import Image from "next/image";
type AuthorProps = {
name: string;
image: string;
href: string;
};
export const Author = (props: AuthorProps) => (
<span className="ml-0.5 inline-flex items-center gap-1.5 align-bottom">
<Image
alt={props.name}
className="my-0! inline-flex overflow-hidden rounded-full"
height={20}
src={props.image}
unoptimized
width={20}
/>
<a
className="font-normal text-primary no-underline"
href={props.href}
rel="noopener noreferrer"
target="_blank"
>
{props.name}
</a>
</span>
);