Skip to content

Commit e8546f9

Browse files
Fix Contact page background images
Ensure both background images are visible and properly displayed on the Contact page.
1 parent a30e3a7 commit e8546f9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/pages/Contact.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ import { Send, Mail, MessageSquare, X, Facebook, Instagram, Disc, Github, Linked
77
const Contact: React.FC = () => {
88
return (
99
<div className="relative flex flex-col flex-1">
10-
{/* Multiple background layers for cosmic effect */}
10+
{/* First universe background layer */}
1111
<div
1212
className="fixed inset-0 pointer-events-none"
1313
style={{
1414
backgroundImage: `url('/lovable-uploads/74c23ca3-be80-46d6-9817-d6a5cde81736.png')`,
1515
backgroundSize: 'cover',
1616
backgroundPosition: 'center',
1717
backgroundRepeat: 'no-repeat',
18-
opacity: 0.4,
18+
opacity: 0.6,
1919
zIndex: -30
2020
}}
2121
/>
@@ -25,11 +25,12 @@ const Contact: React.FC = () => {
2525
className="fixed inset-0 pointer-events-none"
2626
style={{
2727
backgroundImage: `url('/lovable-uploads/78a366c8-b4ad-4ae7-8358-3aae322b228f.png')`,
28-
backgroundSize: 'contain',
28+
backgroundSize: 'cover',
2929
backgroundPosition: 'center',
3030
backgroundRepeat: 'no-repeat',
31-
opacity: 0.2,
32-
zIndex: -25
31+
opacity: 0.4,
32+
zIndex: -25,
33+
mixBlendMode: 'screen'
3334
}}
3435
/>
3536

0 commit comments

Comments
 (0)