stlyes fixes
This commit is contained in:
@@ -483,7 +483,7 @@ export default function SiteSettings() {
|
||||
<div className="flex items-center gap-3 ml-2">
|
||||
<span
|
||||
className={`inline-block w-6 h-6 rounded-full ${
|
||||
integrationStatus === 'connected' ? 'bg-green-500' :
|
||||
integrationStatus === 'connected' ? 'bg-success-500' :
|
||||
integrationStatus === 'configured' ? 'bg-brand-500' : 'bg-gray-300'
|
||||
}`}
|
||||
title={`Integration status: ${
|
||||
@@ -616,9 +616,9 @@ export default function SiteSettings() {
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="flex items-center gap-2 px-3 py-1.5 rounded-md bg-gray-100 dark:bg-gray-800">
|
||||
<div className={`w-2 h-2 rounded-full ${
|
||||
wordPressIntegration.sync_status === 'success' ? 'bg-green-500' :
|
||||
wordPressIntegration.sync_status === 'failed' ? 'bg-red-500' :
|
||||
'bg-yellow-500'
|
||||
wordPressIntegration.sync_status === 'success' ? 'bg-success-500' :
|
||||
wordPressIntegration.sync_status === 'failed' ? 'bg-error-500' :
|
||||
'bg-warning-500'
|
||||
}`}></div>
|
||||
<span className="text-xs font-medium text-gray-700 dark:text-gray-300">
|
||||
{wordPressIntegration.sync_status === 'success' ? 'Synced' :
|
||||
@@ -693,7 +693,7 @@ export default function SiteSettings() {
|
||||
)}
|
||||
</div>
|
||||
<div className="flex items-center gap-3">
|
||||
<span className={`px-2 py-1 text-xs rounded ${data.enabled ? 'bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200' : 'bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-200'}`}>
|
||||
<span className={`px-2 py-1 text-xs rounded ${data.enabled ? 'bg-success-100 text-success-800 dark:bg-success-900 dark:text-success-200' : 'bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-200'}`}>
|
||||
{data.enabled ? 'Enabled' : 'Disabled'}
|
||||
</span>
|
||||
<span className="text-sm text-gray-500">Limit: {data.fetch_limit}</span>
|
||||
@@ -723,7 +723,7 @@ export default function SiteSettings() {
|
||||
)}
|
||||
</div>
|
||||
<div className="flex items-center gap-3">
|
||||
<span className={`px-2 py-1 text-xs rounded ${data.enabled ? 'bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200' : 'bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-200'}`}>
|
||||
<span className={`px-2 py-1 text-xs rounded ${data.enabled ? 'bg-success-100 text-success-800 dark:bg-success-900 dark:text-success-200' : 'bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-200'}`}>
|
||||
{data.enabled ? 'Enabled' : 'Disabled'}
|
||||
</span>
|
||||
<span className="text-sm text-gray-500">Limit: {data.fetch_limit}</span>
|
||||
@@ -1088,7 +1088,7 @@ export default function SiteSettings() {
|
||||
setSelectedSectors(selectedSectors.filter(s => s !== sector.slug));
|
||||
}
|
||||
}}
|
||||
className="mt-1 h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500"
|
||||
className="mt-1 h-4 w-4 rounded border-gray-300 text-brand-600 focus:ring-brand-500"
|
||||
/>
|
||||
<div className="flex-1">
|
||||
<div className="font-medium text-sm text-gray-900 dark:text-white">
|
||||
|
||||
Reference in New Issue
Block a user