2026-04-02 10:31:10 -07:00
|
|
|
import { Swords } from "lucide-react";
|
|
|
|
|
import { Link } from "react-router";
|
|
|
|
|
import { Button } from "~/components/ui/button";
|
|
|
|
|
import { Card, CardContent } from "~/components/ui/card";
|
|
|
|
|
import { SectionCardHeader } from "~/components/ui/SectionCardHeader";
|
|
|
|
|
|
|
|
|
|
export function CreateLeagueCard() {
|
|
|
|
|
return (
|
|
|
|
|
<Card className="gap-2">
|
|
|
|
|
<SectionCardHeader icon={Swords} title="Start a New League" />
|
2026-04-03 01:19:45 -07:00
|
|
|
<CardContent className="px-3 sm:px-6">
|
2026-04-02 10:31:10 -07:00
|
|
|
<p className="text-sm text-muted-foreground mb-4">
|
|
|
|
|
Invite friends, pick your sports, and start drafting.
|
|
|
|
|
</p>
|
|
|
|
|
<Button asChild className="w-full">
|
|
|
|
|
<Link to="/leagues/new">Create a League</Link>
|
|
|
|
|
</Button>
|
|
|
|
|
</CardContent>
|
|
|
|
|
</Card>
|
|
|
|
|
);
|
|
|
|
|
}
|