Skip to content

Commit

Permalink
对首页展示样式做了下优化
Browse files Browse the repository at this point in the history
  • Loading branch information
qmdx committed Jun 25, 2024
1 parent 9b933b4 commit ab580a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Sponsors.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import sponsors from "@/config/sponsors.json";

<div class="not-content">
<div class="container mx-auto py-6 text-sm leading-6">
<div class="flex flex-wrap -mx-4 mt-2">
<div class="flex flex-wrap -mx-4">
{sponsors.map(sponsor => (
<a href={sponsor.link} class="w-full md:w-1/3 mt-4 px-4 no-underline text-current hover:no-underline" target="_blank">
<figure class="relative flex flex-col-reverse border rounded-lg p-6 dark:bg-slate-800 dark:highlight-white/5 transform transition hover:-translate-y-2.5 h-full">
<blockquote class="mt-6 dark:text-gray-300 flex-1">
<blockquote class="dark:text-gray-300 flex-1">
<p>{sponsor.description}</p>
</blockquote>
<figcaption class="flex items-center space-x-4">
Expand Down
3 changes: 1 addition & 2 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ MyBatis-Plus 已连续 5 年([2017](https://www.oschina.net/project/top_cn_201

### 代码托管

- **[Github](https://github.com/baomidou/mybatis-plus)**
- **[Gitee](https://gitee.com/baomidou/mybatis-plus)**
- 👉️[Gitee](https://gitee.com/baomidou/mybatis-plus) 👉️[Github](https://github.com/baomidou/mybatis-plus)

### 参与贡献

Expand Down

0 comments on commit ab580a2

Please sign in to comment.