-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07da3d3
commit 668ff52
Showing
6 changed files
with
126 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,30 @@ | ||
import React from "react"; | ||
import React, { useEffect, useState } from "react"; | ||
import Layout from "./components/Layout"; | ||
|
||
import "./App.css"; | ||
|
||
const App = () => { | ||
return ( | ||
<Layout> | ||
|
||
</Layout> | ||
const [isLoading, setIsLoading] = useState(true); | ||
useEffect( | ||
() => | ||
setTimeout(() => { | ||
setIsLoading(false); | ||
}, 2000), | ||
[] | ||
); | ||
if (isLoading) { | ||
return ( | ||
<div className="w-full h-screen flex justify-center items-center bg-black "> | ||
<div className="loading-box"> | ||
<div className="loading-text-box"> | ||
<h3 className="loading-text">Raphtalia Kay</h3> | ||
</div> | ||
<span className="loading-underline"> </span> | ||
</div> | ||
</div> | ||
); | ||
} | ||
return <Layout></Layout>; | ||
}; | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters