Refactor layout components to improve responsiveness and accessibility; integrate appShell classes for consistent styling across DesktopAIShell and BottomNav. Update SelectPage to enhance option selection UI with image support and language filtering logic in SystemPage for better localization handling.

This commit is contained in:
yangy
2026-05-25 16:30:40 +08:00
parent 961c3b4de9
commit c34571392d
18 changed files with 130 additions and 55 deletions
+5 -3
View File
@@ -22,6 +22,7 @@ import AIPage from "./pages/AIPage";
import CommunityPage from "./pages/CommunityPage";
import { AIDrawerProvider } from "./contexts/AIDrawerContext";
import DesktopAIShell from "./components/DesktopAIShell";
import { appShellColumnClass, appShellGutterClass } from "./lib/appShell";
function AIPageRoute() {
return <AIPage />;
@@ -59,9 +60,10 @@ function App() {
<Toaster />
<Router hook={useHashLocation}>
<AIDrawerProvider>
{/* Desktop: narrow shell centered in the browser with side gutters */}
<div className="min-h-dvh bg-[#0d1117]">
<div className="mx-auto min-h-dvh w-full max-w-full lg:max-w-[min(1180px,calc(100vw-3rem))]">
<div
className={`min-h-dvh bg-[#0d1117] flex justify-center ${appShellGutterClass}`}
>
<div className={`min-h-dvh ${appShellColumnClass}`}>
<DesktopAIShell>
<AppRouter />
</DesktopAIShell>