ai_agent_dashboard.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=393, initial-scale=1, user-scalable=no">
  6. <title>AI Social Agent - Dashboard</title>
  7. <style>
  8. * {
  9. margin: 0;
  10. padding: 0;
  11. box-sizing: border-box;
  12. }
  13. body {
  14. font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  15. background: #0F172A;
  16. color: #f1f5f9;
  17. width: 393px;
  18. min-height: 852px;
  19. overflow-x: hidden;
  20. }
  21. .canvas {
  22. position: relative;
  23. width: 393px;
  24. min-height: 852px;
  25. background: #0F172A;
  26. overflow: hidden;
  27. }
  28. /* Atmosphere - Blurred gradient blobs */
  29. .blob {
  30. position: absolute;
  31. border-radius: 50%;
  32. filter: blur(80px);
  33. opacity: 0.35;
  34. }
  35. .blob-1 {
  36. width: 280px;
  37. height: 280px;
  38. background: #6366F1;
  39. top: -80px;
  40. right: -60px;
  41. }
  42. .blob-2 {
  43. width: 200px;
  44. height: 200px;
  45. background: #A855F7;
  46. bottom: 200px;
  47. left: -50px;
  48. }
  49. .blob-3 {
  50. width: 150px;
  51. height: 150px;
  52. background: #6366F1;
  53. top: 400px;
  54. right: -30px;
  55. }
  56. .content {
  57. position: relative;
  58. z-index: 1;
  59. padding: 0 20px 100px;
  60. }
  61. /* Dynamic Island */
  62. .dynamic-island {
  63. width: 126px;
  64. height: 37px;
  65. background: #000;
  66. border-radius: 20px;
  67. margin: 12px auto 20px;
  68. flex-shrink: 0;
  69. }
  70. /* Header */
  71. .header {
  72. display: flex;
  73. justify-content: space-between;
  74. align-items: center;
  75. margin-bottom: 24px;
  76. }
  77. .header h1 {
  78. font-size: 24px;
  79. font-weight: 600;
  80. letter-spacing: -0.5px;
  81. }
  82. .avatar {
  83. width: 40px;
  84. height: 40px;
  85. border-radius: 50%;
  86. background: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
  87. border: 2px solid rgba(255,255,255,0.3);
  88. }
  89. /* Glassmorphism base – refined slate glass */
  90. .glass {
  91. background: rgba(30, 41, 59, 0.7);
  92. backdrop-filter: blur(20px);
  93. -webkit-backdrop-filter: blur(20px);
  94. border: 1px solid rgba(100, 116, 139, 0.4);
  95. border-radius: 24px;
  96. box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  97. }
  98. /* Hero Card */
  99. .hero-card {
  100. padding: 24px;
  101. margin-bottom: 16px;
  102. }
  103. .hero-card .label {
  104. font-size: 14px;
  105. color: #94A3B8;
  106. margin-bottom: 8px;
  107. }
  108. .hero-card .value-row {
  109. display: flex;
  110. align-items: center;
  111. gap: 12px;
  112. }
  113. .hero-card .value {
  114. font-size: 36px;
  115. font-weight: 700;
  116. color: #f8fafc;
  117. }
  118. .badge {
  119. background: rgba(34, 197, 94, 0.3);
  120. color: #22c55e;
  121. padding: 6px 12px;
  122. border-radius: 12px;
  123. font-size: 14px;
  124. font-weight: 600;
  125. }
  126. /* Stats Grid */
  127. .stats-grid {
  128. display: grid;
  129. grid-template-columns: 1fr 1fr 1fr;
  130. gap: 12px;
  131. margin-bottom: 16px;
  132. }
  133. .stat-card {
  134. padding: 16px 12px;
  135. text-align: center;
  136. }
  137. .stat-card .stat-value {
  138. font-size: 22px;
  139. font-weight: 700;
  140. margin-bottom: 4px;
  141. color: #f8fafc;
  142. }
  143. .stat-card .stat-label {
  144. font-size: 12px;
  145. color: #94A3B8;
  146. }
  147. /* Trend Section – aligned with content */
  148. .trend-card {
  149. padding: 20px;
  150. margin-bottom: 16px;
  151. width: 100%;
  152. box-sizing: border-box;
  153. }
  154. .trend-card h3 {
  155. font-size: 16px;
  156. font-weight: 600;
  157. margin-bottom: 16px;
  158. color: #f8fafc;
  159. }
  160. .chart-container {
  161. height: 80px;
  162. display: flex;
  163. align-items: flex-end;
  164. gap: 8px;
  165. }
  166. .chart-bar {
  167. flex: 1;
  168. min-height: 12px;
  169. background: linear-gradient(180deg, #6366F1 0%, #A855F7 100%);
  170. border-radius: 6px 6px 0 0;
  171. }
  172. .chart-bar:nth-child(1) { height: 25%; }
  173. .chart-bar:nth-child(2) { height: 35%; }
  174. .chart-bar:nth-child(3) { height: 45%; }
  175. .chart-bar:nth-child(4) { height: 55%; }
  176. .chart-bar:nth-child(5) { height: 70%; }
  177. .chart-bar:nth-child(6) { height: 85%; }
  178. .chart-bar:nth-child(7) { height: 100%; }
  179. /* Video List */
  180. .video-section h3 {
  181. font-size: 18px;
  182. font-weight: 600;
  183. margin-bottom: 12px;
  184. padding: 0 4px;
  185. color: #f8fafc;
  186. }
  187. .video-item {
  188. display: flex;
  189. gap: 12px;
  190. padding: 12px;
  191. border-radius: 24px;
  192. margin-bottom: 8px;
  193. align-items: center;
  194. }
  195. .video-thumb {
  196. width: 64px;
  197. height: 48px;
  198. border-radius: 8px;
  199. background: linear-gradient(135deg, rgba(99,102,241,0.4) 0%, rgba(168,85,247,0.4) 100%);
  200. flex-shrink: 0;
  201. }
  202. .video-info {
  203. flex: 1;
  204. min-width: 0;
  205. }
  206. .video-title {
  207. font-size: 14px;
  208. font-weight: 600;
  209. margin-bottom: 4px;
  210. white-space: nowrap;
  211. overflow: hidden;
  212. text-overflow: ellipsis;
  213. color: #f8fafc;
  214. }
  215. .video-stats {
  216. display: flex;
  217. gap: 12px;
  218. font-size: 12px;
  219. color: #94A3B8;
  220. }
  221. .video-stats span {
  222. display: flex;
  223. align-items: center;
  224. gap: 4px;
  225. }
  226. /* iOS Tab Bar */
  227. .tab-bar {
  228. position: fixed;
  229. bottom: 0;
  230. left: 50%;
  231. transform: translateX(-50%);
  232. width: 393px;
  233. max-width: 100%;
  234. height: 83px;
  235. padding-bottom: 34px;
  236. display: flex;
  237. justify-content: space-around;
  238. align-items: center;
  239. background: rgba(15, 23, 42, 0.9);
  240. backdrop-filter: blur(20px);
  241. -webkit-backdrop-filter: blur(20px);
  242. border-top: 1px solid rgba(100, 116, 139, 0.3);
  243. }
  244. .tab-item {
  245. display: flex;
  246. flex-direction: column;
  247. align-items: center;
  248. gap: 4px;
  249. color: #94A3B8;
  250. font-size: 10px;
  251. }
  252. .tab-item.active {
  253. color: #f8fafc;
  254. }
  255. .tab-icon {
  256. width: 28px;
  257. height: 28px;
  258. background: rgba(255,255,255,0.15);
  259. border-radius: 8px;
  260. }
  261. .tab-item.active .tab-icon {
  262. background: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
  263. }
  264. /* Generate Report – primary CTA */
  265. .btn-generate-report {
  266. display: flex;
  267. justify-content: center;
  268. align-items: center;
  269. width: 100%;
  270. max-width: 353px;
  271. height: 48px;
  272. margin: 0 20px 16px;
  273. background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  274. border: none;
  275. border-radius: 16px;
  276. color: #fff;
  277. font-size: 16px;
  278. font-weight: 600;
  279. cursor: pointer;
  280. box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  281. transition: transform 0.15s ease, box-shadow 0.15s ease;
  282. }
  283. .btn-generate-report:hover {
  284. transform: translateY(-1px);
  285. box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  286. }
  287. .btn-generate-report:active {
  288. transform: translateY(0);
  289. }
  290. </style>
  291. </head>
  292. <body>
  293. <div class="canvas">
  294. <!-- Atmosphere blobs -->
  295. <div class="blob blob-1"></div>
  296. <div class="blob blob-2"></div>
  297. <div class="blob blob-3"></div>
  298. <div class="content">
  299. <!-- Dynamic Island -->
  300. <div class="dynamic-island"></div>
  301. <!-- Header -->
  302. <header class="header">
  303. <h1>AI Insight</h1>
  304. <div class="avatar"></div>
  305. </header>
  306. <!-- Generate Report CTA -->
  307. <button class="btn-generate-report">Generate Report</button>
  308. <!-- Hero Card -->
  309. <div class="glass hero-card">
  310. <div class="label">Total Followers</div>
  311. <div class="value-row">
  312. <span class="value">128.5K</span>
  313. <span class="badge">+1.2K</span>
  314. </div>
  315. </div>
  316. <!-- Stats Grid -->
  317. <div class="stats-grid">
  318. <div class="glass stat-card">
  319. <div class="stat-value">892K</div>
  320. <div class="stat-label">Plays</div>
  321. </div>
  322. <div class="glass stat-card">
  323. <div class="stat-value">42.1K</div>
  324. <div class="stat-label">Likes</div>
  325. </div>
  326. <div class="glass stat-card">
  327. <div class="stat-value">8.3K</div>
  328. <div class="stat-label">Shares</div>
  329. </div>
  330. </div>
  331. <!-- Trend Section -->
  332. <div class="glass trend-card">
  333. <h3>Fan Trend (7d)</h3>
  334. <div class="chart-container">
  335. <div class="chart-bar"></div>
  336. <div class="chart-bar"></div>
  337. <div class="chart-bar"></div>
  338. <div class="chart-bar"></div>
  339. <div class="chart-bar"></div>
  340. <div class="chart-bar"></div>
  341. <div class="chart-bar"></div>
  342. </div>
  343. </div>
  344. <!-- Video List – aligned with Trend -->
  345. <section class="video-section">
  346. <h3>Recent Videos</h3>
  347. <div class="glass video-item">
  348. <div class="video-thumb"></div>
  349. <div class="video-info">
  350. <div class="video-title">Morning Routine & Productivity Tips</div>
  351. <div class="video-stats">
  352. <span>▶ 12.4K</span>
  353. <span>♥ 892</span>
  354. <span>↗ 156</span>
  355. </div>
  356. </div>
  357. </div>
  358. <div class="glass video-item">
  359. <div class="video-thumb"></div>
  360. <div class="video-info">
  361. <div class="video-title">AI Tools That Changed My Workflow</div>
  362. <div class="video-stats">
  363. <span>▶ 28.1K</span>
  364. <span>♥ 2.1K</span>
  365. <span>↗ 432</span>
  366. </div>
  367. </div>
  368. </div>
  369. <div class="glass video-item">
  370. <div class="video-thumb"></div>
  371. <div class="video-info">
  372. <div class="video-title">Vlog: Weekend in the City</div>
  373. <div class="video-stats">
  374. <span>▶ 5.2K</span>
  375. <span>♥ 340</span>
  376. <span>↗ 89</span>
  377. </div>
  378. </div>
  379. </div>
  380. </section>
  381. </div>
  382. <!-- iOS Tab Bar -->
  383. <nav class="tab-bar">
  384. <div class="tab-item active">
  385. <div class="tab-icon"></div>
  386. Dashboard
  387. </div>
  388. <div class="tab-item">
  389. <div class="tab-icon"></div>
  390. Content
  391. </div>
  392. <div class="tab-item">
  393. <div class="tab-icon"></div>
  394. AI Chat
  395. </div>
  396. <div class="tab-item">
  397. <div class="tab-icon"></div>
  398. Settings
  399. </div>
  400. </nav>
  401. </div>
  402. </body>
  403. </html>