Skip to content

Conversation

@Cheerego7
Copy link
Collaborator

@Cheerego7 Cheerego7 commented Sep 17, 2025

Summary by CodeRabbit

  • 新功能

    • 新增首页「创造」与「产品视频」「社区分享」版块,场景卡支持视频预览
    • 新增 Studio、Hub、Chat 专题页与互动展示
    • 导航与页脚新增产品入口;文档页搜索条移至左侧
    • 首页标题支持打字机循环文案
  • 文案

    • 中英双语文案与导航标签全面更新,新增多类使用场景与产品介绍条目
  • 样式

    • 统一按钮样式(最小宽度、圆角、配色);暗色模式背景优化
    • 首页与专题页布局、卡片与响应式细节改进

@coderabbitai
Copy link

coderabbitai bot commented Sep 17, 2025

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

本次变更重塑站点首页与产品页结构,更新站点配置与导航(新增产品分组、调整描述与 Footer 产品链接),大幅扩充 i18n(中英)文案与键值。新增与改造多个首页板块组件(Create、CreateScenes、CommunityShare、Products、Video、Scenes 网格与视频预览、FirstScreen 文案与打字动画),引入两类打字机动画组件。更新与新增多处样式(按钮、下载按钮、若干板块样式、暗色主题背景等)。重构 HeroVideoDialog:加入 Portal、滚动锁定、按语言切换视频源/缩略图及悬停播放按钮。新增 Studio、Hub、Chat 页面并实现自动轮播/交互逻辑。调整 Navbar 搜索栏位置与登录按钮样式。

Estimated code review effort

🎯 5 (Critical) | ⏱️ ~150 minutes

  • 变更类型多样:站点配置、导航、页面新增与重构、组件新增、复杂样式、广泛 i18n 改动
  • 涉及交互与状态逻辑:多处自动轮播定时器、打字动画、HeroVideoDialog Portal/SSR 守卫/滚动锁定/国际化视频分支
  • 结构性调整:首页模块替换、场景卡片视频化、特性页移除并以新页面替代
  • 文件量与异构度高,需要分别验证 UI、可用性与多语言键一致性及引用正确性

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between da2fcfb and 036f802.

⛔ Files ignored due to path filters (30)
  • static/img/cases-1.png is excluded by !**/*.png
  • static/img/cases-2.png is excluded by !**/*.png
  • static/img/create-workflow.svg is excluded by !**/*.svg
  • static/img/pages/create/workflow-editor.svg is excluded by !**/*.svg
  • static/img/pages/home/project-1.png is excluded by !**/*.png
  • static/img/pages/home/project-10.png is excluded by !**/*.png
  • static/img/pages/home/project-11.png is excluded by !**/*.png
  • static/img/pages/home/project-12.png is excluded by !**/*.png
  • static/img/pages/home/project-2.png is excluded by !**/*.png
  • static/img/pages/home/project-3.png is excluded by !**/*.png
  • static/img/pages/home/project-4.png is excluded by !**/*.png
  • static/img/pages/home/project-5.png is excluded by !**/*.png
  • static/img/pages/home/project-6.png is excluded by !**/*.png
  • static/img/pages/home/project-7.png is excluded by !**/*.png
  • static/img/pages/home/project-8.png is excluded by !**/*.png
  • static/img/pages/home/project-9.png is excluded by !**/*.png
  • static/img/pages/home/share.png is excluded by !**/*.png
  • static/img/pages/share/publish-flow.svg is excluded by !**/*.svg
  • static/img/pages/use/natural-chat.svg is excluded by !**/*.svg
  • static/img/products/chat.svg is excluded by !**/*.svg
  • static/img/products/hub.svg is excluded by !**/*.svg
  • static/img/products/studio.svg is excluded by !**/*.svg
  • static/img/scenes/chat.png is excluded by !**/*.png
  • static/img/scenes/data.png is excluded by !**/*.png
  • static/img/scenes/epub.png is excluded by !**/*.png
  • static/img/scenes/magic.png is excluded by !**/*.png
  • static/img/scenes/pdf.png is excluded by !**/*.png
  • static/img/scenes/zip.png is excluded by !**/*.png
  • static/img/screen1.png is excluded by !**/*.png
  • static/img/tech-background.svg is excluded by !**/*.svg
📒 Files selected for processing (44)
  • docusaurus.config.js (4 hunks)
  • i18n/en/code.json (5 hunks)
  • i18n/en/docusaurus-theme-classic/navbar.json (1 hunks)
  • i18n/zh-CN/code.json (5 hunks)
  • i18n/zh-CN/docusaurus-theme-classic/navbar.json (1 hunks)
  • src/components/Button/LinkBtn.module.scss (1 hunks)
  • src/components/Button/LinkBtn.tsx (1 hunks)
  • src/components/CyclicTypewriterText/index.tsx (1 hunks)
  • src/components/CyclicTypewriterText/styles.module.scss (1 hunks)
  • src/components/DownloadButton/styles.module.scss (1 hunks)
  • src/components/GetStartedPrompt/styles.module.scss (1 hunks)
  • src/components/HomePageBuiltInLLM/styles.module.scss (1 hunks)
  • src/components/HomepageCommunityShare/index.tsx (1 hunks)
  • src/components/HomepageCommunityShare/styles.module.scss (1 hunks)
  • src/components/HomepageCreate/index.tsx (1 hunks)
  • src/components/HomepageCreate/styles.module.scss (1 hunks)
  • src/components/HomepageCreateScenes/index.tsx (1 hunks)
  • src/components/HomepageCreateScenes/styles.module.scss (1 hunks)
  • src/components/HomepageFirstScreen/index.tsx (2 hunks)
  • src/components/HomepageFirstScreen/styles.module.scss (4 hunks)
  • src/components/HomepageGuide/index.tsx (1 hunks)
  • src/components/HomepageGuide/styles.module.scss (3 hunks)
  • src/components/HomepageProducts/index.tsx (1 hunks)
  • src/components/HomepageProducts/styles.module.scss (1 hunks)
  • src/components/HomepageScenes/FirstSceneCard.tsx (1 hunks)
  • src/components/HomepageScenes/index.tsx (2 hunks)
  • src/components/HomepageScenes/styles.module.scss (6 hunks)
  • src/components/HomepageVideo/index.tsx (1 hunks)
  • src/components/HomepageVideo/styles.module.scss (1 hunks)
  • src/components/TypewriterText/index.tsx (1 hunks)
  • src/components/TypewriterText/styles.module.scss (1 hunks)
  • src/components/magic-ui/HeroVideoDialog.module.scss (1 hunks)
  • src/components/magic-ui/HeroVideoDialog.tsx (5 hunks)
  • src/css/custom.scss (2 hunks)
  • src/pages/chat/index.tsx (3 hunks)
  • src/pages/chat/styles.module.scss (1 hunks)
  • src/pages/features/style.module.scss (0 hunks)
  • src/pages/hub/index.tsx (1 hunks)
  • src/pages/hub/styles.module.scss (1 hunks)
  • src/pages/index.tsx (1 hunks)
  • src/pages/studio/index.tsx (1 hunks)
  • src/pages/studio/styles.module.scss (1 hunks)
  • src/theme/Navbar/index.tsx (2 hunks)
  • src/theme/Navbar/styles.module.scss (2 hunks)

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 17, 2025

Deploying oomol-com with  Cloudflare Pages  Cloudflare Pages

Latest commit: 036f802
Status: ✅  Deploy successful!
Preview URL: https://ec1a0079.oomol-com.pages.dev
Branch Preview URL: https://new-page.oomol-com.pages.dev

View logs

add pages

update

feat: 添加产品演示视频组件并优化首页布局

- 新增 HomepageVideo 组件展示产品演示视频
- 引入 TypewriterText 组件实现打字机效果
- 优化首页布局和样式,包括按钮、间距和背景色
- 更新多语言文案,添加视频相关翻译
- 移除部分特效注释以简化代码
- 调整首页首屏布局,将视频移至独立组件

refactor(homepage): update screenshot image and remove video component

Replace first screen webp image with png version and remove unused HomepageVideo component to simplify the layout

feat(homepage): add new community share section and update scenes layout

refactor(homepage): redesign scenes section with grid layout and new SVG illustrations

docs(i18n): update translations for new homepage sections and scenarios

chore(assets): add new SVG illustrations for various usage scenarios

feat(homepage): add create section with visual workflow component

Add new "How to Create" section to homepage featuring visual AI workflow component. Includes translations, styling, and SVG illustration. Replaces previous products/community share sections with this new content.

The section showcases OOMOL Studio's visual workflow capabilities for creating AI tools without programming. Includes responsive design and animated elements for better user engagement.

style(HomepageScenes): add background color to scenes container

refactor(Button): simplify LinkBtn component and update styles

- Remove icon position logic and simplify component structure
- Update button width and icon dimensions for consistency
- Remove unused CSS classes and adjust spacing

feat(HomepageFirstScreen): add cyclic typewriter text component

Introduce new CyclicTypewriterText component to cycle through multiple texts with typewriter effect
Replace static TypewriterText with new cyclic version for AI tools/agents text

fix(HomepageFirstScreen): reduce cycle interval for CyclicTypewriterText

The cycle interval was reduced from 8000ms to 6000ms to make the text animation feel more dynamic and engaging for users

style(HomepageFirstScreen): adjust layout and typography for better responsiveness

Update container height and margins for better spacing
Change h1 to h2 for semantic hierarchy
Adjust content widths and alignment for different screen sizes
Remove unnecessary shadows and border radius from product screenshot

refactor(homepage): replace project images with video components and update styles

update i18n messages for homepage guide section to focus on community collaboration
remove unused project images and refactor homepage components to use video dialogs
adjust styling for better responsiveness and visual consistency

feat(homepage): add new create scenes component with AI vibe coding and drag-drop features

Add HomepageCreateScenes component to showcase AI tool creation methods. Includes internationalization support for both English and Chinese. Replaces previous HomepageCreate component with more detailed scene options.

feat(homepage): add link buttons and adjust styles for better UX

- Add "View More Examples" button to scenes section
- Add "Read Docs" button to create section
- Update guide section link to point to documentation
- Adjust padding, margins and background colors
- Update translations for new buttons

feat(HomepageCreateScenes): replace images with video component

Add HeroVideoDialog component to display videos instead of static images
Remove unused imports and BlurFade wrapper
Add video styling in SCSS module

refactor(pages): improve the grid layout

style(HomePageBuiltInLLM): remove dark background color comment

feat(homepage): replace SVG illustrations with PNG images and refactor scenes component

- Replace SVG scene illustrations with PNG versions for better compatibility
- Refactor HomepageScenes component by splitting into FirstSceneCard and SceneCard
- Improve image container styling and add text truncation for scene descriptions
- Remove unused hover effects and optimize card layout

style(Navbar): update button styles and link colors

- Add signInButton styling with background, border, and text properties
- Swap navbar link colors for better visibility

style(HomepageFirstScreen): adjust margin-top for mobile layout

style(HomepageScenes): improve responsive design for various screen sizes

Add responsive styles for multiple breakpoints to ensure consistent appearance across devices
Include hover effects for scene cards and adjust typography, spacing and layout properties

feat(navbar): add product icons to navbar dropdown items

Add SVG icons for studio, hub and chat products
Style navbar dropdown items to display icons before text

refactor(navbar): remove product dropdown menu items

The product dropdown menu items are temporarily commented out as they are not currently needed in the navigation bar. This change simplifies the navbar structure until these items are required again.

refactor(homepage): adjust layout and remove redundant components

remove link button from scenes section and update guide button URL
adjust first screen height and add hover effect to video play button

feat(homepage): replace static images with video dialogs

- Add video support to scene cards using HeroVideoDialog component
- Include video URLs for all scene cards
- Improve modal positioning with portal and z-index adjustments

feat(HeroVideoDialog): prevent page scrolling when video dialog is open

Add useEffect to manage page scroll behavior when video dialog is opened/closed

feat(HomepageCreateScenes): add play button on hover for hero video

refactor(HeroVideoDialog): remove redundant pt-24 class from dialog overlay

chore: update static case images

feat(homepage): update scenes data and translations for new features

- Add new scene entries for AI image edit, ZIP archive manipulation, TXT to EPUB, and video downloader
- Update existing scene entries with new translations and icons
- Reorder scenes in homepage component

feat(i18n): update media processing section text and translations

Update both English and Chinese translations for the media processing section to better reflect the actual functionality. Changed from AI image processing to broader media editing scope and updated descriptions to mention FFmpeg-powered multimedia tools.

docs(i18n): update marketing copy for OOMOL homepage

Update homepage title and subtitle in both zh-CN and en locales to better reflect OOMOL's value proposition

style: update text color for better readability

feat(homepage): update video sources and replace video downloader with pdf processing

- Replace video downloader feature with pdf processing in i18n files
- Update video sources for homepage guide and scenes components
- Add videoSrc field to create scenes data structure

feat(HeroVideoDialog): add video container styles and support for Chinese video sources

feat: add support for Chinese video sources and update video links across components

fix(LinkBtn): change width to min-width for better responsiveness
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.

3 participants