Skip to content

Commit 95a1558

Browse files
committed
home page
1 parent bd6fbac commit 95a1558

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

src/routes/[...404].mdx

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/routes/[...404].tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { HttpStatusCode } from "@solidjs/start";
2+
3+
export default function Error404() {
4+
return (
5+
<>
6+
<p class="p-8 text-center">404 not found</p>
7+
<HttpStatusCode code={404} />
8+
</>
9+
);
10+
}

src/routes/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ export default function Home() {
44
return (
55
<div class="w-full flex justify-center overflow-x-hidden">
66
<div class="h-screen w-full p-6 md:w-2/3 flex flex-col items-center justify-center">
7-
<Art imagePath="/public/imagewbg.png" />
7+
<Art imagePath="/imagewbg.png" />
88
<div class="flex w-full items-center gap-4">
9-
<img src="/public/image.png" alt="logo" class="h-12" />
9+
<img src="/image.png" alt="logo" class="h-12" />
1010
<h1 class="text-white text-2xl md:text-3xl font-bold">Flora</h1>
1111
</div>
1212
<p class="text-white z-[10] self-start text-left text-lg md:text-xl leading-8 mt-6 mb-3">

0 commit comments

Comments
 (0)