Made minor changes in UI

This commit is contained in:
2026-06-16 14:17:12 +05:30
parent c584b30a3e
commit e985b171d8
3 changed files with 7 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
import React, { useState, useEffect } from 'react';
import { motion } from 'framer-motion';
import { ArrowDown, Award } from 'lucide-react';
import raiseLogo from '../assets/Raiselogo.png';
interface HeroProps {
onScrollToSection: (sectionId: string) => void;
@@ -71,7 +72,7 @@ export const Hero: React.FC<HeroProps> = ({ onScrollToSection }) => {
>
<div className="flex items-center gap-3.5 cursor-pointer" onClick={() => onScrollToSection('hero')}>
<div className="relative">
<img src="/Raiselogo.png" alt="RAISE Incubator Logo" className="h-11 w-auto object-contain rounded-lg logo-black" />
<img src={raiseLogo} alt="RAISE Incubator Logo" className="h-11 w-auto object-contain rounded-lg logo-black" />
<div className="absolute -top-1 -right-1 w-3 h-3 rounded-full bg-emerald-500 border-2 border-white animate-pulse" />
</div>
<div>
@@ -147,8 +148,7 @@ export const Hero: React.FC<HeroProps> = ({ onScrollToSection }) => {
className="flex select-none justify-center items-center gap-4 md:gap-8 mb-6 cursor-ew-resize"
>
{letters.map((letter, idx) => (
<motion.span
layout
<span
key={letter + idx}
onMouseEnter={() => handleMouseEnter(idx)}
onMouseLeave={() => handleMouseLeave(idx)}
@@ -173,7 +173,7 @@ export const Hero: React.FC<HeroProps> = ({ onScrollToSection }) => {
}}
>
{letter}
</motion.span>
</span>
))}
</motion.div>
@@ -186,7 +186,7 @@ export const Hero: React.FC<HeroProps> = ({ onScrollToSection }) => {
className="flex flex-col items-center"
>
<h2 className="font-heading text-lg md:text-xl lg:text-2xl font-bold text-neutral-800 max-w-4xl tracking-normal md:tracking-wide mb-6 uppercase">
<span className="text-neutral-900 border-b-2 border-neutral-900 pb-1 mr-2">Rajalakshmi Accelerator</span> & Incubator for Startup Enterprises Association
Rajalakshmi Accelerator & Incubator for Startup Enterprises Association
</h2>
<p className="font-sans text-sm md:text-base text-neutral-500 max-w-2xl leading-relaxed mb-12">