Smarter app structure

This commit is contained in:
2025-08-08 00:24:06 +02:00
parent 20e3466f2f
commit b7cdd82d9e
7 changed files with 531 additions and 258 deletions

View File

@@ -1,9 +1,51 @@
{{define "content"}}
<div class="container">
{{template "header" .}}
{{template "storage-info" .}}
{{template "api-endpoints" .}}
{{template "usage-examples" .}}
<div class="three-column-layout">
<!-- Main content -->
<div class="content-container">
{{template "header" .}}
{{template "storage-info" .}}
{{template "api-endpoints" .}}
{{template "usage-examples" .}}
</div>
<!-- Changelog column -->
<div class="content-container">
{{template "changelog" .}}
</div>
<!-- About column -->
<div class="content-container">
<h2> About</h2>
<div class="about-content">
<h3>🚀 What is FITRA?</h3>
<p>FITRA (File Transfer API) is a lightweight, developer-friendly file sharing service designed for CLI usage and automation.</p>
<h3>🌟 Features</h3>
<ul>
<li>Simple HTTP API for file upload/download</li>
<li>Automatic cleanup after 24 hours</li>
<li>Storage usage tracking</li>
<li>Developer-friendly cURL examples</li>
<li>Health monitoring endpoint</li>
</ul>
<h3>🔒 Security</h3>
<p>Files are automatically deleted after 24 hours. This service is designed for temporary file sharing and should not be used for permanent storage.</p>
<h3>📞 Support</h3>
<div class="contact-info">
<p><strong>Matrix:</strong> @root@adhd.sh</p>
<p><strong>Discord:</strong> nu11ed</p>
</div>
<h3>🔧 Technical Details</h3>
<ul>
<li>Built with Go and Gin framework</li>
<li>RESTful API design</li>
<li>Form-based file uploads</li>
<li>JSON responses</li>
</ul>
</div>
</div>
</div>
{{template "changelog" .}}
{{end}}