Use K-Gothic

rust
Elnu 1 year ago
parent 81a85cc628
commit 50dce8da96

@ -45,6 +45,7 @@ async fn rocket() -> _ {
routes![get_challenge, login, post_login, success, logout, testing],
)
.mount("/css", FileServer::from(relative!("styles/css")))
.mount("/", FileServer::from(relative!("static")).rank(1))
.attach(Template::custom(move |engines| {
use tera::Value;
let (catalogs, langs) = load_catalogs().unwrap();

@ -5,6 +5,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
<link href="/fonts/K-Gothic/stylesheet.css" rel="stylesheet">
<link href="/css/style.css" rel="stylesheet">
</head>
<body>

Loading…
Cancel
Save