Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Creative Studio Pro - Ultimate Design Dashboard</title> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet"> | |
| <style> | |
| /* ===== CSS Variables ===== */ | |
| :root { | |
| --primary: #6366f1; | |
| --primary-dark: #4f46e5; | |
| --secondary: #ec4899; | |
| --accent: #14b8a6; | |
| --bg-dark: #0f172a; | |
| --bg-card: #1e293b; | |
| --bg-card-hover: #334155; | |
| --text-primary: #f1f5f9; | |
| --text-secondary: #94a3b8; | |
| --border: #334155; | |
| --success: #22c55e; | |
| --warning: #f59e0b; | |
| --danger: #ef4444; | |
| --gradient-1: linear-gradient(135deg, #6366f1, #ec4899); | |
| --gradient-2: linear-gradient(135deg, #14b8a6, #6366f1); | |
| --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3); | |
| --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4); | |
| --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| /* ===== Reset & Base ===== */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| body { | |
| font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; | |
| background: var(--bg-dark); | |
| color: var(--text-primary); | |
| line-height: 1.6; | |
| overflow-x: hidden; | |
| } | |
| /* ===== Scrollbar ===== */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: var(--bg-dark); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--primary); | |
| border-radius: 4px; | |
| } | |
| /* ===== Header ===== */ | |
| .header { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 70px; | |
| background: rgba(15, 23, 42, 0.95); | |
| backdrop-filter: blur(20px); | |
| border-bottom: 1px solid var(--border); | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 0 30px; | |
| z-index: 1000; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| background: var(--gradient-1); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .logo-icon { | |
| width: 40px; | |
| height: 40px; | |
| background: var(--gradient-1); | |
| border-radius: 10px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| -webkit-text-fill-color: white; | |
| } | |
| .nav-links { | |
| display: flex; | |
| gap: 8px; | |
| } | |
| .nav-link { | |
| padding: 10px 20px; | |
| color: var(--text-secondary); | |
| text-decoration: none; | |
| border-radius: 8px; | |
| transition: var(--transition); | |
| font-weight: 500; | |
| } | |
| .nav-link:hover, .nav-link.active { | |
| color: var(--text-primary); | |
| background: var(--bg-card); | |
| } | |
| .header-actions { | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| } | |
| .search-box { | |
| display: flex; | |
| align-items: center; | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: 10px; | |
| padding: 10px 15px; | |
| gap: 10px; | |
| transition: var(--transition); | |
| } | |
| .search-box:focus-within { | |
| border-color: var(--primary); | |
| box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); | |
| } | |
| .search-box input { | |
| background: transparent; | |
| border: none; | |
| outline: none; | |
| color: var(--text-primary); | |
| width: 200px; | |
| } | |
| .search-box input::placeholder { | |
| color: var(--text-secondary); | |
| } | |
| .icon-btn { | |
| width: 45px; | |
| height: 45px; | |
| border-radius: 10px; | |
| border: none; | |
| background: var(--bg-card); | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| transition: var(--transition); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.2rem; | |
| position: relative; | |
| } | |
| .icon-btn:hover { | |
| background: var(--bg-card-hover); | |
| color: var(--text-primary); | |
| transform: translateY(-2px); | |
| } | |
| .notification-badge { | |
| position: absolute; | |
| top: -5px; | |
| right: -5px; | |
| width: 18px; | |
| height: 18px; | |
| background: var(--danger); | |
| border-radius: 50%; | |
| font-size: 0.7rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .user-avatar { | |
| width: 45px; | |
| height: 45px; | |
| border-radius: 50%; | |
| background: var(--gradient-1); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: var(--transition); | |
| } | |
| .user-avatar:hover { | |
| transform: scale(1.1); | |
| } | |
| /* ===== Main Content ===== */ | |
| .main-content { | |
| margin-left: 280px; | |
| margin-top: 70px; | |
| padding: 30px; | |
| min-height: calc(100vh - 70px); | |
| } | |
| /* ===== Sidebar ===== */ | |
| .sidebar { | |
| position: fixed; | |
| left: 0; | |
| top: 70px; | |
| bottom: 0; | |
| width: 280px; | |
| background: var(--bg-card); | |
| border-right: 1px solid var(--border); | |
| padding: 20px 0; | |
| overflow-y: auto; | |
| } | |
| .sidebar-section { | |
| padding: 0 20px; | |
| margin-bottom: 30px; | |
| } | |
| .sidebar-title { | |
| font-size: 0.75rem; | |
| text-transform: uppercase; | |
| color: var(--text-secondary); | |
| margin-bottom: 15px; | |
| letter-spacing: 1px; | |
| } | |
| .sidebar-menu { | |
| list-style: none; | |
| } | |
| .sidebar-item { | |
| margin-bottom: 5px; | |
| } | |
| .sidebar-link { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 12px 20px; | |
| color: var(--text-secondary); | |
| text-decoration: none; | |
| border-radius: 10px; | |
| transition: var(--transition); | |
| } | |
| .sidebar-link:hover, .sidebar-link.active { | |
| background: var(--bg-card-hover); | |
| color: var(--text-primary); | |
| } | |
| .sidebar-link.active { | |
| background: var(--gradient-1); | |
| } | |
| .sidebar-link i { | |
| width: 20px; | |
| text-align: center; | |
| } | |
| .sidebar-progress { | |
| padding: 20px; | |
| background: var(--bg-dark); | |
| border-radius: 12px; | |
| margin-top: 20px; | |
| } | |
| .progress-header { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-bottom: 15px; | |
| } | |
| .progress-title { | |
| font-weight: 600; | |
| } | |
| .progress-value { | |
| color: var(--accent); | |
| } | |
| .progress-bar { | |
| height: 8px; | |
| background: var(--border); | |
| border-radius: 4px; | |
| overflow: hidden; | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| background: var(--gradient-1); | |
| border-radius: 4px; | |
| width: 75%; | |
| transition: width 1s ease; | |
| } | |
| /* ===== Hero Section ===== */ | |
| .hero-section { | |
| display: grid; | |
| grid-template-columns: 2fr 1fr; | |
| gap: 25px; | |
| margin-bottom: 30px; | |
| } | |
| .hero-card { | |
| background: var(--bg-card); | |
| border-radius: 20px; | |
| padding: 30px; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .hero-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| right: -50%; | |
| width: 100%; | |
| height: 100%; | |
| background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%); | |
| } | |
| .hero-title { | |
| font-size: 2rem; | |
| margin-bottom: 15px; | |
| position: relative; | |
| } | |
| .hero-subtitle { | |
| color: var(--text-secondary); | |
| margin-bottom: 25px; | |
| position: relative; | |
| } | |
| .hero-stats { | |
| display: flex; | |
| gap: 40px; | |
| position: relative; | |
| } | |
| .stat-item { | |
| text-align: left; | |
| } | |
| .stat-value { | |
| font-size: 2rem; | |
| font-weight: 700; | |
| background: var(--gradient-1); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .stat-label { | |
| color: var(--text-secondary); | |
| font-size: 0.9rem; | |
| } | |
| .quick-actions { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 15px; | |
| } | |
| .quick-action-btn { | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| padding: 20px; | |
| background: var(--bg-dark); | |
| border: 1px solid var(--border); | |
| border-radius: 12px; | |
| color: var(--text-primary); | |
| cursor: pointer; | |
| transition: var(--transition); | |
| } | |
| .quick-action-btn:hover { | |
| border-color: var(--primary); | |
| transform: translateX(5px); | |
| } | |
| .quick-action-icon { | |
| width: 50px; | |
| height: 50px; | |
| border-radius: 12px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.5rem; | |
| } | |
| .quick-action-icon.purple { background: rgba(99, 102, 241, 0.2); color: var(--primary); } | |
| .quick-action-icon.pink { background: rgba(236, 72, 153, 0.2); color: var(--secondary); } | |
| .quick-action-icon.teal { background: rgba(20, 184, 166, 0.2); color: var(--accent); } | |
| /* ===== Grid Section ===== */ | |
| .grid-section { | |
| display: grid; | |
| grid-template-columns: repeat(3, 1fr); | |
| gap: 25px; | |
| margin-bottom: 30px; | |
| } | |
| .grid-card { | |
| background: var(--bg-card); | |
| border-radius: 20px; | |
| padding: 25px; | |
| transition: var(--transition); | |
| } | |
| .grid-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: var(--shadow-lg); | |
| } | |
| .card-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 20px; | |
| } | |
| .card-icon { | |
| width: 50px; | |
| height: 50px; | |
| border-radius: 12px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.5rem; | |
| } | |
| .card-icon.blue { background: rgba(59, 130, 246, 0.2); color: #3b82f6; } | |
| .card-icon.green { background: rgba(34, 197, 94, 0.2); color: var(--success); } | |
| .card-icon.orange { background: rgba(245, 158, 11, 0.2); color: var(--warning); } | |
| .card-title { | |
| font-size: 1.1rem; | |
| margin-bottom: 10px; | |
| } | |
| .card-value { | |
| font-size: 2rem; | |
| font-weight: 700; | |
| margin-bottom: 5px; | |
| } | |
| .card-change { | |
| font-size: 0.9rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 5px; | |
| } | |
| .card-change.positive { color: var(--success); } | |
| .card-change.negative { color: var(--danger); } | |
| /* ===== Activity Section ===== */ | |
| .activity-section { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 25px; | |
| margin-bottom: 30px; | |
| } | |
| .activity-card { | |
| background: var(--bg-card); | |
| border-radius: 20px; | |
| padding: 25px; | |
| } | |
| .activity-list { | |
| list-style: none; | |
| } | |
| .activity-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| padding: 15px 0; | |
| border-bottom: 1px solid var(--border); | |
| transition: var(--transition); | |
| } | |
| .activity-item:last-child { | |
| border-bottom: none; | |
| } | |
| .activity-item:hover { | |
| background: var(--bg-dark); | |
| margin: 0 -25px; | |
| padding: 15px 25px; | |
| } | |
| .activity-avatar { | |
| width: 45px; | |
| height: 45px; | |
| border-radius: 50%; | |
| background: var(--gradient-2); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 600; | |
| } | |
| .activity-content { | |
| flex: 1; | |
| } | |
| .activity-text { | |
| margin-bottom: 3px; | |
| } | |
| .activity-text strong { | |
| color: var(--text-primary); | |
| } | |
| .activity-time { | |
| color: var(--text-secondary); | |
| font-size: 0.85rem; | |
| } | |
| /* ===== Chart Section ===== */ | |
| .chart-section { | |
| background: var(--bg-card); | |
| border-radius: 20px; | |
| padding: 25px; | |
| margin-bottom: 30px; | |
| } | |
| .chart-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 25px; | |
| } | |
| .chart-container { | |
| height: 300px; | |
| display: flex; | |
| align-items: flex-end; | |
| gap: 15px; | |
| padding: 20px 0; | |
| } | |
| .chart-bar { | |
| flex: 1; | |
| background: var(--gradient-1); | |
| border-radius: 8px 8px 0 0; | |
| transition: var(--transition); | |
| position: relative; | |
| min-height: 20px; | |
| } | |
| .chart-bar:hover { | |
| opacity: 0.8; | |
| transform: scaleY(1.05); | |
| transform-origin: bottom; | |
| } | |
| .chart-bar::after { | |
| content: attr(data-value); | |
| position: absolute; | |
| top: -25px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| font-size: 0.8rem; | |
| color: var(--text-secondary); | |
| } | |
| .chart-labels { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-top: 10px; | |
| } | |
| .chart-label { | |
| flex: 1; | |
| text-align: center; | |
| color: var(--text-secondary); | |
| font-size: 0.85rem; | |
| } | |
| /* ===== Projects Section ===== */ | |
| .projects-section { | |
| background: var(--bg-card); | |
| border-radius: 20px; | |
| padding: 25px; | |
| } | |
| .project-item { | |
| display: grid; | |
| grid-template-columns: auto 1fr auto auto; | |
| align-items: center; | |
| gap: 20px; | |
| padding: 20px; | |
| border-radius: 12px; | |
| transition: var(--transition); | |
| margin-bottom: 10px; | |
| } | |
| .project-item:hover { | |
| background: var(--bg-dark); | |
| } | |
| .project-item:last-child { | |
| margin-bottom: 0; | |
| } | |
| .project-icon { | |
| width: 50px; | |
| height: 50px; | |
| border-radius: 12px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.5rem; | |
| background: var(--bg-dark); | |
| } | |
| .project-info h4 { | |
| margin-bottom: 5px; | |
| } | |
| .project-info p { | |
| color: var(--text-secondary); | |
| font-size: 0.9rem; | |
| } | |
| .project-progress { | |
| width: 150px; | |
| } | |
| .project-progress .progress-bar { | |
| margin-bottom: 5px; | |
| } | |
| .project-status { | |
| padding: 8px 16px; | |
| border-radius: 20px; | |
| font-size: 0.85rem; | |
| font-weight: 500; | |
| } | |
| .project-status.active { | |
| background: rgba(34, 197, 94, 0.2); | |
| color: var(--success); | |
| } | |
| .project-status.pending { | |
| background: rgba(245, 158, 11, 0.2); | |
| color: var(--warning); | |
| } | |
| .project-status.completed { | |
| background: rgba(99, 102, 241, 0.2); | |
| color: var(--primary); | |
| } | |
| /* ===== Footer ===== */ | |
| .footer { | |
| text-align: center; | |
| padding: 30px; | |
| color: var(--text-secondary); | |
| border-top: 1px solid var(--border); | |
| margin-top: 50px; | |
| } | |
| .footer a { | |
| color: var(--primary); | |
| text-decoration: none; | |
| font-weight: 600; | |
| } | |
| /* ===== Mobile Menu Toggle ===== */ | |
| .mobile-toggle { | |
| display: none; | |
| position: fixed; | |
| bottom: 30px; | |
| right: 30px; | |
| width: 60px; | |
| height: 60px; | |
| background: var(--gradient-1); | |
| border-radius: 50%; | |
| border: none; | |
| color: white; | |
| font-size: 1.5rem; | |
| cursor: pointer; | |
| z-index: 1001; | |
| box-shadow: var(--shadow-lg); | |
| transition: var(--transition); | |
| } | |
| .mobile-toggle:hover { | |
| transform: scale(1.1); | |
| } | |
| /* ===== Animations ===== */ | |
| @keyframes fadeInUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| .animate-in { | |
| animation: fadeInUp 0.6s ease forwards; | |
| } | |
| .delay-1 { animation-delay: 0.1s; } | |
| .delay-2 { animation-delay: 0.2s; } | |
| .delay-3 { animation-delay: 0.3s; } | |
| .delay-4 { animation-delay: 0.4s; } | |
| /* ===== Responsive Design ===== */ | |
| @media (max-width: 1200px) { | |
| .grid-section { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } | |
| @media (max-width: 1024px) { | |
| .sidebar { | |
| transform: translateX(-100%); | |
| transition: var(--transition); | |
| z-index: 999; | |
| } | |
| .sidebar.open { | |
| transform: translateX(0); | |
| } | |
| .main-content { | |
| margin-left: 0; | |
| } | |
| .hero-section { | |
| grid-template-columns: 1fr; | |
| } | |
| .activity-section { | |
| grid-template-columns: 1fr; | |
| } | |
| .mobile-toggle { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .nav-links { | |
| display: none; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .header { | |
| padding: 0 15px; | |
| } | |
| .search-box { | |
| display: none; | |
| } | |
| .main-content { | |
| padding: 15px; | |
| } | |
| .hero-title { | |
| font-size: 1.5rem; | |
| } | |
| .hero-stats { | |
| flex-direction: column; | |
| gap: 20px; | |
| } | |
| .grid-section { | |
| grid-template-columns: 1fr; | |
| } | |
| .project-item { | |
| grid-template-columns: 1fr; | |
| text-align: center; | |
| } | |
| .project-progress { | |
| width: 100%; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .header-actions { | |
| gap: 10px; | |
| } | |
| .icon-btn { | |
| width: 40px; | |
| height: 40px; | |
| } | |
| .user-avatar { | |
| width: 40px; | |
| height: 40px; | |
| } | |
| .quick-action-btn { | |
| padding: 15px; | |
| } | |
| .quick-action-icon { | |
| width: 40px; | |
| height: 40px; | |
| } | |
| } | |
| /* ===== Toast Notifications ===== */ | |
| .toast-container { | |
| position: fixed; | |
| top: 90px; | |
| right: 30px; | |
| z-index: 1002; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .toast { | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: 12px; | |
| padding: 15px 20px; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| min-width: 300px; | |
| animation: slideIn 0.3s ease; | |
| box-shadow: var(--shadow-lg); | |
| } | |
| .toast.success { border-left: 4px solid var(--success); } | |
| .toast.error { border-left: 4px solid var(--danger); } | |
| .toast.warning { border-left: 4px solid var(--warning); } | |
| @keyframes slideIn { | |
| from { | |
| opacity: 0; | |
| transform: translateX(100px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateX(0); | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Header --> | |
| <header class="header"> | |
| <div class="logo"> | |
| <div class="logo-icon"> | |
| <i class="fas fa-cube"></i> | |
| </div> | |
| <span>CreativeStudio</span> | |
| </div> | |
| <nav class="nav-links"> | |
| <a href="#" class="nav-link active">Dashboard</a> | |
| <a href="#" class="nav-link">Projects</a> | |
| <a href="#" class="nav-link">Team</a> | |
| <a href="#" class="nav-link">Analytics</a> | |
| <a href="#" class="nav-link">Settings</a> | |
| </nav> | |
| <div class="header-actions"> | |
| <div class="search-box"> | |
| <i class="fas fa-search"></i> | |
| <input type="text" placeholder="Search anything..."> | |
| </div> | |
| <button class="icon-btn" onclick="showToast('You have 3 new notifications', 'info')"> | |
| <i class="fas fa-bell"></i> | |
| <span class="notification-badge">3</span> | |
| </button> | |
| <button class="icon-btn" onclick="showToast('Messages loaded', 'success')"> | |
| <i class="fas fa-envelope"></i> | |
| </button> | |
| <div class="user-avatar">JD</div> | |
| </div> | |
| </header> | |
| <!-- Sidebar --> | |
| <aside class="sidebar" id="sidebar"> | |
| <div class="sidebar-section"> | |
| <h3 class="sidebar-title">Main Menu</h3> | |
| <ul class="sidebar-menu"> | |
| <li class="sidebar-item"> | |
| <a href="#" class="sidebar-link active"> | |
| <i class="fas fa-home"></i> | |
| Dashboard | |
| </a> | |
| </li> | |
| <li class="sidebar-item"> | |
| <a href="#" class="sidebar-link"> | |
| <i class="fas fa-folder"></i> | |
| My Projects | |
| </a> | |
| </li> | |
| <li class="sidebar-item"> | |
| <a href="#" class="sidebar-link"> | |
| <i class="fas fa-calendar"></i> | |
| Calendar | |
| </a> | |
| </li> | |
| <li class="sidebar-item"> | |
| <a href="#" class="sidebar-link"> | |
| <i class="fas fa-chart-line"></i> | |
| Analytics | |
| </a> | |
| </li> | |
| <li class="sidebar-item"> | |
| <a href="#" class="sidebar-link"> | |
| <i class="fas fa-file-alt"></i> | |
| Documents | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="sidebar-section"> | |
| <h3 class="sidebar-title">Favorites</h3> | |
| <ul class="sidebar-menu"> | |
| <li class="sidebar-item"> | |
| <a href="#" class="sidebar-link"> | |
| <i class="fas fa-star"></i> | |
| Starred Items | |
| </a> | |
| </li> | |
| <li class="sidebar-item"> | |
| <a href="#" class="sidebar-link"> | |
| <i class="fas fa-clock"></i> | |
| Recent | |
| </a> | |
| </li> | |
| <li class="sidebar-item"> | |
| <a href="#" class="sidebar-link"> | |
| <i class="fas fa-trash"></i> | |
| Trash | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="sidebar-section"> | |
| <div class="sidebar-progress"> | |
| <div class="progress-header"> | |
| <span class="progress-title">Weekly Goal</span> | |
| <span class="progress-value">75%</span> | |
| </div> | |
| <div class="progress-bar"> | |
| <div class="progress-fill"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </aside> | |
| <!-- Main Content --> | |
| <main class="main-content"> | |
| <!-- Hero Section --> | |
| <section class="hero-section"> | |
| <div class="hero-card animate-in"> | |
| <h1 class="hero-title">Welcome back, John! 👋</h1> | |
| <p class="hero-subtitle">Here's what's happening with your projects today. You have 12 pending tasks and 3 upcoming deadlines.</p> | |
| <div class="hero-stats"> | |
| <div class="stat-item"> | |
| <div class="stat-value">24</div> | |
| <div class="stat-label">Active Projects</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-value">156</div> | |
| <div class="stat-label">Tasks Completed</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-value">89%</div> | |
| <div class="stat-label">Success Rate</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="quick-actions"> | |
| <button class="quick-action-btn" onclick="showToast('New project created!', 'success')"> | |
| <div class="quick-action-icon purple"> | |
| <i class="fas fa-plus"></i> | |
| </div> | |
| <div> | |
| <div style="font-weight: 600;">New Project</div> | |
| <div style="font-size: 0.85rem; color: var(--text-secondary);">Start fresh</div> | |
| </div> | |
| </button> | |
| <button class="quick-action-btn" onclick="showToast('Upload modal opened', 'info')"> | |
| <div class="quick-action-icon pink"> | |
| <i class="fas fa-cloud-upload-alt"></i> | |
| </div> | |
| <div> | |
| <div style="font-weight: 600;">Upload Files</div> | |
| <div style="font-size: 0.85rem; color: var(--text-secondary);">Drag & drop</div> | |
| </div> | |
| </button> | |
| <button class="quick-action-btn" onclick="showToast('Calendar synced', 'success')"> | |
| <div class="quick-action-icon teal"> | |
| <i class="fas fa-calendar-plus"></i> | |
| </div> | |
| <div> | |
| <div style="font-weight: 600;">Schedule Task</div> | |
| <div style="font-size: 0.85rem; color: var(--text-secondary);">Plan ahead</div> | |
| </div> | |
| </button> | |
| </div> | |
| </section> | |
| <!-- Stats Grid --> | |
| <section class="grid-section"> | |
| <div class="grid-card animate-in delay-1"> | |
| <div class="card-header"> | |
| <div class="card-icon blue"> | |
| <i class="fas fa-users"></i> | |
| </div> | |
| <i class="fas fa-ellipsis-h" style="color: var(--text-secondary); cursor: pointer;"></i> | |
| </div> | |
| <h3 class="card-title">Total Users</h3> | |
| <div class="card-value">12,345</div> | |
| <div class="card-change positive"> | |
| <i class="fas fa-arrow-up"></i> | |
| <span>+12.5% from last month</span> | |
| </div> | |
| </div> | |
| <div class="grid-card animate-in delay-2"> | |
| <div class="card-header"> | |
| <div class="card-icon green"> | |
| <i class="fas fa-dollar-sign"></i> | |
| </div> | |
| <i class="fas fa-ellipsis-h" style="color: var(--text-secondary); cursor: pointer;"></i> | |
| </div> | |
| <h3 class="card-title">Revenue</h3> | |
| <div class="card-value">$45,678</div> | |
| <div class="card-change positive"> | |
| <i class="fas fa-arrow-up"></i> | |
| <span>+8.2% from last month</span> | |
| </div> | |
| </div> | |
| <div class="grid-card animate-in delay-3"> | |
| <div class="card-header"> | |
| <div class="card-icon orange"> | |
| <i class="fas fa-shopping-cart"></i> | |
| </div> | |
| <i class="fas fa-ellipsis-h" style="color: var(--text-secondary); cursor: pointer;"></i> | |
| </div> | |
| <h3 class="card-title">Orders</h3> | |
| <div class="card-value">1,234</div> | |
| <div class="card-change negative"> | |
| <i class="fas fa-arrow-down"></i> | |
| <span>-3.1% from last month</span> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Activity Section --> | |
| <section class="activity-section"> | |
| <div class="activity-card"> | |
| <h3 style="margin-bottom: 20px; font-size: 1.2rem;">Recent Activity</h3> | |
| <ul class="activity-list"> | |
| <li class="activity-item"> | |
| <div class="activity-avatar">SM</div> | |
| <div class="activity-content"> | |
| <div class="activity-text"><strong>Sarah Miller</strong> uploaded 3 new files to <strong>Project Alpha</strong></div> | |
| <div class="activity-time">2 minutes ago</div> | |
| </div> | |
| </li> | |
| <li class="activity-item"> | |
| <div class="activity-avatar">JD</div> | |
| <div class="activity-content"> | |
| <div class="activity-text"><strong>John Doe</strong> completed task <strong>"Design Review"</strong></div> | |
| <div class="activity-time">15 minutes ago</div> | |
| </div> | |
| </li> | |
| <li class="activity-item"> | |
| <div class="activity-avatar">AK</div> | |
| <div class="activity-content"> | |
| <div class="activity-text"><strong>Alex Kim</strong> commented on <strong>Bug Fix #234</strong></div> | |
| <div class="activity-time">1 hour ago</div> | |
| </div> | |
| </li> | |
| <li class="activity-item"> | |
| <div class="activity-avatar">RW</div> | |
| <div class="activity-content"> | |
| <div class="activity-text"><strong>Rachel Wang</strong> created a new project <strong>"Mobile App Redesign"</strong></div> | |
| <div class="activity-time">3 hours ago</div> | |
| </div> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="activity-card"> | |
| <h3 style="margin-bottom: 20px; font-size: 1.2rem;">Team Members</h3> | |
| <ul class="activity-list"> | |
| <li class="activity-item"> | |
| <div class="activity-avatar" style="background: linear-gradient(135deg, #6366f1, #ec4899);">JD</div> | |
| <div class="activity-content"> | |
| <div class="activity-text"><strong>John Doe</strong></div> | |
| <div class="activity-time">Product Designer</div> | |
| </div> | |
| <span style="width: 10px; height: 10px; background: var(--success); border-radius: 50%;"></span> | |
| </li> | |
| <li class="activity-item"> | |
| <div class="activity-avatar" style="background: linear-gradient(135deg, #14b8a6, #6366f1);">SM</div> | |
| <div class="activity-content"> | |
| <div class="activity-text"><strong>Sarah Miller</strong></div> | |
| <div class="activity-time">Frontend Developer</div> | |
| </div> | |
| <span style="width: 10px; height: 10px; background: var(--success); border-radius: 50%;"></span> | |
| </li> | |
| <li class="activity-item"> | |
| <div class="activity-avatar" style="background: linear-gradient(135deg, #f59e0b, #ef4444);">AK</div> | |
| <div class="activity-content"> | |
| <div class="activity-text"><strong>Alex Kim</strong></div> | |
| <div class="activity-time">Backend Developer</div> | |
| </div> | |
| <span style="width: 10px; height: 10px; background: var(--warning); border-radius: 50%;"></span> | |
| </li> | |
| <li class="activity-item"> | |
| <div class="activity-avatar" style="background: linear-gradient(135deg, #ec4899, #6366f1);">RW</div> | |
| <div class="activity-content"> | |
| <div class="activity-text"><strong>Rachel Wang</strong></div> | |
| <div class="activity-time">Project Manager</div> | |
| </div> | |
| <span style="width: 10px; height: 10px; background: var(--text-secondary); border-radius: 50%;"></span> | |
| </li> | |
| </ul> | |
| </div> | |
| </section> | |
| <!-- Chart Section --> | |
| <section class="chart-section"> | |
| <div class="chart-header"> | |
| <h3 style="font-size: 1.2rem;">Weekly Performance</h3> | |
| <div style="display: flex; gap: 10px;"> | |
| <button class="icon-btn" style="width: 35px; height: 35px; font-size: 0.9rem;"> | |
| <i class="fas fa-download"></i> | |
| </button> | |
| <button class="icon-btn" style="width: 35px; height: 35px; font-size: 0.9rem;"> | |
| <i class="fas fa-filter"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="chart-container"> | |
| <div class="chart-bar" style="height: 60%;" data-value="60%"></div> | |
| <div class="chart-bar" style="height: 80%;" data-value="80%"></div> | |
| <div class="chart-bar" style="height: 45%;" data-value="45%"></div> | |
| <div class="chart-bar" style="height: 90%;" data-value="90%"></div> | |
| <div class="chart-bar" style="height: 70%;" data-value="70%"></div> | |
| <div class="chart-bar" style="height: 85%;" data-value="85%"></div> | |
| <div class="chart-bar" style="height: 95%;" data-value="95%"></div> | |
| </div> | |
| <div class="chart-labels"> | |
| <span class="chart-label">Mon</span> | |
| <span class="chart-label">Tue</span> | |
| <span class="chart-label">Wed</span> | |
| <span class="chart-label">Thu</span> | |
| <span class="chart-label">Fri</span> | |
| <span class="chart-label">Sat</span> | |
| <span class="chart-label">Sun</span> | |
| </div> | |
| </section> | |
| <!-- Projects Section --> | |
| <section class="projects-section"> | |
| <h3 style="font-size: 1.2rem; margin-bottom: 20px;">Active Projects</h3> | |
| <div class="project-item"> | |
| <div class="project-icon"> | |
| <i class="fas fa-palette" style="color: var(--primary);"></i> | |
| </div> | |
| <div class="project-info"> | |
| <h4>Website Redesign</h4> | |
| <p>Updating the main website with new branding</p> | |
| </div> | |
| <div class="project-progress"> | |
| <div class="progress-bar"> | |
| <div class="progress-fill" style="width: 85%;"></div> | |
| </div> | |
| <div style="font-size: 0.85rem; color: var(--text-secondary); margin-top: 5px;">85% Complete</div> | |
| </div> | |
| <span class="project-status active">Active</span> | |
| </div> | |
| <div class="project-item"> | |
| <div class="project-icon"> | |
| <i class="fas fa-mobile-alt" style="color: var(--secondary);"></i> | |
| </div> | |
| <div class="project-info"> | |
| <h4>Mobile App Development</h4> | |
| <p>iOS and Android app for customers</p> | |
| </div> | |
| <div class="project-progress"> | |
| <div class="progress-bar"> | |
| <div class="progress-fill" style="width: 45%;"></div> | |
| </div> | |
| <div style="font-size: 0.85rem; color: var(--text-secondary); margin-top: 5px;">45% Complete</div> | |
| </div> | |
| <span class="project-status pending">Pending</span> | |
| </div> | |
| <div class="project-item"> | |
| <div class="project-icon"> | |
| <i class="fas fa-rocket" style="color: var(--accent);"></i> | |
| </div> | |
| <div class="project-info"> | |
| <h4>Marketing Campaign</h4> | |
| <p>Q4 marketing strategy and execution</p> | |
| </div> | |
| <div class="project-progress"> | |
| <div class="progress-bar"> | |
| <div class="progress-fill" style="width: 100%;"></div> | |
| </div> | |
| <div style="font-size: 0.85rem; color: var(--text-secondary); margin-top: 5px;">100% Complete</div> | |
| </div> | |
| <span class="project-status completed">Completed</span> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Mobile Toggle --> | |
| <button class="mobile-toggle" onclick="toggleSidebar()"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| <!-- Toast Container --> | |
| <div class="toast-container" id="toastContainer"></div> | |
| <!-- Footer --> | |
| <footer class="footer"> | |
| <p>Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">anycoder</a> | © 2024 Creative Studio Pro. All rights reserved.</p> | |
| </footer> | |
| <script> | |
| // Sidebar Toggle | |
| function toggleSidebar() { | |
| const sidebar = document.getElementById('sidebar'); | |
| sidebar.classList.toggle('open'); | |
| } | |
| // Toast Notification System | |
| function showToast(message, type = 'info') { | |
| const container = document.getElementById('toastContainer'); | |
| const toast = document.createElement('div'); | |
| toast.className = `toast ${type}`; | |
| const icons = { | |
| success: 'fas fa-check-circle', | |
| error: 'fas fa-times-circle', | |
| warning: 'fas fa-exclamation-circle', | |
| info: 'fas fa-info-circle' | |
| }; | |
| const colors = { | |
| success: 'var(--success)', | |
| error: 'var(--danger)', | |
| warning: 'var(--warning)', | |
| info: 'var(--primary)' | |
| }; | |
| toast.innerHTML = ` | |
| <i class="${icons[type]}" style="color: ${colors[type]}; font-size: 1.2rem;"></i> | |
| <span>${message}</span> | |
| `; | |
| container.appendChild(toast); | |
| setTimeout(() => { | |
| toast.style.animation = 'slideIn 0.3s ease reverse'; | |
| setTimeout(() => toast.remove(), 300); | |
| }, 3000); | |
| } | |
| // Animate Progress Bars on Scroll | |
| const observerOptions = { | |
| threshold: 0.5 | |
| }; | |
| const observer = new IntersectionObserver((entries) => { | |
| entries.forEach(entry => { | |
| if (entry.isIntersecting) { | |
| const progressBars = entry.target.querySelectorAll('.progress-fill'); | |
| progressBars.forEach(bar => { | |
| const width = bar.style.width; | |
| bar.style.width = '0%'; | |
| setTimeout(() => { | |
| bar.style.width = width; | |
| }, 100); | |
| }); | |
| } | |
| }); | |
| }, observerOptions); | |
| const progressSection = document.querySelector('.sidebar-progress'); | |
| if (progressSection) { | |
| observer.observe(progressSection); | |
| } | |
| // Chart Bar Animation | |
| const chartBars = document.querySelectorAll('.chart-bar'); | |
| chartBars.forEach((bar, index) => { | |
| const height = bar.style.height; | |
| bar.style.height = '0%'; | |
| setTimeout(() => { | |
| bar.style.height = height; | |
| }, 200 + (index * 100)); | |
| }); | |
| // Search Functionality | |
| const searchInput = document.querySelector('.search-box input'); | |
| searchInput.addEventListener('keypress', (e) => { | |
| if (e.key === 'Enter') { | |
| showToast(`Searching for: "${searchInput.value}"`, 'info'); | |
| } | |
| }); | |
| // Interactive Cards | |
| const gridCards = document.querySelectorAll('.grid-card'); | |
| gridCards.forEach(card => { | |
| card.addEventListener('mouseenter', () => { | |
| card.style.transform = 'translateY(-5px) scale(1.02)'; | |
| }); | |
| card.addEventListener('mouseleave', () => { | |
| card.style.transform = 'translateY(0) scale(1)'; | |
| }); | |
| }); | |
| // Activity Items Click | |
| const activityItems = document.querySelectorAll('.activity-item'); | |
| activityItems.forEach(item => { | |
| item.style.cursor = 'pointer'; | |
| item.addEventListener(' |