Skip to content

Commit

Permalink
update Home.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohitha-pudu committed Jun 3, 2024
1 parent efffec2 commit 896b906
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/HeroText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TypewriterEffectSmooth } from "./ui/TypeWriter";
export function TypewriterEffectSmoothDemo() {
const words = [
{
text: "Welcome",
text: "👋Welcome",
className:"md:text-5xl text-3xl text-white"
},
{
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ import bgHero from "../assets/bgHero.png";
import '../styles/hero.css'
import About from "./About";
import HomePagePost from "./HomePagePosts";
import { TypewriterEffectSmoothDemo } from "../components/HeroText";

function Home() {
return (
<div className="min-h-screen bg-[#000435] text-white" style={{ backgroundImage: `url(${bgHero})`, backgroundSize: 'cover', backgroundPosition: 'center' }}>
<div className="w-full bg-[#000435] py-16 px-4" style={{ backgroundImage: `url(${bgHero})`, backgroundSize: 'cover', backgroundPosition: 'center' }}>
<div className="max-w-[1240px] mx-auto grid md:grid-cols-2">
<div className="flex flex-col justify-center">
<h1 className="text-6xl font-extrabold leading-tight pb-3">👋 Welcome to <span className="bg-gradient-to-r from-blue-600 via-blue-500 to-white inline-block text-transparent bg-clip-text">Style Share !</span></h1>
<h1>
<TypewriterEffectSmoothDemo/>
</h1>
<h1 className='md:text-3xl sm:text-3xl font-medium py-2'>A simple web-based platform where users can easily</h1>
<p className="text-lg text-gray-300 font-semibold" >
<span> ✅ Contribute</span><br/>
Expand Down

0 comments on commit 896b906

Please sign in to comment.