Skip to content

Commit d393f4b

Browse files
committed
Add hero component
1 parent 90ffa3c commit d393f4b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

src/app/home.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { AppGitHubReadme } from "@/components/libresplit/AppGitHubReadme";
2+
import { AppHero } from "@/components/libresplit/AppHero";
23

34
export function Home() {
45
return (
5-
<div>
6+
<div className="flex w-screen flex-col items-center justify-center">
7+
<AppHero />
68
<AppGitHubReadme />
79
</div>
810
);
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { TextScramble } from "../ui/text-scramble";
2+
3+
export function AppHero() {
4+
return (
5+
<div className="flex flex-col items-center justify-center">
6+
<p className="text-bold text-6xl">LibreSplit</p>
7+
<TextScramble characterSet="_" speed={28}>
8+
Free speedrun timer with auto splitting and load removal for Linux.
9+
</TextScramble>
10+
</div>
11+
);
12+
}

0 commit comments

Comments
 (0)