feat: add admin settings UI and integrate dynamic configuration
Add settings page with 4 tabs (Logo, Company, Visibility, Theme) for managing company branding, social links, sidebar section visibility, and color themes. Integrate settings store globally so sidebar, footer, header, and theme respond to admin configuration. Add active/dedicated customer stat cards to dashboard. Wire up quick-call contacts and Google review links from settings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ module.exports = {
|
||||
daisyui: {
|
||||
themes: [
|
||||
{
|
||||
ocean: {
|
||||
dark: {
|
||||
"primary": "#010409",
|
||||
"secondary": "#161B22",
|
||||
"accent": "#ff6600",
|
||||
@@ -20,33 +20,33 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
{
|
||||
forest: {
|
||||
"primary": "#1a472a",
|
||||
"secondary": "#2d5a3d",
|
||||
"accent": "#4ade80",
|
||||
"neutral": "#1e3a2f",
|
||||
"base-100": "#0f1f14",
|
||||
"base-200": "#162a1c",
|
||||
"base-300": "#1e3a2f",
|
||||
"info": "#67e8f9",
|
||||
"success": "#22c55e",
|
||||
"warning": "#eab308",
|
||||
"error": "#ef4444",
|
||||
'vscode-dark': {
|
||||
"primary": "#264F78",
|
||||
"secondary": "#37373D",
|
||||
"accent": "#569CD6",
|
||||
"neutral": "#2D2D2D",
|
||||
"base-100": "#1E1E1E",
|
||||
"base-200": "#252526",
|
||||
"base-300": "#2D2D2D",
|
||||
"info": "#4FC1FF",
|
||||
"success": "#6A9955",
|
||||
"warning": "#CCA700",
|
||||
"error": "#F44747",
|
||||
},
|
||||
},
|
||||
{
|
||||
sunset: {
|
||||
"primary": "#44403c",
|
||||
"secondary": "#57534e",
|
||||
"accent": "#fb923c",
|
||||
"neutral": "#292524",
|
||||
"base-100": "#1c1917",
|
||||
"base-200": "#292524",
|
||||
"base-300": "#44403c",
|
||||
"info": "#38bdf8",
|
||||
"success": "#4ade80",
|
||||
"warning": "#fbbf24",
|
||||
"error": "#f87171",
|
||||
'grok-dark': {
|
||||
"primary": "#1A1A1A",
|
||||
"secondary": "#2A2A2A",
|
||||
"accent": "#F05A28",
|
||||
"neutral": "#1F1F1F",
|
||||
"base-100": "#0A0A0A",
|
||||
"base-200": "#141414",
|
||||
"base-300": "#1F1F1F",
|
||||
"info": "#6CB4EE",
|
||||
"success": "#4ADE80",
|
||||
"warning": "#FACC15",
|
||||
"error": "#EF4444",
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -79,6 +79,66 @@ module.exports = {
|
||||
"error": "#f87171",
|
||||
},
|
||||
},
|
||||
{
|
||||
'high-contrast': {
|
||||
"primary": "#FFFFFF",
|
||||
"secondary": "#1A1A1A",
|
||||
"accent": "#FFD700",
|
||||
"neutral": "#1A1A1A",
|
||||
"base-100": "#000000",
|
||||
"base-200": "#0A0A0A",
|
||||
"base-300": "#1A1A1A",
|
||||
"info": "#00BFFF",
|
||||
"success": "#00FF00",
|
||||
"warning": "#FFD700",
|
||||
"error": "#FF0000",
|
||||
},
|
||||
},
|
||||
{
|
||||
'atom-one-dark': {
|
||||
"primary": "#3A3F4B",
|
||||
"secondary": "#4B5263",
|
||||
"accent": "#61AFEF",
|
||||
"neutral": "#3A3F4B",
|
||||
"base-100": "#282C34",
|
||||
"base-200": "#21252B",
|
||||
"base-300": "#2C313A",
|
||||
"info": "#56B6C2",
|
||||
"success": "#98C379",
|
||||
"warning": "#E5C07B",
|
||||
"error": "#E06C75",
|
||||
},
|
||||
},
|
||||
{
|
||||
'cobalt2': {
|
||||
"primary": "#1A2B4A",
|
||||
"secondary": "#223B6E",
|
||||
"accent": "#FFC600",
|
||||
"neutral": "#1A2B4A",
|
||||
"base-100": "#193549",
|
||||
"base-200": "#122738",
|
||||
"base-300": "#1A2B4A",
|
||||
"info": "#0088FF",
|
||||
"success": "#3AD900",
|
||||
"warning": "#FFC600",
|
||||
"error": "#FF628C",
|
||||
},
|
||||
},
|
||||
{
|
||||
'jellyfish': {
|
||||
"primary": "#1B1B3A",
|
||||
"secondary": "#2E2E5E",
|
||||
"accent": "#FF6AC1",
|
||||
"neutral": "#232346",
|
||||
"base-100": "#0E0E23",
|
||||
"base-200": "#161636",
|
||||
"base-300": "#232346",
|
||||
"info": "#79E8E8",
|
||||
"success": "#A9DC76",
|
||||
"warning": "#FFD866",
|
||||
"error": "#FF6188",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
plugins: [require('daisyui')],
|
||||
|
||||
Reference in New Issue
Block a user