File size: 1,273 Bytes
bab7e89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import React from 'react'

type Props = {
  compact?: boolean
}

export function Footer({ compact = false }: Props) {
  const heightClass = compact ? 'h-12 md:h-14 lg:h-16' : 'h-16 md:h-20 lg:h-24'

  return (
    <footer className={`relative w-full ${heightClass} overflow-hidden`}>
      {/* Background image – untouched */}
      <img
        src="/banner.jpeg"
        alt="Footer background"
        className="absolute inset-0 w-full h-full object-cover"
      />

      {/* Content */}
      <div className="relative z-10 h-full flex items-center justify-center text-white text-xs px-3 md:px-4">
        {/* Center Text */}
        <div className="text-center leading-tight">
          <div className="text-xs md:text-sm">© 2025 Manalife. All rights reserved.</div>
          <div className="text-xs hidden md:block">
            Advancing innovation in women's health and digital pathology.
          </div>
        </div>

        {/* Logo Bottom Right */}
        <div className="absolute right-2 md:right-3 lg:right-4 bottom-1 md:bottom-2">
          <img
            src="/white_logo.png"
            alt="Manalife logo"
            className={compact ? 'h-5 md:h-6 lg:h-6' : 'h-6 md:h-7 lg:h-8'}
          />
        </div>
      </div>
    </footer>
  )
}