diff --git a/src/components/core/Cdiv.js b/src/components/core/Cdiv.js new file mode 100644 index 0000000..e7fa8e5 --- /dev/null +++ b/src/components/core/Cdiv.js @@ -0,0 +1,15 @@ +//============================================================ +// Essential Imports +//============================================================ + +import React from 'react'; +import clsx from 'clsx'; + +//============================================================ +// Component +//============================================================ + +const Cdiv = ({ className, children }) => { + return
{children}
; +}; +export default Cdiv; diff --git a/src/components/pages/Front.page.js b/src/components/pages/Front.page.js index 1eb2bf7..a2a5814 100644 --- a/src/components/pages/Front.page.js +++ b/src/components/pages/Front.page.js @@ -9,6 +9,7 @@ import React from 'react'; //============================================================ import AppearText from '../text/AppearText'; +import Cdiv from '../core/Cdiv'; //============================================================ // Component @@ -16,10 +17,37 @@ import AppearText from '../text/AppearText'; const FrontPage = () => { return ( -
-
- - +
+ + + + + + + + + + + + + +
+
+ + +
); diff --git a/src/components/text/AppearText.js b/src/components/text/AppearText.js index 28e00cc..23dacd9 100644 --- a/src/components/text/AppearText.js +++ b/src/components/text/AppearText.js @@ -10,7 +10,7 @@ import clsx from 'clsx'; //============================================================ const AppearText = ({ text, delay, className }) => { - const [showText, setShowText] = useState(''); + const [showText, setShowText] = useState('opacity-0'); useEffect(() => { const timer = setTimeout(() => { @@ -24,7 +24,7 @@ const AppearText = ({ text, delay, className }) => { return ( <> -

+

{text}