Skip to content

Commit e158ece

Browse files
committed
doc: UI tweaks
1 parent 72f8c2f commit e158ece

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

packages/docs/src/app/(pages)/_landing/hero.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export function HeroSection() {
1818
<br />
1919
state manager for React
2020
</p>
21-
<WorksWith className="mb-10" />
2221
<nav className="flex flex-wrap gap-4">
2322
<Link
2423
href="/docs"
@@ -46,6 +45,7 @@ export function HeroSection() {
4645
GitHub
4746
</a>
4847
</nav>
48+
<WorksWith className="mt-10" />
4949
</aside>
5050
<aside className="relative my-4 xl:my-auto xl:flex-1 xl:pt-4">
5151
<LandingDemo />

packages/docs/src/app/(pages)/_landing/sponsors.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function SponsorsSection() {
1717
<img
1818
src={sponsor.img}
1919
alt={sponsor.name ?? sponsor.handle}
20-
className="mx-auto size-28 rounded-full"
20+
className="mx-auto size-32 rounded-full"
2121
width={128}
2222
height={128}
2323
/>

packages/docs/src/app/(pages)/_landing/works-with.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ import { ComponentProps } from 'react'
44
export function WorksWith({ className, ...props }: ComponentProps<'div'>) {
55
return (
66
<div
7-
className={cn(
8-
'flex items-center justify-center gap-6 text-4xl',
9-
className
10-
)}
7+
className={cn('flex items-center gap-6 text-3xl', className)}
118
{...props}
129
>
1310
<p className="sr-only">Works with</p>

packages/docs/src/app/(pages)/blog/[slug]/page.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,16 @@ export default async function Page(props: {
2525
</div>
2626
<div className="container flex max-w-[900px] flex-col gap-4 px-4 text-sm sm:flex-row sm:items-center sm:justify-between lg:px-8">
2727
<a
28-
href="https://x.com/fortysevenfx"
28+
href="https://bsky.app/profile/francoisbest.com"
2929
className="flex items-center gap-3 rounded-lg px-2 py-1 hover:bg-foreground/5"
3030
aria-description="Author"
3131
>
3232
<Logo47ng size={8} />
3333
<div>
3434
<p className="font-semibold">François Best</p>
35-
<p className="text-xs text-fd-muted-foreground">@fortysevenfx</p>
35+
<p className="text-xs text-fd-muted-foreground">
36+
@francoisbest.com
37+
</p>
3638
</div>
3739
</a>
3840
{page.data.date && (

0 commit comments

Comments
 (0)