data.ts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. interface GroupItem {
  2. title: string;
  3. icon: string;
  4. color: string;
  5. desc: string;
  6. date: string;
  7. group: string;
  8. }
  9. interface NavItem {
  10. title: string;
  11. icon: string;
  12. color: string;
  13. }
  14. interface DynamicInfoItem {
  15. avatar: string;
  16. name: string;
  17. date: string;
  18. desc: string;
  19. }
  20. export const navItems: NavItem[] = [
  21. {
  22. title: '首页',
  23. icon: 'ion:home-outline',
  24. color: '#1fdaca',
  25. },
  26. {
  27. title: '仪表盘',
  28. icon: 'ion:grid-outline',
  29. color: '#bf0c2c',
  30. },
  31. {
  32. title: '组件',
  33. icon: 'ion:layers-outline',
  34. color: '#e18525',
  35. },
  36. {
  37. title: '系统管理',
  38. icon: 'ion:settings-outline',
  39. color: '#3fb27f',
  40. },
  41. {
  42. title: '权限管理',
  43. icon: 'ion:key-outline',
  44. color: '#4daf1bc9',
  45. },
  46. {
  47. title: '图表',
  48. icon: 'ion:bar-chart-outline',
  49. color: '#00d8ff',
  50. },
  51. ];
  52. export const dynamicInfoItems: DynamicInfoItem[] = [
  53. {
  54. avatar: 'dynamic-avatar-1|svg',
  55. name: '威廉',
  56. date: '刚刚',
  57. desc: `在 <a>开源组</a> 创建了项目 <a>Vue</a>`,
  58. },
  59. {
  60. avatar: 'dynamic-avatar-2|svg',
  61. name: '艾文',
  62. date: '1个小时前',
  63. desc: `关注了 <a>威廉</a> `,
  64. },
  65. {
  66. avatar: 'dynamic-avatar-3|svg',
  67. name: '克里斯',
  68. date: '1天前',
  69. desc: `发布了 <a>个人动态</a> `,
  70. },
  71. {
  72. avatar: 'dynamic-avatar-4|svg',
  73. name: 'Vben',
  74. date: '2天前',
  75. desc: `发表文章 <a>如何编写一个Vite插件</a> `,
  76. },
  77. {
  78. avatar: 'dynamic-avatar-5|svg',
  79. name: '皮特',
  80. date: '3天前',
  81. desc: `回复了 <a>杰克</a> 的问题 <a>如何进行项目优化?</a>`,
  82. },
  83. {
  84. avatar: 'dynamic-avatar-6|svg',
  85. name: '杰克',
  86. date: '1周前',
  87. desc: `关闭了问题 <a>如何运行项目</a> `,
  88. },
  89. {
  90. avatar: 'dynamic-avatar-1|svg',
  91. name: '威廉',
  92. date: '1周前',
  93. desc: `发布了 <a>个人动态</a> `,
  94. },
  95. {
  96. avatar: 'dynamic-avatar-1|svg',
  97. name: '威廉',
  98. date: '2021-04-01 20:00',
  99. desc: `推送了代码到 <a>Github</a>`,
  100. },
  101. ];
  102. export const groupItems: GroupItem[] = [
  103. {
  104. title: 'Github',
  105. icon: 'carbon:logo-github',
  106. color: '',
  107. desc: '不要等待机会,而要创造机会。',
  108. group: '开源组',
  109. date: '2021-04-01',
  110. },
  111. {
  112. title: 'Vue',
  113. icon: 'ion:logo-vue',
  114. color: '#3fb27f',
  115. desc: '现在的你决定将来的你。',
  116. group: '算法组',
  117. date: '2021-04-01',
  118. },
  119. {
  120. title: 'Html5',
  121. icon: 'ion:logo-html5',
  122. color: '#e18525',
  123. desc: '没有什么才能比努力更重要。',
  124. group: '上班摸鱼',
  125. date: '2021-04-01',
  126. },
  127. {
  128. title: 'Angular',
  129. icon: 'ion:logo-angular',
  130. color: '#bf0c2c',
  131. desc: '热情和欲望可以突破一切难关。',
  132. group: 'UI',
  133. date: '2021-04-01',
  134. },
  135. {
  136. title: 'React',
  137. icon: 'bx:bxl-react',
  138. color: '#00d8ff',
  139. desc: '健康的身体是实目标的基石。',
  140. group: '技术牛',
  141. date: '2021-04-01',
  142. },
  143. {
  144. title: 'Js',
  145. icon: 'ion:logo-javascript',
  146. color: '#4daf1bc9',
  147. desc: '路是走出来的,而不是空想出来的。',
  148. group: '架构组',
  149. date: '2021-04-01',
  150. },
  151. ];