import type { Meta, StoryObj } from "@storybook/react";
import { DepositBonusEmail } from "../src/emails/promotional/DepositBonusEmail";

const meta: Meta<typeof DepositBonusEmail> = {
  title: "Emails/Promotional/Deposit Bonus Email",
  component: DepositBonusEmail,
  parameters: {
    layout: "fullscreen",
  },
};

export default meta;
type Story = StoryObj<typeof DepositBonusEmail>;

export const Default: Story = {
  args: {
    playerName: "John Doe",
    bonusPercentage: 100,
    maxBonus: 500,
    minimumDeposit: 20,
    bonusCode: "BONUS100",
    depositLink: "https://example.com/deposit",
    expirationDate: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000),
  },
};

export const HighValueBonus: Story = {
  args: {
    playerName: "VIP Player",
    bonusPercentage: 200,
    maxBonus: 2000,
    minimumDeposit: 100,
    bonusCode: "VIP200",
    depositLink: "https://example.com/deposit",
    expirationDate: new Date(Date.now() + 14 * 24 * 60 * 60 * 1000),
  },
};
