added more structure, sass, and page routers
This commit is contained in:
parent
c774dff9e0
commit
bda7b7224a
23 changed files with 767 additions and 158 deletions
21
src/pages/PageHome.jsx
Normal file
21
src/pages/PageHome.jsx
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// Page - Home
|
||||
import { useEffect } from 'react';
|
||||
|
||||
const PageHome = () => {
|
||||
|
||||
useEffect(()=>{
|
||||
document.title = 'Home';
|
||||
},[]);
|
||||
|
||||
return (
|
||||
<main>
|
||||
<section>
|
||||
<h2>Home Page</h2>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugit porro, dolorem, quod facere enim voluptate provident quo labore vero repellat nemo animi ad exercitationem rem quos, possimus libero deleniti laudantium?</p>
|
||||
</section>
|
||||
</main>
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
export default PageHome;
|
||||
21
src/pages/PageNotFound.jsx
Normal file
21
src/pages/PageNotFound.jsx
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// Page - Not Found
|
||||
import { useEffect } from 'react';
|
||||
|
||||
const PageNotFound = () => {
|
||||
|
||||
useEffect(()=>{
|
||||
document.title = 'Page Not Found';
|
||||
},[]);
|
||||
|
||||
return (
|
||||
<main>
|
||||
<section>
|
||||
<h2>404</h2>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugit porro, dolorem, quod facere enim voluptate provident quo labore vero repellat nemo animi ad exercitationem rem quos, possimus libero deleniti laudantium?</p>
|
||||
</section>
|
||||
</main>
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
export default PageNotFound;
|
||||
Loading…
Add table
Add a link
Reference in a new issue