Skip to content

Commit 008ec73

Browse files
committed
add contribute button
1 parent c7c9372 commit 008ec73

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

index.html

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,22 @@
187187
color: var(--border-color);
188188
}
189189

190+
.setup-contrib {
191+
margin-top: 14px;
192+
font-size: 13px;
193+
}
194+
195+
.setup-contrib a {
196+
display: inline-flex;
197+
align-items: center;
198+
gap: 6px;
199+
margin-top: 0;
200+
text-decoration: none;
201+
border: 2px solid var(--border-color);
202+
border-radius: 999px;
203+
padding: 6px 10px;
204+
}
205+
190206
.api-key-info {
191207
margin-top: 20px;
192208
padding: 15px;
@@ -1196,6 +1212,12 @@ <h1>CARTIA <span class="online-badge">ONLINE</span></h1>
11961212
<div class="setup-credit-label" data-i18n="credit.label">Credito Residuo</div>
11971213
<div id="setupCreditValue" class="setup-credit-value">$-.--</div>
11981214
</div>
1215+
<div class="setup-contrib">
1216+
<a href="https://github.com/scarsellifi/cartia" target="_blank" rel="noopener noreferrer">
1217+
<span aria-hidden="true">🐙</span>
1218+
<span data-i18n="setup.contribute">Contribuisci su GitHub</span>
1219+
</a>
1220+
</div>
11991221
</div>
12001222
</div>
12011223

@@ -1364,7 +1386,8 @@ <h2 data-i18n="notice.title">Avviso di utilizzo</h2>
13641386
saveStart: 'Salva e Inizia',
13651387
getKey: 'Ottieni una chiave API su OpenRouter',
13661388
securityTitle: 'Nota sulla sicurezza:',
1367-
securityBody: 'La chiave API viene salvata in localStorage nel tuo browser. Tutte le chiamate API vengono fatte direttamente dal tuo browser a OpenRouter.'
1389+
securityBody: 'La chiave API viene salvata in localStorage nel tuo browser. Tutte le chiamate API vengono fatte direttamente dal tuo browser a OpenRouter.',
1390+
contribute: 'Contribuisci su GitHub'
13681391
},
13691392
demo: {
13701393
banner: 'Modalita demo: inserisci la chiave per iniziare.',
@@ -1510,7 +1533,8 @@ <h2 data-i18n="notice.title">Avviso di utilizzo</h2>
15101533
saveStart: 'Save and Start',
15111534
getKey: 'Get an API key on OpenRouter',
15121535
securityTitle: 'Security note:',
1513-
securityBody: 'The API key is stored in localStorage in your browser. All API calls are made directly from your browser to OpenRouter.'
1536+
securityBody: 'The API key is stored in localStorage in your browser. All API calls are made directly from your browser to OpenRouter.',
1537+
contribute: 'Contribute on GitHub'
15141538
},
15151539
demo: {
15161540
banner: 'Demo mode: enter your key to get started.',

0 commit comments

Comments
 (0)