Skip to content

Commit

Permalink
fixed bacground image
Browse files Browse the repository at this point in the history
  • Loading branch information
SohamMhatre09 committed May 16, 2024
1 parent 8d00ee8 commit 6e09bbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ import CreateYourEvent from "./CreateYourEvent";
import YourEvents from "./YourEvents";
import "./index.css";
import LandingPage from "./LandingPage";
import bgimage from "./images/background.jpg";

export default function App() {
return (
<div
className="background-image"
style={{
backgroundImage: `url("https://drive.google.com/file/d/1ahxF6hHCqeUjUR-6xf49gRo4g00Nt9Vf/view?usp=sharing")`,
backgroundImage: `url(${bgimage})`, // corrected backgroundImage assignment
backgroundRepeat: "no-repeat",
backgroundSize: "cover",
backgroundPosition: "center",
Expand All @@ -22,7 +24,6 @@ export default function App() {
overflow: "auto",
}}
>

<Router>
<ResponsiveAppBar />
<Routes>
Expand Down
File renamed without changes

0 comments on commit 6e09bbc

Please sign in to comment.