Flesh out payment stuff
This commit is contained in:
parent
b0dcdd6438
commit
acfed861ab
27 changed files with 938 additions and 173 deletions
|
|
@ -12,6 +12,7 @@ interface DefaultConfigModalProps {
|
|||
onChange: (config: GameConfig) => void;
|
||||
onSave: () => void;
|
||||
saving: boolean;
|
||||
maxPlayersLimit?: number;
|
||||
}
|
||||
|
||||
export const DefaultConfigModal: React.FC<DefaultConfigModalProps> = ({
|
||||
|
|
@ -21,6 +22,7 @@ export const DefaultConfigModal: React.FC<DefaultConfigModalProps> = ({
|
|||
onChange,
|
||||
onSave,
|
||||
saving,
|
||||
maxPlayersLimit = 150,
|
||||
}) => {
|
||||
useBodyScrollLock(isOpen);
|
||||
|
||||
|
|
@ -41,7 +43,7 @@ export const DefaultConfigModal: React.FC<DefaultConfigModalProps> = ({
|
|||
className="bg-white rounded-2xl max-w-lg w-full shadow-xl max-h-[90vh] overflow-hidden flex flex-col"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
<div className="p-6 border-b border-gray-100 flex items-center justify-between bg-gradient-to-r from-theme-primary to-purple-600">
|
||||
<div className="p-6 border-b border-gray-100 flex items-center justify-between bg-theme-primary">
|
||||
<div className="flex items-center gap-3 text-white">
|
||||
<div className="p-2 bg-white/20 rounded-xl">
|
||||
<Settings size={24} />
|
||||
|
|
@ -64,6 +66,7 @@ export const DefaultConfigModal: React.FC<DefaultConfigModalProps> = ({
|
|||
config={config}
|
||||
onChange={onChange}
|
||||
questionCount={10}
|
||||
maxPlayersLimit={maxPlayersLimit}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue