Skip to content

Commit 9998f67

Browse files
committed
feat: update UI text and styles for improved user experience
1 parent 0f24e36 commit 9998f67

File tree

6 files changed

+29
-24
lines changed

6 files changed

+29
-24
lines changed

app/(protected)/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ export default async function ProtectedLayout({ children }: Props.Layout) {
1616
<header className="relative z-40 overflow-visible border-b border-(--border) bg-(--surface-strong)/90 backdrop-blur">
1717
<div className="mx-auto flex w-full max-w-6xl flex-wrap items-center justify-between gap-3 px-4 py-4 sm:px-6 lg:px-8">
1818
<div className="flex items-center gap-2">
19-
<Link href="/books/search" className="text-lg font-semibold">
19+
<Link
20+
href="/books/search"
21+
className="text-4xl leading-none text-foreground"
22+
style={{ fontFamily: '"Romanesco", cursive' }}
23+
>
2024
Book by Book
2125
</Link>
2226
</div>

app/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import url("https://fonts.googleapis.com/css2?family=Romanesco&display=swap");
12
@import "tailwindcss";
23

34
:root {

app/page.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,48 +23,48 @@ export default async function Page() {
2323
Book by Book
2424
</p>
2525
<h1 className="max-w-3xl text-4xl font-semibold leading-tight sm:text-5xl">
26-
Build your reading life with social clubs and personal shelves.
26+
A social home for your reading life.
2727
</h1>
2828
<p className="mt-5 max-w-2xl text-lg text-(--muted)">
29-
Sign in, discover books from our vast catalog, and start shaping your
30-
next reads.
29+
Discover books, organize them on personal shelves, read together in
30+
clubs, and leave reviews and discussions that stay tied to each title.
3131
</p>
3232

3333
<div className="mt-8">
3434
<Link href="/signin" className={buttonStyles({ size: "lg" })}>
35-
Let the fun begin!
35+
Start your reading life
3636
</Link>
3737
</div>
3838

3939
<div className="mt-14 grid w-full gap-4 md:grid-cols-3">
4040
<Card>
4141
<CardHeader>
42-
<CardTitle>Search Fast</CardTitle>
43-
<CardDescription>Google Books-backed discovery</CardDescription>
42+
<CardTitle>Read together in clubs</CardTitle>
43+
<CardDescription>Shared boards and book threads</CardDescription>
4444
</CardHeader>
4545
<CardContent className="text-sm text-(--muted)">
46-
Find titles by author, title, or ISBN and add them directly to the
47-
clubs you manage.
46+
Track what your club wants to read, is reading, and has finished,
47+
then keep every discussion anchored to the book itself.
4848
</CardContent>
4949
</Card>
5050
<Card>
5151
<CardHeader>
52-
<CardTitle>Cache Reliable</CardTitle>
53-
<CardDescription>Local database copy</CardDescription>
52+
<CardTitle>Build personal shelves</CardTitle>
53+
<CardDescription>Private or public reading lists</CardDescription>
5454
</CardHeader>
5555
<CardContent className="text-sm text-(--muted)">
56-
Books added to your clubs are cached in Postgres and reused for
57-
book detail rendering.
56+
Create custom shelves for themes, moods, and reading projects, add
57+
notes, and share the lists you want others to browse.
5858
</CardContent>
5959
</Card>
6060
<Card>
6161
<CardHeader>
62-
<CardTitle>Milestone Ready</CardTitle>
63-
<CardDescription>Foundation for clubs</CardDescription>
62+
<CardTitle>Review books, not just lists</CardTitle>
63+
<CardDescription>Ratings that stay with the book</CardDescription>
6464
</CardHeader>
6565
<CardContent className="text-sm text-(--muted)">
66-
Auth and books are in place so clubs, threads, shelves, and reviews
67-
can layer on next.
66+
Leave your take on the book detail page, build a reviewed history,
67+
and see how other readers responded to the same title.
6868
</CardContent>
6969
</Card>
7070
</div>

app/signin/page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ export default async function SignInPage({ searchParams }: Props.Page) {
4545
<Card className="w-full border-2 bg-(--surface-strong)">
4646
<CardHeader>
4747
<CardTitle className="text-3xl">Sign in to Book by Book</CardTitle>
48-
<CardDescription>
49-
Google login is required for milestone 1 and ready for future
50-
provider extensions.
51-
</CardDescription>
48+
<CardDescription></CardDescription>
5249
</CardHeader>
5350
<CardContent className="space-y-4">
5451
{errorMessage ? (

components/auth/sign-in-google-button.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default function SignInGoogleButton({
5454
</svg>
5555
</span>
5656
<span className="google-signin-contents">
57-
{isPending ? "Redirecting..." : "Sign in with Google"}
57+
{isPending ? "Redirecting..." : "Continue with Google"}
5858
</span>
5959
</span>
6060
</button>
@@ -90,7 +90,10 @@ export default function SignInGoogleButton({
9090
padding: 0;
9191
position: relative;
9292
text-align: center;
93-
transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
93+
transition:
94+
transform 0.18s ease,
95+
box-shadow 0.2s ease,
96+
filter 0.2s ease;
9497
vertical-align: middle;
9598
white-space: nowrap;
9699
width: 100%;

components/ui/flash-toast.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function buildToastItems(message: string | null, error: string | null) {
4343
export function FlashToast({
4444
message = null,
4545
error = null,
46-
durationMs = 2000,
46+
durationMs = 1500,
4747
}: FlashToastProps) {
4848
const router = useRouter();
4949
const pathname = usePathname();

0 commit comments

Comments
 (0)