Skip to content

Commit d8039dc

Browse files
Merge pull request #40 from SteveLin100132/feat/official-website
feat(website): refine gradient overlay and adjust layout for responsiveness
2 parents ce4449d + 120d24a commit d8039dc

File tree

7 files changed

+21
-15
lines changed

7 files changed

+21
-15
lines changed

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1+
![Notion Chart Generator Banner](assets/images/github-repo-banner3.png)
2+
13
<div align="center">
2-
<!-- <img src="assets/images/notion-chart-generator-logo.png" width="100" /> -->
3-
<img src="assets/images/notion-chart-generator-title.png" />
4-
<br />
5-
<br />
6-
<i>
7-
一個採用現代前後端分離架構的 Web 應用程式,使用 NestJS + Next.js 技術棧,能夠連接 Notion 資料庫並將資料轉換為互動式圖表。支援多種圖表類型、資料聚合計算、即時分享和跨平台嵌入功能。
8-
</i>
4+
<img src="assets/images/notion-chart-generator-simple-logo.png" />
5+
<h1>Notion Chart Generator</h1>
96
<br />
7+
<p>
8+
<b>
9+
一個採用現代前後端分離架構的 Web 應用程式,使用 NestJS + Next.js 技術棧,能夠連接 Notion 資料庫並將資料轉換為互動式圖表。支援多種圖表類型、資料聚合計算、即時分享和跨平台嵌入功能。
10+
</b>
11+
<br />
12+
<a href="https://stevelin100132.github.io/notion-chart-generator/">Website</a> |
13+
<a href="https://stevelin100132.github.io/notion-chart-generator/">Documentation(TODO)</a> |
14+
<a href="https://stevelin100132.github.io/">About Author</a>
15+
</p>
1016
<br />
1117

12-
![Notion Chart Generator Usage Demo](assets/images/notion-chart-generator-usage-demo.gif)
13-
1418
<br />
1519
<div>
1620
<img src="https://img.shields.io/github/package-json/v/stevelin100132/notion-chart-generator">
@@ -27,6 +31,8 @@
2731

2832
Notion Chart Generator 是一款專為 Notion 使用者打造的圖表生成工具。它能夠連接您的 Notion 資料庫,將原始資料自動轉換為多種互動式圖表,協助您更直觀地分析和展示資訊。無需撰寫程式碼,只需簡單設定,即可快速產生長條圖、線圖、圓餅圖等多種視覺化報表,並支援即時分享與跨平台嵌入,讓資料應用更靈活便利。
2933

34+
![Notion Chart Generator Usage Demo](assets/images/notion-chart-generator-basic-feature-demo.gif)
35+
3036
## 主要功能
3137

3238
### 核心功能
98.4 KB
Loading
13.4 MB
Loading
-31.5 MB
Loading

website/src/components/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ const Footer: React.FC = () => {
180180
className="border-t border-gray-600 mt-8 pt-8"
181181
>
182182
<div className="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0">
183-
<div className="flex items-center space-x-2 text-gray-300">
183+
<div className="space-x-2 text-gray-300">
184184
<span>© {currentYear} Notion Chart Generator. Made with</span>
185-
<Heart className="w-4 h-4 text-red-400" />
185+
<Heart className="w-4 h-4 text-red-400 inline-block" />
186186
<span>
187187
by &nbsp;
188188
<a

website/src/components/HeroSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ const HeroSection: React.FC = () => {
1717
<div className="absolute inset-0 bg-gradient-to-br from-background via-transparent to-gray-50/80"></div>
1818

1919
{/* White Gradient Overlay for Fade Out Effect at bottom - more gentle */}
20-
<div className="absolute bottom-0 left-0 w-full h-48 bg-gradient-to-t from-white via-white/60 to-transparent z-30 pointer-events-none"></div>
20+
<div className="hidden md:block absolute bottom-0 left-0 w-full h-80 bg-gradient-to-t from-white via-white/70 to-transparent z-30 pointer-events-none"></div>
2121

2222
<div className="relative container mx-auto px-4 py-12 lg:py-16">
23-
<div className="flex flex-col h-[calc(75vh-8rem)]">
23+
<div className="flex flex-col h-fit">
2424
{/* Top Content - Text Introduction */}
2525
<motion.div
2626
initial={{ opacity: 0, y: -30 }}
@@ -120,7 +120,7 @@ const HeroSection: React.FC = () => {
120120
initial={{ opacity: 0, y: 50 }}
121121
animate={{ opacity: 1, y: 0 }}
122122
transition={{ duration: 0.8, delay: 0.4 }}
123-
className="relative z-10 w-full max-w-6xl mx-auto mt-4 flex-1 flex items-end"
123+
className="relative z-10 w-full max-w-6xl mx-auto mt-4 flex-1 flex items-end hidden md:block"
124124
>
125125
{/* App preview image that extends to bottom */}
126126
<div className="w-full">

website/src/components/HowToUseSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ const HowToUseSection: React.FC = () => {
364364
立即體驗 Notion Chart Generator,將你的 Notion
365365
資料轉換成精美的圖表。 開源免費,支援多種部署方式。
366366
</p>
367-
<div className="flex flex-col sm:flex-row gap-4 justify-center">
367+
<div className="flex flex-col sm:flex-row gap-4 justify-center relative z-10">
368368
<Button
369369
className="rounded-full"
370370
size="lg"

0 commit comments

Comments
 (0)