Skip to content

Commit 2062db9

Browse files
committed
fix: proj header
Signed-off-by: Innei <[email protected]>
1 parent c32a5a0 commit 2062db9

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/app/projects/page.tsx

+6-8
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,9 @@ export default function Page() {
3131
if (!data) return <NothingFound />
3232

3333
return (
34-
<div>
35-
<header className="prose">
36-
<h1>项目们</h1>
37-
</header>
38-
39-
<main className="mt-10">
40-
<div className="my-12 inline-flex items-center text-3xl font-medium">
34+
<div className="mt-10">
35+
<header className="prose my-12 flex items-center">
36+
<h1 className="flex items-center">
4137
项目{' '}
4238
{githubUsername && (
4339
<a
@@ -50,7 +46,9 @@ export default function Page() {
5046
<CodiconGithubInverted />
5147
</a>
5248
)}
53-
</div>
49+
</h1>
50+
</header>
51+
<main>
5452
<BottomToUpTransitionView>
5553
<ProjectList projects={data || noopArr} />
5654
</BottomToUpTransitionView>

0 commit comments

Comments
 (0)