Changed the contact details and updated with College Logo

This commit is contained in:
2026-06-17 08:15:54 +05:30
parent e985b171d8
commit 409f77958a
5 changed files with 76 additions and 50 deletions

View File

@@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react';
import { motion } from 'framer-motion';
import { ArrowDown, Award } from 'lucide-react';
import raiseLogo from '../assets/Raiselogo.png';
import collegeLogo from '../assets/college-logo.webp';
interface HeroProps {
onScrollToSection: (sectionId: string) => void;
@@ -111,14 +112,26 @@ export const Hero: React.FC<HeroProps> = ({ onScrollToSection }) => {
</button>
</div>
{/* Call to Action Button */}
<div>
{/* Call to Action Button & RIT Logo */}
<div className="flex items-center gap-4">
<button
onClick={() => onScrollToSection('pitch')}
className="relative px-5 py-2.5 rounded-xl bg-neutral-950 hover:bg-neutral-850 text-white font-sans text-sm font-bold shadow-lg shadow-neutral-950/10 transition-all duration-300 hover:scale-[1.02] active:scale-[0.98]"
>
Pitch Your Idea
</button>
<div className="hidden sm:block h-8 w-px bg-neutral-200/80" />
<img
src={collegeLogo}
alt="RIT College Logo"
className="h-10 w-auto object-contain rounded-lg"
onError={(e) => {
// Hide broken image frame if RIT logo is missing or placeholder is empty
(e.target as HTMLElement).style.display = 'none';
}}
/>
</div>
</motion.nav>