Skip to content

feat: add aurora animation and enhance homepage card styles#70

Merged
benym merged 3 commits into
masterfrom
docs/fumadocs-website
Mar 13, 2026
Merged

feat: add aurora animation and enhance homepage card styles#70
benym merged 3 commits into
masterfrom
docs/fumadocs-website

Conversation

@benym
Copy link
Copy Markdown
Collaborator

@benym benym commented Mar 13, 2026

Rpamis-Security Version

[The version of Rpamis-Security you are working on, e.g. 1.1.0, check your pom.xml dependency version]

Description

[Please describe the background, purpose, changes made, and how to test this PR]

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has been formatted with mvn spring-javaformat:apply
  • All tests are passing (mvn test)
  • Javadoc comments are complete and follow project conventions
  • Related documentation has been updated (e.g. links, examples, etc.)
  • Code is ready for review

benym added 2 commits March 13, 2026 23:45
- 在global.css中添加极光动画效果
- 优化主页安装和注解使用卡片样式,增加视觉效果
- 重构社区和功能卡片,添加极光背景和交互效果
- 更新.gitignore文件,添加.trae/skills忽略项
在文档页面中新增显示文件最后修改时间的功能,并添加直接跳转到GitHub编辑页面的按钮。同时优化了GitHub链接的生成方式。
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

此拉取请求通过为关键信息卡片引入动态极光背景动画,显著提升了首页的视觉吸引力和用户体验。它还优化了这些卡片的样式和布局,使其更具吸引力和现代感,从而提供更丰富的用户交互体验。

Highlights

  • 极光动画: 在首页卡片上实现了动态极光背景动画,为用户界面增添了视觉吸引力。
  • 卡片样式增强: 增强了首页卡片的视觉样式,包括新的图标、更现代的布局和交互效果。
  • 新组件和图标: 引入了新的UI组件(Steps、Step)和图标(Download、Code2),以支持未来的功能扩展和当前的视觉改进。

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • .gitignore
    • .trae/skills 添加到忽略列表。
  • docs/rpamis-security-docs/src/app/(home)/page.tsx
    • 导入了新的UI组件和图标。
    • 更新了“快速安装”和“注解使用”卡片的样式和布局,添加了新的图标和背景效果。
    • 重构了“社区”和“功能”卡片,引入了动态极光背景动画,并优化了其内容列表和按钮样式。
  • docs/rpamis-security-docs/src/app/global.css
    • 定义了新的CSS关键帧动画(aurora-1, aurora-2, aurora-3)及其对应的实用类,用于实现极光背景效果。
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a visually appealing aurora animation and refines the styling of homepage cards, significantly enhancing the user interface. My review focuses on improving code cleanliness by removing an unused import and suggests applying the new aurora animation consistently across all relevant cards for a more unified design. The changes are otherwise well-implemented.

import { Accordions, Accordion } from '@/components/accordion';
import { Tabs, TabsList, TabsTrigger, TabsContent } from '@/components/tabs';
import { CodeBlock, Pre } from 'fumadocs-ui/components/codeblock';
import { Steps, Step } from 'fumadocs-ui/components/steps';
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The Steps and Step components are imported but are not used within this file. To maintain code clarity and reduce bundle size, it's recommended to remove unused imports.

Comment on lines +244 to +247
<div className="relative overflow-hidden bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm rounded-2xl border border-gray-200 dark:border-gray-700 p-8 shadow-lg transition-all duration-300 group">
<div className="absolute top-0 right-0 w-40 h-40 bg-amber-500/5 rounded-full blur-3xl group-hover:bg-amber-500/10 transition-all duration-500"></div>
<div className="absolute bottom-0 left-0 w-40 h-40 bg-orange-500/5 rounded-full blur-3xl group-hover:bg-orange-500/10 transition-all duration-500"></div>
<div className="relative">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

For a more consistent and dynamic user experience across the homepage, consider replacing the current group-hover effect on this card with the new 'aurora' animation, similar to the 'Community' and 'Features' cards. This will unify the visual language of the interactive elements.

            <div className="relative overflow-hidden bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm rounded-2xl border border-gray-200 dark:border-gray-700 p-8 shadow-lg">
              {/* Aurora Background */}
              <div className="absolute inset-0 overflow-hidden rounded-2xl">
                <div className="absolute -inset-[10px] opacity-30 dark:opacity-20">
                  <div className="absolute top-0 right-0 w-96 h-96 bg-gradient-to-r from-amber-200 via-orange-200 to-amber-200 rounded-full blur-3xl animate-aurora-1"></div>
                  <div className="absolute bottom-0 left-0 w-96 h-96 bg-gradient-to-r from-orange-200 via-amber-200 to-orange-200 rounded-full blur-3xl animate-aurora-2"></div>
                </div>
              </div>
              <div className="relative z-10">

Comment on lines +315 to +318
<div className="relative overflow-hidden bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm rounded-2xl border border-gray-200 dark:border-gray-700 p-8 shadow-lg transition-all duration-300 group">
<div className="absolute top-0 right-0 w-40 h-40 bg-rose-500/5 rounded-full blur-3xl group-hover:bg-rose-500/10 transition-all duration-500"></div>
<div className="absolute bottom-0 left-0 w-40 h-40 bg-pink-500/5 rounded-full blur-3xl group-hover:bg-pink-500/10 transition-all duration-500"></div>
<div className="relative">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Similar to the 'Quick Installation' card, applying the aurora animation here would create a more consistent and visually appealing design across the page. Consider replacing the group-hover effect with the continuous aurora animation.

            <div className="relative overflow-hidden bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm rounded-2xl border border-gray-200 dark:border-gray-700 p-8 shadow-lg">
              {/* Aurora Background */}
              <div className="absolute inset-0 overflow-hidden rounded-2xl">
                <div className="absolute -inset-[10px] opacity-30 dark:opacity-20">
                  <div className="absolute top-0 right-0 w-96 h-96 bg-gradient-to-r from-rose-200 via-pink-200 to-rose-200 rounded-full blur-3xl animate-aurora-1"></div>
                  <div className="absolute bottom-0 left-0 w-96 h-96 bg-gradient-to-r from-pink-200 via-rose-200 to-pink-200 rounded-full blur-3xl animate-aurora-2"></div>
                </div>
              </div>
              <div className="relative z-10">

@benym benym merged commit 046448d into master Mar 13, 2026
1 check passed
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.

1 participant