File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import React from "react" ;
2+ import Image from "next/image" ;
3+ import createGame from "@/public/creategame.png"
4+ import qrcode from "@/public/QR.png"
5+ import profilebar from "@/public/profilebar.png"
6+
7+ const OpponentJoined = ( ) => {
8+ return (
9+ < div className = "relative w-full h-screen bg-cover bg-center flex items-center justify-center"
10+ style = { { backgroundImage : "url('/Background.png')" } } >
11+ < div className = "absolute top-4 right-4 flex items-center space-x-4 p-2 rounded-lg px-4" >
12+ < Image src = { profilebar } alt = "" />
13+ </ div >
14+
15+
16+ < div className = "relative flex items-center justify-center gap-10" >
17+ < div > < Image src = { createGame } alt = "" /> </ div >
18+ < div > < Image src = { qrcode } alt = "" /> </ div >
19+ </ div >
20+ < div className = "absolute bg-gradient-to-r from-[#3b636c33] via-[#3d2138b3] to-[#3b636c33] p-8 rounded-lg w-full flex flex-col items-center" >
21+
22+ < h1 className = "text-white text-xl md:text-2xl lg:text-3xl font-bold" > OPPONENT JOINED!</ h1 >
23+ </ div >
24+
25+ </ div >
26+ ) ;
27+ } ;
28+
29+ export default OpponentJoined ;
You can’t perform that action at this time.
0 commit comments