Skip to content

Commit 3e53d19

Browse files
authored
Merge pull request #17 from KuchiMercy/main
created opponent joined
2 parents 97c524a + 8a64527 commit 3e53d19

5 files changed

Lines changed: 567 additions & 0 deletions

File tree

app/opponent-joined/page.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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;

0 commit comments

Comments
 (0)