Add more credits

This commit is contained in:
Jackzie 2025-04-16 17:19:59 -05:00
parent fbb0578db6
commit 29f2ea9817
3 changed files with 13 additions and 5 deletions

View file

@ -1,14 +1,14 @@
use rocket::{get, Route};
use rocket::{get, Route, State};
use rocket::serde::json::Json;
use rocket_dyn_templates::{context, Template};
use rocket_session_store::{Session, SessionResult};
use serde::Serialize;
use crate::models::user::UserModel;
use crate::SessionData;
use crate::{GlobalMetadata, SessionData};
#[get("/help/about")]
pub fn about(route: &Route) -> Template {
Template::render("about", context! { route: route.uri.path() })
pub fn about(route: &Route, meta: &State<GlobalMetadata>) -> Template {
Template::render("about", context! { route: route.uri.path(), meta: meta.inner() })
}

View file

@ -2,6 +2,10 @@
--accent-color: rgb(231, 148, 162);
}
.navbar {
background-image: linear-gradient(to right, #fbc2eb 0%, #a6c1ee 20%);
}
.sidebar {
}

View file

@ -1,10 +1,14 @@
{{#> layouts/main }}
<div class="content">
<h1>{{ meta.app_name }} <span class="tag">v{{meta.app_version}}</span></h1>
<p>Open source project <a href="{{meta.repo_url}}"><b>{{ meta.app_name }}</b> (source code)</a></p>
<h4>Credits</h4>
<ul>
<li><a href="https://www.flaticon.com/free-icons/default" title="default icons">Default icons created by kliwir art -
<li><a href="https://www.flaticon.com/free-icons/default" title="default icons">Default user icon created by kliwir art -
Flaticon</a></li>
<li><a href="https://webgradients.com/">https://webgradients.com/</a></li>
<li><a href="https://www.seafile.com/">https://www.seafile.com/</a> - For inspiration</li>
<li><a href="https://fontawesome.com/">https://fontawesome.com/</a> - For icons</li>
</ul>
</div>