Skip to content

Commit b0bb208

Browse files
committed
game embed button styling
1 parent 1f704d0 commit b0bb208

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

client/src/components/ui/GameEmbed.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
import React, { useState } from "react";
99

10+
import { Button } from "./button";
11+
1012
type GameEmbedProps = {
1113
embedID: string;
1214
gameWidth: number;
@@ -24,13 +26,13 @@ export function GameEmbed({ embedID, gameWidth, gameHeight }: GameEmbedProps) {
2426
style={{ width: gameWidth, height: gameHeight }}
2527
>
2628
{!isPlaying ? (
27-
<button
29+
<Button
2830
onClick={() => setIsPlaying(!isPlaying)}
29-
className="rounded-sm bg-accent px-7 py-3"
30-
aria-label="Play"
31+
size={"lg"}
32+
className="text-3xl"
3133
>
32-
<div>Play</div>
33-
</button>
34+
Play
35+
</Button>
3436
) : (
3537
<div>
3638
<iframe

0 commit comments

Comments
 (0)