From 0713ad752199e87601d263f6510cf9503ce0ec82 Mon Sep 17 00:00:00 2001 From: tymur999 Date: Sun, 1 Mar 2026 22:07:33 -0600 Subject: [PATCH] canvas init --- src/index/Canvas.tsx | 16 +++++++++++----- src/index/canvas.scss | 16 ++++++++++++++++ 2 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 src/index/canvas.scss 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