Skip to content

Commit

Permalink
Add Import for image
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnerCat committed Jun 19, 2024
1 parent fc0d69d commit 7a7c72a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useState, useEffect } from 'react'
import Modal from './components/Modal.jsx'
import BemacoLogo from './assets/BemacoLogo.png'
import NoPlayer from './assets/NoPlayer.png'
import Home from './assets/Home.png'
import LogModal from './components/LogModal.jsx'

import {
Expand Down Expand Up @@ -340,7 +341,7 @@ export default function App() {
</div>
</div>
<footer
style={{ backgroundImage: "url('../src/assets/home.png')" }}
style={{ backgroundImage: `url(${Home})` }}
className="bg-maimai-background bg-center bg-cover bg-no-repeat bottom-0 w-full h-[31.25rem]"
></footer>
</div>
Expand Down

0 comments on commit 7a7c72a

Please sign in to comment.