diff --git a/src/index/Canvas.tsx b/src/index/Canvas.tsx index 0dc6770..314f9d6 100644 --- a/src/index/Canvas.tsx +++ b/src/index/Canvas.tsx @@ -1,9 +1,15 @@ +import {motion} from "framer-motion"; +import "./canvas.scss"; + export function Canvas() { return ( - <> -
-

Welcome to my blog

-
- +
+ + Welcome to my blog + + + + +
) } \ No newline at end of file diff --git a/src/index/canvas.scss b/src/index/canvas.scss new file mode 100644 index 0000000..57ad5bf --- /dev/null +++ b/src/index/canvas.scss @@ -0,0 +1,16 @@ +main { + width: 100vw; + height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + padding-top: 10%; + background: black; + color: white; +} + +.welcome { + text-align: center; + top: 25%; + position: relative; +} \ No newline at end of file