Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions apps/frontend/src/components/Card.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import { useNavigate } from 'react-router-dom';
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from '@/components/ui/card';
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
import chessIcon from '../../public/chess.png';
import computerIcon from '../../public/computer.png';
import lightningIcon from '../../public/lightning-bolt.png';
Expand Down Expand Up @@ -88,11 +82,10 @@ export function PlayCard() {
<CardTitle className="font-semibold tracking-wide flex flex-col items-center justify-center">
<p>
Play
<span className="text-green-700 font-bold pt-1"> Chess</span>
<span className="text-green-700 font-bold "> Chess</span>
</p>
<img className="pl-1 w-1/2 mt-4" src={chessIcon} alt="chess" />
</CardTitle>
<CardDescription></CardDescription>
</CardHeader>
<CardContent className="grid gap-2 cursor-pointer shadow-md mt-1">
{gameModeData.map((data) => {
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/screens/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { PlayCard } from '@/components/Card';
export const Landing = () => {
return (
<div className="max-w-full h-screen chess-board mt-0">
<div className="flex flex-col md:flex-row w-full md:w-3/4 max-w-screen-lg mx-auto gap-x-4 p-4">
<div className="flex flex-col md:flex-row md:w-full max-w-screen-lg mx-auto gap-x-4 p-1 pb-4">
<img
className="rounded-md w-full md:h-3/4 hidden md:block"
src="https://res.cloudinary.com/dcugqfvvg/image/upload/v1713647295/standardboard.1d6f9426_asqzum.png"
Expand Down