generated from dwd/boilarplate-astro-tailwind
commit
bbdd7d8fe8
|
@ -0,0 +1,23 @@
|
|||
export default function Index() {
|
||||
return (
|
||||
<section>
|
||||
<div
|
||||
style={{ textAlign: "center", color: "#8F8F8F", marginTop: "100px" }}
|
||||
>
|
||||
<img src="/assets/pageNotFound.png" />
|
||||
<h2>Page Not Found</h2>
|
||||
<p>
|
||||
Oops! It seems we are lost!
|
||||
<br /> Click below to go to the Home page
|
||||
</p>
|
||||
<br />
|
||||
<a href={"/"}>
|
||||
<button className="btn" style={{ background: "#0348A8" }}>
|
||||
Back to Home
|
||||
<img src="/assets/white_right.png" width={"14px"} />
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
import Layout from "../layouts/Layout.astro";
|
||||
import PageNotFound from "../components/PageNotFound/index.jsx";
|
||||
|
||||
|
||||
---
|
||||
|
||||
<Layout >
|
||||
<PageNotFound client:only="react" />
|
||||
</Layout>
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
import Layout from "../layouts/Layout.astro";
|
||||
import HomePage from "../components/Home/Home.jsx";
|
||||
|
||||
|
||||
---
|
||||
|
||||
<Layout >
|
||||
<HomePage client:only="react" />
|
||||
</Layout>
|
||||
|
||||
|
Loading…
Reference in New Issue