Skip to content

Commit 264a4c3

Browse files
committed
style: adjust hero logo size to max-width 300px
- Set width: 100% with max-width: 300px for fox-logo.svg - Apply to both English and Chinese homepages
1 parent c5cbe3a commit 264a4c3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ hero:
88
tagline: Fast, flexible, and powerful web framework built on Gin
99
image:
1010
alt: Fox Web Framework Logo
11-
html: '<img src="/fox-logo.svg" alt="Fox Logo" style="max-width: 400px; margin: 0 auto;" />'
11+
html: '<img src="/fox-logo.svg" alt="Fox Logo" style="width: 100%; max-width: 300px; margin: 0 auto;" />'
1212
actions:
1313
- text: Get Started
1414
link: /guides/quickstart/

src/content/docs/zh-cn/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ hero:
88
tagline: 快速、灵活、强大的 Web 框架,基于 Gin 构建
99
image:
1010
alt: Fox Web Framework Logo
11-
html: '<img src="/fox-logo.svg" alt="Fox Logo" style="max-width: 400px; margin: 0 auto;" />'
11+
html: '<img src="/fox-logo.svg" alt="Fox Logo" style="width: 100%; max-width: 300px; margin: 0 auto;" />'
1212
actions:
1313
- text: 快速开始
1414
link: /zh-cn/guides/quickstart/

0 commit comments

Comments
 (0)