- Two-column layout (My Leagues 2/3, Upcoming Events 1/3) with mobile stack - LeagueRow: square avatar, gradient draft highlight, rank/points display, progress bar - MyLeaguesCard, CreateLeagueCard with shared SectionCardHeader - UpcomingEventsCard: vertical timeline with grouped multi-league events - Shared gradient system: BracktGradients SVG defs, GradientIcon wrapper, brand.ts constants - Button default variant updated to green→cyan gradient - Navbar: plain nav links with gradient hover, support/admin icon buttons - Accessibility fixes: semantic h2 headings, aria-label on LeagueAvatar and nav elements - Storybook stories for all new components Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
15 lines
381 B
TypeScript
15 lines
381 B
TypeScript
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
import { CreateLeagueCard } from "./CreateLeagueCard";
|
|
|
|
const meta: Meta<typeof CreateLeagueCard> = {
|
|
title: "League/CreateLeagueCard",
|
|
component: CreateLeagueCard,
|
|
parameters: {
|
|
layout: "padded",
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof CreateLeagueCard>;
|
|
|
|
export const Default: Story = {};
|