update
This commit is contained in:
		@@ -13,6 +13,10 @@ const tabs = [
 | 
			
		||||
  {
 | 
			
		||||
    key: 'world',
 | 
			
		||||
    title: '世界'
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    key: 'docs',
 | 
			
		||||
    title: '文档'
 | 
			
		||||
  }
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
@@ -35,6 +39,12 @@ export const BaseApp = () => {
 | 
			
		||||
            世界模块暂未实现
 | 
			
		||||
          </div>
 | 
			
		||||
        );
 | 
			
		||||
      case 'docs':
 | 
			
		||||
        return (
 | 
			
		||||
          <div className="flex items-center justify-center h-96 text-gray-500">
 | 
			
		||||
            文档模块暂未实现
 | 
			
		||||
          </div>
 | 
			
		||||
        );
 | 
			
		||||
      default:
 | 
			
		||||
        return null;
 | 
			
		||||
    }
 | 
			
		||||
@@ -49,11 +59,10 @@ export const BaseApp = () => {
 | 
			
		||||
            <button
 | 
			
		||||
              key={tab.key}
 | 
			
		||||
              onClick={() => setActiveTab(tab.key)}
 | 
			
		||||
              className={`py-2 px-1 border-b-2 font-medium text-sm ${
 | 
			
		||||
                activeTab === tab.key
 | 
			
		||||
                  ? 'border-blue-500 text-blue-600'
 | 
			
		||||
                  : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'
 | 
			
		||||
              }`}
 | 
			
		||||
              className={`py-2 px-1 border-b-2 font-medium text-sm ${activeTab === tab.key
 | 
			
		||||
                ? 'border-blue-500 text-blue-600'
 | 
			
		||||
                : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'
 | 
			
		||||
                }`}
 | 
			
		||||
            >
 | 
			
		||||
              {tab.title}
 | 
			
		||||
            </button>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user