diff --git a/src/web/src/components/header/default.jsx b/src/web/src/components/header/default.jsx index 24cf4ed..b940230 100644 --- a/src/web/src/components/header/default.jsx +++ b/src/web/src/components/header/default.jsx @@ -3,10 +3,11 @@ import Link from "next/link"; import { motion } from "framer-motion"; import { Links, LinkColors } from "@/components/header/constants"; +import Container from "@/components/ui/container"; function DefaultHeader() { return ( -
+ -
+ ); } diff --git a/src/web/src/components/hero/content.jsx b/src/web/src/components/hero/content.jsx index 292d8dd..eb6b123 100644 --- a/src/web/src/components/hero/content.jsx +++ b/src/web/src/components/hero/content.jsx @@ -4,6 +4,7 @@ import Typewriter from 'typewriter-effect'; import { motion } from 'framer-motion'; import React, { useState, useEffect } from 'react'; import Image from 'next/image'; +import Container from "@/components/ui/container"; function Portrait() { const fadeInAnimation = { @@ -31,10 +32,9 @@ function Portrait() { function Content() { return ( - <> +
-
- + ); }; diff --git a/src/web/src/components/hero/index.jsx b/src/web/src/components/hero/index.jsx index 11d1910..5d2cca3 100644 --- a/src/web/src/components/hero/index.jsx +++ b/src/web/src/components/hero/index.jsx @@ -5,9 +5,7 @@ import Content from '@/components/hero/content'; function Hero() { return ( -
- -
+ ); } diff --git a/src/web/src/components/ui/grid.jsx b/src/web/src/components/ui/grid.jsx deleted file mode 100644 index 10c2506..0000000 --- a/src/web/src/components/ui/grid.jsx +++ /dev/null @@ -1,37 +0,0 @@ -"use client" - -import React, { useState } from 'react'; - -const Grid = () => { - const [squares, setSquares] = useState([]); - - const handleClick = (event) => { - const { clientX, clientY } = event; - const newSquares = []; - - for (let i = 0; i < 25; i++) { - const left = clientX - 50 + Math.random() * 100; - const top = clientY - 50 + Math.random() * 100; - const color = `rgb(${Math.random() * 255}, ${Math.random() * 255}, ${Math.random() * 255})`; - - newSquares.push({ left, top, color }); - } - - setSquares(newSquares); - }; - - return ( -
- {squares.map((square, index) => ( -
- ))} -
- ); -}; - -export default Grid; -