We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e61eaf1 commit fcb10ccCopy full SHA for fcb10cc
3 files changed
client/src/assets/HeroBg.jpeg client/public/HeroBg.jpegclient/src/assets/HeroBg.jpeg renamed to client/public/HeroBg.jpeg
client/src/assets/react.svg
client/src/pages/Home.jsx
@@ -4,7 +4,7 @@ import { useAuth } from '../context/AuthContext';
4
import Navbar from '../components/Navbar';
5
import Loader from '../components/Loader';
6
import { FiTrendingUp } from 'react-icons/fi';
7
-import HeroBg from '../assets/HeroBg.jpeg'
+
8
9
const Home = () => {
10
const { user, loading } = useAuth();
@@ -17,7 +17,7 @@ const Home = () => {
17
<div className="relative min-h-screen bg-slate-900 text-white flex flex-col items-center justify-center px-4 overflow-hidden">
18
19
<img
20
- src={HeroBg}
+ src="../../public/HeroBg.jpeg"
21
alt="Background"
22
className="absolute inset-0 w-full h-full object-cover opacity-6 z-0"
23
/>
0 commit comments