diff --git a/static/main.css b/static/main.css index b7f3f22..59517de 100644 --- a/static/main.css +++ b/static/main.css @@ -307,6 +307,91 @@ pre code { color: #475569; } +.donate-info { + background: #f0fdf4; + padding: 18px; + border-radius: 12px; + border: 1px solid #22c55e; + margin: 16px 0; +} + +.donate-info p { + margin: 12px 0; + font-family: ui-monospace, SFMono-Regular, 'Cascadia Code', 'Roboto Mono', monospace; + color: #475569; +} + +.crypto-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 8px; +} + +.crypto-row { + margin-top: 8px; +} + +.crypto-address { + display: block; + width: 100%; + padding: 12px; + font-family: ui-monospace, SFMono-Regular, 'Cascadia Code', 'Roboto Mono', monospace; + font-size: 13px; + line-height: 1.5; + color: #16a34a; + background: #f8fafc; + border: 2px solid #e2e8f0; + border-radius: 8px; + resize: none; + outline: none; + transition: all 0.15s ease; + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06); + word-break: break-all; + min-height: 45px; +} + +.crypto-address:hover { + border-color: #22c55e; + background: #ffffff; +} + +.crypto-address:focus { + border-color: #22c55e; + background: #ffffff; + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(34, 197, 94, 0.1); +} + +.copy-crypto-btn { + background: #22c55e; + color: white; + border: none; + padding: 8px 12px; + border-radius: 6px; + cursor: pointer; + font-size: 11px; + font-weight: 600; + transition: all 0.15s ease; + text-transform: uppercase; + letter-spacing: 0.5px; + min-width: 60px; +} + +.copy-crypto-btn:hover { + background: #16a34a; + transform: translateY(-1px); + box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3); +} + +.copy-crypto-btn:active { + transform: translateY(0); +} + +.copy-crypto-btn.copied { + background: #3b82f6; + transform: scale(0.95); +} + /* Responsive design */ @media (max-width: 1280px) { .three-column-layout { diff --git a/views/index.html b/views/index.html index e9ece7f..93fc586 100644 --- a/views/index.html +++ b/views/index.html @@ -15,20 +15,11 @@
FITRA (File Transfer API) is a lightweight, developer-friendly file sharing service designed for CLI usage and automation.
-Files are automatically deleted after 24 hours. This service is designed for temporary file sharing and should not be used for permanent storage.
@@ -38,6 +29,75 @@Discord: nu11ed
+
+
+
Description: Upload a file
cURL example:
@@ -10,7 +10,7 @@Description: Download a file using the ID and filename from upload response
cURL example:
@@ -18,7 +18,7 @@Description: Check storage usage and capacity
cURL example:
@@ -26,7 +26,7 @@Description: Check service health
cURL example:
diff --git a/views/partials/changelog.html b/views/partials/changelog.html index f97673d..186dd8e 100644 --- a/views/partials/changelog.html +++ b/views/partials/changelog.html @@ -1,9 +1,9 @@ {{define "changelog"}} -