3import Link from 'next/link';
4import { Icon } from '@/contexts/IconContext';
6export default function GiftCardsPage() {
8 <div className="min-h-screen bg-bg">
9 <div className="max-w-7xl mx-auto p-6">
11 <div className="mb-8">
12 <div className="flex items-center gap-2 text-sm text-muted mb-4">
13 <Link href="/pages/settings" className="hover:text-text">Settings</Link>
15 <span className="text-text">Gift Cards</span>
17 <h1 className="text-3xl font-bold text-text mb-2 flex items-center gap-3">
18 <Icon name="card_giftcard" size={32} />
19 Gift Cards Configuration
21 <p className="text-muted">Configure prepay and gift card management</p>
24 {/* Configuration Sections */}
25 <div className="space-y-6">
26 <div className="bg-surface rounded-lg shadow-sm border border-border p-6">
27 <h2 className="text-xl font-semibold text-text mb-4">Gift Card Settings</h2>
28 <p className="text-muted mb-4">Configure gift card behavior and limits</p>
29 <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
31 <label className="block text-sm font-medium text-text mb-2">
37 className="w-full px-3 py-2 border border-border rounded-md"
41 <label className="block text-sm font-medium text-text mb-2">
47 className="w-full px-3 py-2 border border-border rounded-md"
53 <div className="bg-surface rounded-lg shadow-sm border border-border p-6">
54 <h2 className="text-xl font-semibold text-text mb-4">Card Features</h2>
55 <p className="text-muted mb-4">Enable or disable gift card features</p>
56 <div className="space-y-4">
57 <div className="flex items-center justify-between">
58 <span className="text-text">Allow gift card sales</span>
59 <input type="checkbox" className="toggle" defaultChecked />
61 <div className="flex items-center justify-between">
62 <span className="text-text">Allow gift card reloads</span>
63 <input type="checkbox" className="toggle" defaultChecked />
65 <div className="flex items-center justify-between">
66 <span className="text-text">Allow partial redemption</span>
67 <input type="checkbox" className="toggle" defaultChecked />
69 <div className="flex items-center justify-between">
70 <span className="text-text">Gift cards expire</span>
71 <input type="checkbox" className="toggle" />
76 <div className="flex justify-end gap-3">
77 <button className="px-4 py-2 border border-border rounded-md text-text hover:bg-surface-2">
80 <button className="px-4 py-2 bg-brand text-white rounded-md hover:bg-brand2 flex items-center gap-2">
81 <Icon name="save" size={20} />