Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hero #2

Merged
merged 3 commits into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions app/ai-demystified/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import Link from "next/link";
import Image from "next/image";
import { ReactNode } from "react";

interface LayoutProps {
children: ReactNode;
}

export default function AIDemystifiedLayout({ children }: LayoutProps) {
return (
<>
{/* Minimal Transparent Navbar */}
<header className="fixed top-0 left-0 right-0 z-50">
<nav className="container mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between items-center h-20">
<Link href="/" className="relative z-10">
<Image
src="/images/logos/rcvLogo.png"
alt="Rotaract Vadodara"
width={120}
height={40}
className="w-auto h-8"
/>
</Link>
<Link
href="https://docs.google.com/forms/d/e/1FAIpQLSc3enAXs2hqnXZE7ZI7cR9SSYwrm1h_VdN3CqUlcGmq3UDy-Q/viewform"
target="_blank"
className="bg-white/10 hover:bg-white/20 text-white px-6 py-2 rounded-full backdrop-blur-sm transition-all"
>
Register Now
</Link>
</div>
</nav>
</header>
{children}
</>
);
}
272 changes: 123 additions & 149 deletions app/ai-demystified/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Button } from "@/components/ui/button";

export default function AIDemystified() {
return (
<div className="pt-20 min-h-screen bg-[#FF5733] relative overflow-hidden">
<div className="min-h-screen bg-[#FF5733] relative overflow-hidden">
{/* Wavy Lines Background */}
<div className="absolute inset-0 opacity-10">
<svg
Expand Down Expand Up @@ -35,176 +35,150 @@ export default function AIDemystified() {
</svg>
</div>

{/* Content */}
<div className="relative z-10">
<Head>
<title>AI Demystified | Rotaract Club</title>
<meta
name="description"
content="Join us for an interactive session on understanding and leveraging AI tools effectively"
/>
</Head>

<main className="container mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div className="max-w-6xl mx-auto">
<div className="grid lg:grid-cols-2 gap-12 items-center">
{/* Left Column - Content */}
<div className="text-white space-y-6">
<div className="inline-block px-4 py-2 bg-white/10 backdrop-blur-sm rounded-full text-sm font-medium mb-4">
THE MAIN TREND OF THE YEAR
</div>
{/* Content Container */}
<div className="container mx-auto px-4 sm:px-6 lg:px-8 py-12 relative z-10">
<div className="max-w-7xl mx-auto bg-white/5 backdrop-blur-sm rounded-[40px] p-12 mt-8">
<div className="grid lg:grid-cols-2 gap-12 items-center">
{/* Left Column - Content */}
<div className="text-white space-y-6">
<div className="inline-block px-4 py-2 bg-white/10 backdrop-blur-sm rounded-full text-sm font-medium mb-4">
THE MAIN TREND OF THE YEAR
</div>

<h1 className="text-5xl sm:text-7xl font-bold leading-tight">
AI Demystified
</h1>
<h1 className="text-5xl sm:text-7xl font-bold leading-tight">
AI Demystified
</h1>

<h2 className="text-2xl sm:text-3xl font-medium text-white/90">
Practical AI for Everyone
</h2>
<h2 className="text-2xl sm:text-3xl font-medium text-white/90">
Practical AI for Everyone
</h2>

<p className="text-lg text-white/80">
Unlock the power of AI in your daily life! Learn how tools
like ChatGPT, Gemini, and Grok can boost productivity,
simplify tasks, and give you an edge in the digital world.🚀
</p>
<p className="text-lg text-white/80">
Unlock the power of AI in your daily life! Learn how tools like
ChatGPT, Gemini, and Grok can boost productivity, simplify
tasks, and give you an edge in the digital world.🚀
</p>

<div className="flex flex-col sm:flex-row gap-4 pt-6">
<Link
href="https://docs.google.com/forms/d/e/1FAIpQLSc3enAXs2hqnXZE7ZI7cR9SSYwrm1h_VdN3CqUlcGmq3UDy-Q/viewform"
target="_blank"
>
<Button className="w-full sm:w-auto bg-white text-[#FF5733] hover:bg-white/90 font-bold text-lg py-6 px-8 rounded-full">
Register Now
</Button>
</Link>
</div>
<div className="flex flex-col sm:flex-row gap-4 pt-6">
<Link
href="https://docs.google.com/forms/d/e/1FAIpQLSc3enAXs2hqnXZE7ZI7cR9SSYwrm1h_VdN3CqUlcGmq3UDy-Q/viewform"
target="_blank"
>
<Button className="w-full sm:w-auto bg-white text-[#FF5733] hover:bg-white/90 font-bold text-lg py-6 px-8 rounded-full">
Register Now
</Button>
</Link>
</div>

{/* Event Details */}
<div className="grid grid-cols-2 gap-6 pt-8">
<div className="space-y-2">
<div className="flex items-center gap-2">
<span className="text-2xl">📅</span>
<div>
<p className="text-sm text-white/60">Date</p>
<p className="font-medium">12 March 2025</p>
</div>
</div>
<div className="flex items-center gap-2">
<span className="text-2xl">⏰</span>
<div>
<p className="text-sm text-white/60">Time</p>
<p className="font-medium">8:30 PM</p>
</div>
{/* Event Details Grid */}
<div className="grid grid-cols-2 gap-6 pt-8">
<div className="space-y-4">
<div className="flex items-center gap-3 bg-white/10 rounded-2xl p-4">
<span className="text-2xl">📅</span>
<div>
<p className="text-sm text-white/60">Date</p>
<p className="font-medium">12 March 2025</p>
</div>
</div>
<div className="space-y-2">
<div className="flex items-center gap-2">
<span className="text-2xl">📍</span>
<div>
<p className="text-sm text-white/60">Venue</p>
<p className="font-medium">Online</p>
</div>
</div>
<div className="flex items-center gap-2">
<span className="text-2xl">💰</span>
<div>
<p className="text-sm text-white/60">Registration</p>
<p className="font-medium">Free</p>
</div>
<div className="flex items-center gap-3 bg-white/10 rounded-2xl p-4">
<span className="text-2xl">⏰</span>
<div>
<p className="text-sm text-white/60">Time</p>
<p className="font-medium">8:30 PM</p>
</div>
</div>
</div>

{/* Speakers */}
<div className="pt-8">
<h3 className="text-lg font-medium mb-4">Speakers</h3>
<div className="flex gap-6">
<div className="text-center">
<Image
src="/images/speakers/shubham.jpg"
alt="Shubham Gupta"
width={80}
height={80}
className="rounded-full mb-2"
/>
<p className="font-medium">Shubham Gupta</p>
<p className="text-sm text-white/60">
GenAI Expert @ Skitre.ai
</p>
<div className="space-y-4">
<div className="flex items-center gap-3 bg-white/10 rounded-2xl p-4">
<span className="text-2xl">📍</span>
<div>
<p className="text-sm text-white/60">Venue</p>
<p className="font-medium">Online</p>
</div>
<div className="text-center">
<Image
src="/images/speakers/kp.jpg"
alt="Kartik Patel"
width={80}
height={80}
className="rounded-full mb-2"
/>
<p className="font-medium">Kartik Patel</p>
<p className="text-sm text-white/60">
Product Engineer @ Skitre.ai
</p>
</div>
<div className="flex items-center gap-3 bg-white/10 rounded-2xl p-4">
<span className="text-2xl">💰</span>
<div>
<p className="text-sm text-white/60">Registration</p>
<p className="font-medium">Free</p>
</div>
</div>
</div>
</div>

{/* Right Column - Decorative Elements */}
<div className="relative hidden lg:block">
<div className="absolute inset-0 bg-grid-white/10 bg-[size:20px_20px]" />
<Image
src="/images/airobot.png"
alt="AI Assistant"
width={600}
height={600}
className="relative z-10"
/>
{/* Speakers */}
<div className="pt-8">
<h3 className="text-lg font-medium mb-4">Speakers</h3>
<div className="flex gap-6">
<div className="text-center">
<Image
src="/images/speakers/shubham.jpg"
alt="Shubham Gupta"
width={80}
height={80}
className="rounded-full mb-2"
/>
<p className="font-medium">Shubham Gupta</p>
<p className="text-sm text-white/60">
GenAI Expert @ Skitre.ai
</p>
</div>
<div className="text-center">
<Image
src="/images/speakers/kp.jpg"
alt="Kartik Patel"
width={80}
height={80}
className="rounded-full mb-2"
/>
<p className="font-medium">Kartik Patel</p>
<p className="text-sm text-white/60">
Product Engineer @ Skitre.ai
</p>
</div>
</div>
</div>
</div>

{/* Partners */}
<div className="mt-16 pt-8 border-t border-white/10">
<div className="flex flex-wrap items-center justify-center gap-8">
<Image
src="/images/logos/skitrelogo.png"
alt="Skitre.ai"
width={120}
height={40}
className="opacity-80 hover:opacity-100 transition-opacity"
/>
<Image
src="/images/logos/Rotaract3060.png"
alt="Rotaract District 3060"
width={120}
height={40}
className="opacity-80 hover:opacity-100 transition-opacity"
/>
<Image
src="/images/logos/rcvLogo.png"
alt="Rotaract Vadodara"
width={120}
height={40}
className="opacity-80 hover:opacity-100 transition-opacity"
/>
</div>
{/* Right Column - AI Robot */}
<div className="relative hidden lg:block">
<Image
src="/images/airobot.png"
alt="AI Assistant"
width={600}
height={600}
className="relative z-10 transform translate-x-12"
/>
</div>
</div>
</main>
</div>

{/* Update the AI Robot section */}
<div className="absolute right-0 bottom-0 w-1/2 h-full pointer-events-none hidden lg:block">
<div
className="absolute inset-0 bg-gradient-to-t from-[#FF5733] via-transparent to-transparent"
style={{ mixBlendMode: "multiply" }}
/>
<Image
src="/ai-assitant.png"
alt="AI Assistant"
fill
className="object-contain object-bottom"
priority
/>
{/* Partners */}
<div className="mt-16 pt-8 border-t border-white/10">
<div className="flex flex-wrap items-center justify-center gap-8">
<Image
src="/images/logos/skitrelogo.png"
alt="Skitre.ai"
width={120}
height={40}
className="opacity-80 hover:opacity-100 transition-opacity"
/>
<Image
src="/images/logos/Rotaract3060.png"
alt="Rotaract District 3060"
width={120}
height={40}
className="opacity-80 hover:opacity-100 transition-opacity"
/>
<Image
src="/images/logos/rcvLogo.png"
alt="Rotaract Vadodara"
width={120}
height={40}
className="opacity-80 hover:opacity-100 transition-opacity"
/>
</div>
</div>
</div>
</div>
</div>
);
Expand Down
6 changes: 5 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Metadata } from "next";
import "./globals.css";
import Navbar from "@/components/navbar";
// import Footer from "@/components/footer";
import { headers } from 'next/headers';

export const metadata: Metadata = {
title: "Create Next App",
Expand All @@ -13,10 +14,13 @@ export default function RootLayout({
}: {
children: React.ReactNode;
}) {
const headersList = headers();
const hideNavbar = headersList.get('x-hide-navbar') === 'true';

return (
<html lang="en">
<body className="min-h-screen bg-white">
<Navbar />
{!hideNavbar && <Navbar />}
<main className="relative">{children}</main>
{/* <Footer /> */}
</body>
Expand Down
Loading