File tree Expand file tree Collapse file tree 2 files changed +14
-19
lines changed Expand file tree Collapse file tree 2 files changed +14
-19
lines changed Original file line number Diff line number Diff line change 1
- "use client" ;
2
-
3
- import Image from "next/image" ;
4
-
5
- import DonateApp from "@/components/payment/DonateApp" ;
1
+ import DonateApp from "../../../components/payment/DonateApp" ;
6
2
7
3
export default function App ( ) {
8
4
return (
9
- < >
10
- < div className = "relative" >
11
- < Image
12
- src = "https://i.imgur.com/YTP7cfp.png"
13
- alt = "Background"
14
- width = { 1920 }
15
- height = { 1080 }
16
- priority
17
- />
18
- < div className = "absolute top-0 left-0 w-full h-full bg-black opacity-40" > </ div >
19
- </ div >
20
- < DonateApp className = "absolute left-1/3 top-48 transform -translate-x-1/2" />
21
- </ >
5
+ < div
6
+ className = "w-full h-[100vh] flex justify-center items-center"
7
+ style = { {
8
+ backgroundImage :
9
+ "url(https://firebasestorage.googleapis.com/v0/b/flot-dev.appspot.com/o/static-uploads%2Fimage.png?alt=media&token=44407612-8c8e-492a-988a-2c211d2926bb)" ,
10
+ backgroundPosition : "center" ,
11
+ backgroundSize : "cover" ,
12
+ backgroundRepeat : "no-repeat" ,
13
+ } }
14
+ >
15
+ < DonateApp />
16
+ </ div >
22
17
) ;
23
18
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import PhysicalDonationForm from "./PhysicalDonationForm";
11
11
import SuccessCard from "./SuccessCard" ;
12
12
13
13
type DonateAppProps = {
14
- className : string ;
14
+ className ? : string ;
15
15
} ;
16
16
17
17
export default function DonateApp ( { className } : DonateAppProps ) {
You can’t perform that action at this time.
0 commit comments