Skip to content

Commit a25871f

Browse files
committed
Add focused GitHub star calls to action
1 parent 72b1793 commit a25871f

8 files changed

Lines changed: 58 additions & 5 deletions

File tree

howto/initialize-database.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<li><a href="../reference/index.html" aria-current="page">Documentation</a></li>
3333
<li><a href="../tutorial.html">Tutorial</a></li>
3434
<li><a href="../reference/drivers.html">Drivers</a></li>
35-
<li><a href="https://github.com/scriptella/scriptella-etl">GitHub</a></li>
35+
<li><a class="github-star-link" href="https://github.com/scriptella/scriptella-etl" aria-label="Star Scriptella on GitHub">★ Star on GitHub</a></li>
3636
<li><a href="../download.html">Download</a></li>
3737
</ul>
3838
<button class="theme-toggle" type="button" data-theme-toggle data-theme-current="system" aria-label="Color theme: System. Switch to Light." title="System theme — switch to Light">

howto/migrate-from-ant.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<li><a href="../reference/index.html" aria-current="page">Documentation</a></li>
3333
<li><a href="../tutorial.html">Tutorial</a></li>
3434
<li><a href="../reference/drivers.html">Drivers</a></li>
35-
<li><a href="https://github.com/scriptella/scriptella-etl">GitHub</a></li>
35+
<li><a class="github-star-link" href="https://github.com/scriptella/scriptella-etl" aria-label="Star Scriptella on GitHub">★ Star on GitHub</a></li>
3636
<li><a href="../download.html">Download</a></li>
3737
</ul>
3838
<button class="theme-toggle" type="button" data-theme-toggle data-theme-current="system" aria-label="Color theme: System. Switch to Light." title="System theme — switch to Light">

index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ <h1 id="hero-title">Move data with the languages you already use</h1>
5151
<p class="hero__lede">Scriptella runs SQL and other scripts against multiple data sources from one small, readable ETL file. There is no visual designer, application server, or proprietary runtime to learn.</p>
5252
<div class="button-group">
5353
<a class="button" href="tutorial.html">Start the two-minute tutorial</a>
54+
<a class="button button--github" href="https://github.com/scriptella/scriptella-etl">★ Star Scriptella on GitHub</a>
5455
<a class="button button--secondary" href="download.html">Download Scriptella</a>
5556
</div>
5657
</div>
@@ -129,6 +130,11 @@ <h2 id="getting-started-title">From download to first run</h2>
129130
<small>Explore syntax, integrations, and best practices.</small>
130131
</a>
131132
</div>
133+
<aside class="github-prompt" aria-label="Support Scriptella">
134+
<strong>Scriptella useful?</strong>
135+
<p>Star it on GitHub to help other Java teams discover it.</p>
136+
<a class="button button--github" href="https://github.com/scriptella/scriptella-etl">★ Star Scriptella on GitHub</a>
137+
</aside>
132138
</section>
133139

134140
<section id="News" class="release-note" aria-labelledby="news-title">

reference/drivers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<li><a href="index.html">Documentation</a></li>
3333
<li><a href="../tutorial.html">Tutorial</a></li>
3434
<li><a href="drivers.html" aria-current="page">Drivers</a></li>
35-
<li><a href="https://github.com/scriptella/scriptella-etl">GitHub</a></li>
35+
<li><a class="github-star-link" href="https://github.com/scriptella/scriptella-etl" aria-label="Star Scriptella on GitHub">★ Star on GitHub</a></li>
3636
<li><a href="../download.html">Download</a></li>
3737
</ul>
3838
<button class="theme-toggle" type="button" data-theme-toggle data-theme-current="system" aria-label="Color theme: System. Switch to Light." title="System theme — switch to Light">

reference/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<li><a href="index.html" aria-current="page">Documentation</a></li>
3333
<li><a href="../tutorial.html">Tutorial</a></li>
3434
<li><a href="drivers.html">Drivers</a></li>
35-
<li><a href="https://github.com/scriptella/scriptella-etl">GitHub</a></li>
35+
<li><a class="github-star-link" href="https://github.com/scriptella/scriptella-etl" aria-label="Star Scriptella on GitHub">★ Star on GitHub</a></li>
3636
<li><a href="../download.html">Download</a></li>
3737
</ul>
3838
<button class="theme-toggle" type="button" data-theme-toggle data-theme-current="system" aria-label="Color theme: System. Switch to Light." title="System theme — switch to Light">

style.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,23 @@ a:hover {
241241
color: var(--accent);
242242
}
243243

244+
.primary-nav .github-star-link {
245+
padding: 0.35rem 0.65rem;
246+
color: var(--accent);
247+
font-weight: 700;
248+
border: 1px solid var(--accent);
249+
border-radius: 999px;
250+
}
251+
252+
.primary-nav .github-star-link::after {
253+
display: none;
254+
}
255+
256+
.primary-nav .github-star-link:hover {
257+
color: var(--accent-contrast);
258+
background: var(--accent);
259+
}
260+
244261
.theme-toggle {
245262
display: inline-grid;
246263
flex: 0 0 auto;
@@ -856,6 +873,31 @@ th {
856873
border-color: var(--accent);
857874
}
858875

876+
.button--github {
877+
color: var(--accent);
878+
background: transparent;
879+
border-color: var(--accent);
880+
}
881+
882+
.button--github:hover {
883+
color: var(--accent-contrast);
884+
background: var(--accent-hover);
885+
border-color: var(--accent-hover);
886+
}
887+
888+
.github-prompt {
889+
margin-block: 2rem;
890+
padding: 1.25rem;
891+
background: var(--bg-raised);
892+
border: 1px solid var(--border-strong);
893+
border-inline-start: 3px solid var(--accent);
894+
border-radius: var(--radius);
895+
}
896+
897+
.github-prompt p {
898+
margin-block: 0.35rem 1rem;
899+
}
900+
859901
.site-footer {
860902
color: var(--text-muted);
861903
background: var(--bg-surface);

templates/docs-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<li><a href="../reference/index.html" aria-current="page">Documentation</a></li>
2525
<li><a href="../tutorial.html">Tutorial</a></li>
2626
<li><a href="../reference/drivers.html">Drivers</a></li>
27-
<li><a href="https://github.com/scriptella/scriptella-etl">GitHub</a></li>
27+
<li><a class="github-star-link" href="https://github.com/scriptella/scriptella-etl" aria-label="Star Scriptella on GitHub">★ Star on GitHub</a></li>
2828
<li><a href="../download.html">Download</a></li>
2929
</ul>
3030
<button class="theme-toggle" type="button" data-theme-toggle data-theme-current="system" aria-label="Color theme: System. Switch to Light." title="System theme — switch to Light">

tutorial.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ <h3 id="Supporting+several+SQL+dialects">Supporting several SQL dialects</h3>
157157
&lt;/script&gt;
158158
&lt;/etl&gt;</code></pre>
159159
<aside class="note"><strong>Note:</strong> See <a href="https://github.com/scriptella/scriptella-examples">Scriptella examples on GitHub</a> or <a href="download.html">download</a> Scriptella examples distribution.</aside>
160+
<aside class="github-prompt" aria-label="Support Scriptella">
161+
<strong>Scriptella useful?</strong>
162+
<p>Star it on GitHub to help other Java teams discover it.</p>
163+
<a class="button button--github" href="https://github.com/scriptella/scriptella-etl">★ Star Scriptella on GitHub</a>
164+
</aside>
160165
</article>
161166
</main>
162167

0 commit comments

Comments
 (0)