diff --git a/apps/ai-game-creator-shell/src/App.tsx b/apps/ai-game-creator-shell/src/App.tsx
index 434713dbd..a22ed39e4 100644
--- a/apps/ai-game-creator-shell/src/App.tsx
+++ b/apps/ai-game-creator-shell/src/App.tsx
@@ -2225,7 +2225,13 @@ export function WorkspaceLauncher({
-
+ 0
+ ? 'launcher-main launcher-main-with-promo'
+ : 'launcher-main'
+ }
+ >
{launcherNotifications.length > 0 ? (
{launcherNotifications.map((notification) => (
diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css
index ba9cb1d6f..5bd8a47f5 100644
--- a/apps/ai-game-creator-shell/src/styles.css
+++ b/apps/ai-game-creator-shell/src/styles.css
@@ -320,7 +320,7 @@ textarea {
.launcher-account-bar {
position: absolute;
- top: 44px;
+ top: 16px;
right: 22px;
display: flex;
align-items: center;
@@ -328,6 +328,10 @@ textarea {
z-index: 2;
}
+.launcher-main-with-promo .launcher-account-bar {
+ top: 44px;
+}
+
.launcher-account-bar span,
.launcher-account-bar button {
height: 24px;
@@ -366,7 +370,11 @@ textarea {
justify-items: center;
gap: 13px;
min-height: 374px;
- padding: 135px 24px 18px;
+ padding: 103px 24px 18px;
+}
+
+.launcher-main-with-promo .launcher-hero {
+ padding-top: 135px;
}
.launcher-hero-title {
@@ -952,6 +960,10 @@ textarea {
padding: 84px 14px 34px;
}
+ .launcher-main-with-promo .launcher-hero {
+ padding-top: 84px;
+ }
+
.launcher-hero-title {
flex-direction: column;
gap: 10px;
diff --git a/apps/ai-game-creator-shell/tests/appSurface.test.ts b/apps/ai-game-creator-shell/tests/appSurface.test.ts
index 4c4d7b8e1..4da372c96 100644
--- a/apps/ai-game-creator-shell/tests/appSurface.test.ts
+++ b/apps/ai-game-creator-shell/tests/appSurface.test.ts
@@ -686,6 +686,12 @@ describe('AI 游戏创作 App 界面边界', () => {
expect(screen.getByLabelText('项目启动器')).not.toBeNull();
expect(screen.queryByLabelText('通知')).toBeNull();
+ expect(
+ screen
+ .getByLabelText('项目启动器')
+ .querySelector('.launcher-main')
+ ?.className.includes('launcher-main-with-promo'),
+ ).toBe(false);
expect(screen.queryByLabelText('聊天')).toBeNull();
fireEvent.change(screen.getByLabelText('项目目录'), {
target: { value: '/tmp/authorized-game' },