File size: 3,042 Bytes
52d6ced
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import { Meteors } from "../registry/magicui/meteors";
import { DotPattern } from "../registry/magicui/dot-pattern";
import { cn } from "../lib/utils";

export const Hero = () => {
  return (
    <section className="relative overflow-hidden mb-24 pt-32 pb-32">
      {/* Bacteria/Molecular Background */}
      <div
        className="absolute inset-0 z-0 opacity-80"
        style={{
          backgroundImage: "url('/bacteria-bg.png')",
          backgroundSize: "cover",
          backgroundPosition: "center",
          backgroundRepeat: "no-repeat",
        }}
      />

      {/* Dark gradient overlay for readability */}
      <div className="absolute inset-0 z-0 bg-background-light/70 dark:bg-background-dark/80 bg-gradient-to-b from-transparent to-background-light dark:to-background-dark" />

      {/* MagicUI Dot Pattern */}
      <DotPattern
        className={cn(
          "[mask-image:radial-gradient(600px_circle_at_center,white,transparent)] z-0 mix-blend-overlay dark:mix-blend-plus-lighter opacity-60",
        )}
      />

      {/* MagicUI Meteors */}
      <div className="absolute inset-0 z-0 overflow-hidden">
        <Meteors number={30} />
      </div>

      <div className="max-w-7xl mx-auto px-6 flex flex-col items-center text-center space-y-8 relative z-10">
        <div className="inline-flex items-center gap-2 px-4 py-2 rounded-full bg-primary/10 border border-primary/20 text-primary text-xs font-bold uppercase tracking-widest">
          <span className="relative flex h-2 w-2">
            <span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75"></span>
            <span className="relative inline-flex rounded-full h-2 w-2 bg-primary"></span>
          </span>
          Now with VGG16 + SVM Hybrid Architecture
        </div>
        <h2 className="text-6xl md:text-7xl font-display font-bold max-w-4xl leading-[1.1]">
          Bacterial <span className="text-primary">Classification</span> System
        </h2>
        <p className="text-lg text-slate-500 dark:text-slate-400 max-w-2xl leading-relaxed">
          Advanced medical AI for high-accuracy identification of microbial
          species. Leveraging deep learning features and support vector machines
          for clinical-grade scientific research.
        </p>
        <div className="flex flex-wrap justify-center items-center gap-4 pt-4">
          <a
            href="#upload"
            className="cursor-target bg-primary text-white px-8 py-4 rounded-xl font-bold text-lg hover:scale-[1.02] transition-transform glow-primary flex items-center gap-2"
          >
            <span className="material-symbols-outlined">upload_file</span>
            Upload Image
          </a>
          <button className="cursor-target bg-slate-200 dark:bg-slate-800 px-8 py-4 text-slate-900 dark:text-white rounded-xl font-bold text-lg hover:bg-slate-300 dark:hover:bg-slate-700 transition-colors">
            Documentation
          </button>
        </div>
      </div>
    </section>
  );
};