diff --git a/frontend/src/components/HeroText.tsx b/frontend/src/components/HeroText.tsx new file mode 100644 index 00000000..103faa1c --- /dev/null +++ b/frontend/src/components/HeroText.tsx @@ -0,0 +1,31 @@ +"use client"; + +import { TypewriterEffectSmooth } from "./ui/TypeWriter"; + +export function TypewriterEffectSmoothDemo() { + const words = [ + { + text: "Welcome", + className:"text-5xl text-white" + }, + { + text: "To", + className:"text-5xl text-white" + }, + { + text: "Style", + className: "text-blue-500 text-5xl", + }, + { + text: "Share", + className: "text-blue-500 text-5xl", + }, + + ]; + return ( +
+ +
+ + ); +} diff --git a/frontend/src/pages/Home.tsx b/frontend/src/pages/Home.tsx index a0fc2a86..a1c36731 100644 --- a/frontend/src/pages/Home.tsx +++ b/frontend/src/pages/Home.tsx @@ -1,18 +1,25 @@ import { Link } from "react-router-dom"; +import { TypewriterEffectSmoothDemo } from "../components/HeroText"; +import MagicButton from "../components/ui/MagicButton"; function Home() { return (
-

Welcome to Style Share

-

+

+ {/* Welcome to Style Share */} + +

+

A simple web based platform where users can easily create, explore, and share Tailwind CSS components and designs with fellow users.

- +
+ + + +
{/*
*/}