NavigationSidebar.tsx 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. "use client";
  2. export function NavigationSidebar() {
  3. return (
  4. <div className="w-16 bg-gray-50 flex flex-col items-center py-4 border-r border-gray-200">
  5. <button
  6. className="w-10 h-10 rounded-lg bg-green-600 flex items-center justify-center mb-4 hover:bg-green-700 transition-colors"
  7. title="对话"
  8. >
  9. <svg
  10. className="w-6 h-6 text-white"
  11. fill="none"
  12. stroke="currentColor"
  13. viewBox="0 0 24 24"
  14. >
  15. <path
  16. strokeLinecap="round"
  17. strokeLinejoin="round"
  18. strokeWidth={2}
  19. d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
  20. />
  21. </svg>
  22. </button>
  23. <button
  24. className="w-10 h-10 rounded-lg bg-white border border-gray-200 flex items-center justify-center mb-4 hover:bg-gray-100 transition-colors"
  25. title="知识库"
  26. disabled
  27. >
  28. <svg
  29. className="w-6 h-6 text-gray-600"
  30. fill="none"
  31. stroke="currentColor"
  32. viewBox="0 0 24 24"
  33. >
  34. <path
  35. strokeLinecap="round"
  36. strokeLinejoin="round"
  37. strokeWidth={2}
  38. d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5s3.332.477 4.5 1.253v13C19.832 18.477 18.246 18 16.5 18s-3.332.477-4.5 1.253"
  39. />
  40. </svg>
  41. </button>
  42. <button
  43. className="w-10 h-10 rounded-lg bg-white border border-gray-200 flex items-center justify-center mb-4 hover:bg-gray-100 transition-colors"
  44. title="事件管理"
  45. disabled
  46. >
  47. <svg
  48. className="w-6 h-6 text-gray-600"
  49. fill="none"
  50. stroke="currentColor"
  51. viewBox="0 0 24 24"
  52. >
  53. <path
  54. strokeLinecap="round"
  55. strokeLinejoin="round"
  56. strokeWidth={2}
  57. d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
  58. />
  59. </svg>
  60. </button>
  61. <button
  62. className="w-10 h-10 rounded-lg bg-white border border-gray-200 flex items-center justify-center mb-4 hover:bg-gray-100 transition-colors"
  63. title="用户管理"
  64. disabled
  65. >
  66. <svg
  67. className="w-6 h-6 text-gray-600"
  68. fill="none"
  69. stroke="currentColor"
  70. viewBox="0 0 24 24"
  71. >
  72. <path
  73. strokeLinecap="round"
  74. strokeLinejoin="round"
  75. strokeWidth={2}
  76. d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"
  77. />
  78. </svg>
  79. </button>
  80. <button
  81. className="w-10 h-10 rounded-lg bg-white border border-gray-200 flex items-center justify-center mt-auto hover:bg-gray-100 transition-colors"
  82. title="设置"
  83. disabled
  84. >
  85. <svg
  86. className="w-6 h-6 text-gray-600"
  87. fill="none"
  88. stroke="currentColor"
  89. viewBox="0 0 24 24"
  90. >
  91. <path
  92. strokeLinecap="round"
  93. strokeLinejoin="round"
  94. strokeWidth={2}
  95. d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"
  96. />
  97. <path
  98. strokeLinecap="round"
  99. strokeLinejoin="round"
  100. strokeWidth={2}
  101. d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
  102. />
  103. </svg>
  104. </button>
  105. </div>
  106. );
  107. }