Skip to content

Commit c049e97

Browse files
Codes added
1 parent c023632 commit c049e97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Components/Pages/About.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
import bgpic from "./src/assets/img/abt1.jpg"
2+
13
export default function About() {
24
return (
35
<div id="about" className="w-full mt-28 h-screen relative">
4-
<div className="absolute inset-0 bg-[url('./src/assets/img/abt1.jpg')] bg-cover bg-center opacity-30"></div>
6+
<div className="absolute inset-0 bg-cover bg-center opacity-30" style={{ backgroundImage: `url(${bgpic})` }}></div>
57
<div className="relative z-10 flex items-center justify-center h-full ms-10">
68
<h1 className="text-9xl font-bold text-start w-full">ABOUT US</h1>
79
<div className="flex w-full justify-center align-middle mt-10 px-36 relative z-10">

0 commit comments

Comments
 (0)