Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb3e6891

Browse files
committed
fix image
1 parentc3cd78f commitb3e6891

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

‎app/create/page.tsx‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client'
22

3-
import{X}from'lucide-react'
3+
import{Sparkles,X}from'lucide-react'
44
importImagefrom'next/image'
55
import{useActionState,useEffect,useState}from'react'
66

@@ -76,9 +76,17 @@ export default function Home() {
7676

7777
return(
7878
<divclassName="mx-auto max-w-4xl p-8">
79-
<h1className="mb-8 text-center text-4xl font-bold">
80-
Book Graph Generator
81-
</h1>
79+
<divclassName="relative z-10 mx-auto max-w-7xl px-6 py-20 text-center">
80+
<divclassName="mb-8">
81+
<spanclassName="inline-flex items-center rounded-full border border-teal-300 bg-white px-4 py-2 text-sm font-medium text-teal-700">
82+
<SparklesclassName="mr-2 h-4 w-4"/>
83+
Discover Story Relationships
84+
</span>
85+
</div>
86+
<h1className="mb-6 text-5xl leading-tight font-bold text-teal-800 md:text-7xl">
87+
Find Your Book
88+
</h1>
89+
</div>
8290

8391
<formaction={handleSubmit}className="space-y-6">
8492
<divclassName="relative">

‎app/page.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,16 @@ export default function HomePage() {
4949
<BookOpenclassName="mr-2 h-4 w-4"/>
5050
Sample: &quot;Sense and Sensibility&quot; by Jane Austen
5151
</div>
52-
5352
<Image
53+
className="mx-auto items-center"
5454
src="/austen-pages.dev-sense-and-sensibility-jane-austen-graph.svg"
5555
width={720}
5656
height={540}
57+
layout="responsive"
5758
objectFit="cover"
5859
alt="Sense and Sensibility Story Book Relationships Graph"
60+
placeholder="blur"
61+
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mM89R8AApkBy17XrZoAAAAASUVORK5CYII="
5962
/>
6063
</div>
6164
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp