- {color.name}
+ {/* Tab Content - Personalização */}
+ {activeTab === 'personalizacao' && (
+
+ {/* Color Settings */}
+
+
+
+
+
+
+
Cor Primária
+
+ Escolha a cor principal que representa sua marca. Ela será aplicada em botões, links e destaques.
- {primaryColor === color.value && (
-
-
-
- )}
-
- ))}
-
-
-
- {/* Custom Color Picker */}
-
-
-
+
+ {/* Preset Colors */}
+
+
+
+ {PRESET_COLORS.map((color) => (
+
+ ))}
+
+
+
+ {/* Custom Color Picker */}
+
+
+
+
+ applyPreviewColor(e.target.value)}
+ className="w-20 h-20 rounded-xl border-2 border-gray-200 dark:border-white/10 cursor-pointer shadow-md"
+ />
+
+
+
{
+ setCustomColor(e.target.value);
+ if (/^#[0-9A-F]{6}$/i.test(e.target.value)) {
+ applyPreviewColor(e.target.value);
+ }
+ }}
+ placeholder="#FF6B35"
+ className="w-full px-4 py-3 bg-gray-50 dark:bg-white/5 border border-gray-200 dark:border-white/10 rounded-xl text-gray-900 dark:text-white focus:outline-none focus:border-primary focus:ring-1 focus:ring-primary transition-all font-mono"
+ />
+
+ Digite o código hexadecimal da cor (ex: #FF6B35)
+
+
+
+
+
+ {/* Preview Section */}
+
+
+
+
+
+
+
+
+
+
Texto em Destaque
+
Exemplo de link ou texto importante
+
+
+
+
+ Badge
+
+
+ Outline Badge
+
+
+
+
+
+
+ {/* Save Button */}
+
+
+
+
+
+ {/* Info Alert */}
+
+
-
{
- setCustomColor(e.target.value);
- if (/^#[0-9A-F]{6}$/i.test(e.target.value)) {
- applyPreviewColor(e.target.value);
- }
- }}
- placeholder="#FF6B35"
- className="w-full px-4 py-3 bg-gray-50 dark:bg-white/5 border border-gray-200 dark:border-white/10 rounded-xl text-gray-900 dark:text-white focus:outline-none focus:border-primary focus:ring-1 focus:ring-primary transition-all font-mono"
- />
-
- Digite o código hexadecimal da cor (ex: #FF6B35)
+
+ Aplicação Global
+
+
+ A cor primária será aplicada automaticamente em todo o site institucional e painel administrativo.
+ )}
- {/* Preview Section */}
-
-
-
-
-
-
-
-
-
-
Texto em Destaque
-
Exemplo de link ou texto importante
-
-
-
-
- Badge
-
-
- Outline Badge
-
-
-
+ {/* Tab Content - Backup */}
+ {activeTab === 'backup' && (
+
+
-
-
- {/* Save Button */}
-
-
-
-
-
- {/* Info Alert */}
-
-
-
-
- Aplicação Global
-
-
- A cor primária será aplicada automaticamente em todo o site institucional e painel administrativo.
-
-
-
-
- {/* Backup Manager Section */}
-
-
-
-
-
-
-
Backup & Restauração
-
Gerencie backups completos do seu banco de dados e arquivos
-
-
-
-
+ )}
);
}