Skip to content

fix: homepage hero rendering + modal mask api migration#2679

Open
Noveris-AI wants to merge 1 commit intoModelEngine-Group:mainfrom
Noveris-AI:codex/reopen-hero-gradient-mask-api
Open

fix: homepage hero rendering + modal mask api migration#2679
Noveris-AI wants to merge 1 commit intoModelEngine-Group:mainfrom
Noveris-AI:codex/reopen-hero-gradient-mask-api

Conversation

@Noveris-AI
Copy link
Contributor

抱歉,这个 PR 是对上周同一修复的重新提交。

By: Passion

Summary

  • fix homepage Hero title clipping and alignment by switching container to min-h-full and top-aligned layout
  • redesign the main homepage heading into a smaller gradient art-style title with improved spacing/line height for better cross-viewport rendering
  • replace deprecated Ant Design maskClosable usage with mask={{ closable: ... }} across Modal components to remove console warnings

Changes

Homepage typography/layout updates in:

  • frontend/app/[locale]/page.tsx
  • frontend/styles/globals.css

Modal API migration in:

  • frontend/components/auth/loginModal.tsx
  • frontend/components/auth/AuthDialogs.tsx
  • frontend/app/[locale]/tenant-resources/components/resources/AgentList.tsx
  • frontend/app/[locale]/tenant-resources/components/resources/InvitationList.tsx
  • frontend/app/[locale]/agents/components/agentConfig/McpConfigModal.tsx
  • frontend/app/[locale]/agents/components/agentConfig/tool/ToolConfigModal.tsx

Validation

  • pnpm type-check (frontend) passes
  • manual verification on /zh homepage for Hero title visibility and overall visual balance
  • no remaining maskClosable references in frontend source

Notes

  • This PR includes a follow-up Hero title rendering adjustment for the text Nexent 智能体 / 一个提示词,无限种可能 to avoid display inconsistencies on different viewport widths.

Copy link
Contributor

@WMC001 WMC001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

新开发请合入develop分支,我们会定期统一合入main分支

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants