Bladeren bron

layout: swap SecondSelf and Chatbot positions on mobile

SecondSelf (actions) is a newer project, move it above Chatbot
on sm/xs/xxs breakpoints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
rriecc 9 maanden geleden
bovenliggende
commit
1b8777ffbb
1 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. 6 6
      config/layout.ts

+ 6 - 6
config/layout.ts

@@ -33,39 +33,39 @@ export const layouts: Record<string, ResponsiveLayouts> = {
       { i: "themeSwitch", x: 0, y: 1, w: 1, h: 1 },
       { i: "miniModel", x: 1, y: 1, w: 1, h: 1 },
       { i: "cardStack", x: 0, y: 2, w: 2, h: 2 },
-      { i: "chatBot", x: 0, y: 3, w: 2, h: 1 },
+      { i: "actions", x: 0, y: 3, w: 2, h: 1 },
       { i: "animatedEmoji", x: 0, y: 4, w: 2, h: 2 },
       { i: "iconCloud", x: 0, y: 6, w: 1, h: 1 },
       { i: "webAgent", x: 1, y: 6, w: 1, h: 2 },
       { i: "paper", x: 0, y: 7, w: 1, h: 1 },
       { i: "mapComponent", x: 0, y: 6, w: 2, h: 1 },
-      { i: "actions", x: 0, y: 8, w: 2, h: 1 },
+      { i: "chatBot", x: 0, y: 8, w: 2, h: 1 },
     ],
     xs: [
       { i: "avatar", x: 0, y: 0, w: 2, h: 2 },
       { i: "themeSwitch", x: 0, y: 1, w: 1, h: 1 },
       { i: "miniModel", x: 1, y: 1, w: 1, h: 1 },
       { i: "cardStack", x: 0, y: 2, w: 2, h: 2 },
-      { i: "chatBot", x: 0, y: 3, w: 2, h: 1 },
+      { i: "actions", x: 0, y: 3, w: 2, h: 1 },
       { i: "animatedEmoji", x: 0, y: 4, w: 2, h: 2 },
       { i: "iconCloud", x: 0, y: 6, w: 1, h: 1 },
       { i: "webAgent", x: 1, y: 6, w: 1, h: 2 },
       { i: "paper", x: 0, y: 7, w: 1, h: 1 },
       { i: "mapComponent", x: 0, y: 6, w: 2, h: 1 },
-      { i: "actions", x: 0, y: 8, w: 2, h: 1 },
+      { i: "chatBot", x: 0, y: 8, w: 2, h: 1 },
     ],
     xxs: [
       { i: "avatar", x: 0, y: 0, w: 2, h: 2 },
       { i: "themeSwitch", x: 0, y: 1, w: 1, h: 1 },
       { i: "miniModel", x: 1, y: 1, w: 1, h: 1 },
       { i: "cardStack", x: 0, y: 2, w: 2, h: 2 },
-      { i: "chatBot", x: 0, y: 3, w: 2, h: 1 },
+      { i: "actions", x: 0, y: 3, w: 2, h: 1 },
       { i: "animatedEmoji", x: 0, y: 4, w: 2, h: 2 },
       { i: "iconCloud", x: 0, y: 6, w: 1, h: 1 },
       { i: "webAgent", x: 1, y: 6, w: 1, h: 2 },
       { i: "paper", x: 0, y: 7, w: 1, h: 1 },
       { i: "mapComponent", x: 0, y: 6, w: 2, h: 1 },
-      { i: "actions", x: 0, y: 8, w: 2, h: 1 },
+      { i: "chatBot", x: 0, y: 8, w: 2, h: 1 },
     ],
   },