Skip to content

Commit 9b7afe8

Browse files
committed
Add a link to pdf2txt
1 parent 9086f86 commit 9b7afe8

File tree

4 files changed

+43
-1
lines changed

4 files changed

+43
-1
lines changed

css/style.css

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,39 @@ header {
9191
color: var(--accent-color);
9292
}
9393

94+
/* Promo Banner */
95+
.promo-banner {
96+
display: flex;
97+
justify-content: center;
98+
margin-top: 20px;
99+
}
100+
101+
.promo-banner a {
102+
display: inline-flex;
103+
align-items: center;
104+
justify-content: center;
105+
padding: 10px 20px;
106+
border-radius: 999px;
107+
border: 1px solid rgba(59, 130, 246, 0.45);
108+
text-decoration: none;
109+
font-size: 0.9rem;
110+
font-weight: 700;
111+
color: var(--text-color);
112+
background: linear-gradient(120deg, rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0.06));
113+
box-shadow: 0 10px 26px rgba(59, 130, 246, 0.18);
114+
transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
115+
}
116+
117+
.promo-banner a:hover {
118+
transform: translateY(-1px);
119+
border-color: var(--accent-color);
120+
color: #fff;
121+
box-shadow: 0 14px 32px rgba(59, 130, 246, 0.28);
122+
}
123+
94124
/* Hero */
95125
.hero {
96-
padding: 80px 0;
126+
padding: 45px 0 80px 0;
97127
text-align: center;
98128
}
99129

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
</div>
6464
</header>
6565

66+
<div class="promo-banner">
67+
<a href="https://spacesoda.github.io/pdf2txt/" data-umami-event="epub | pdf2txt Banner">Convert PDFs -></a>
68+
</div>
69+
6670
<section class="hero">
6771
<h1>Convert EPUB to Text<br>Efficiently using epub2txt</h1>
6872
<p>A powerful open-source Python script that converts EPUBs into clean, Markdown-compatible text ideal for LLMs.</p>

ja/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
</div>
6464
</header>
6565

66+
<div class="promo-banner">
67+
<a href="https://spacesoda.github.io/pdf2txt/" data-umami-event="epub | pdf2txt Banner">Convert PDFs -></a>
68+
</div>
69+
6670
<section class="hero">
6771
<h1>epub2txt で<br>EPUBをテキストに効率よく変換</h1>
6872
<p>EPUBをMarkdown互換テキストに変換し、LLMにも最適な出力が得られる強力なオープンソースのPythonスクリプトです。</p>

zh/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
</div>
6464
</header>
6565

66+
<div class="promo-banner">
67+
<a href="https://spacesoda.github.io/pdf2txt/" data-umami-event="epub | pdf2txt Banner">Convert PDFs -></a>
68+
</div>
69+
6670
<section class="hero">
6771
<h1>使用 epub2txt<br>將 EPUB 高效地轉為純文字</h1>
6872
<p>強大的開源 Python 腳本,可將 EPUB 轉成乾淨、與 Markdown 相容的文字,特別適合 LLM 使用。</p>

0 commit comments

Comments
 (0)