2025-03-21 01:38:07 -04:00
|
|
|
use axum::response::IntoResponse;
|
|
|
|
|
|
|
|
/// `/css/style.css`
|
|
|
|
pub async fn style_css_request() -> impl IntoResponse {
|
2025-03-22 22:17:47 -04:00
|
|
|
([("Content-Type", "text/css")], crate::assets::STYLE_CSS)
|
|
|
|
}
|
|
|
|
|
|
|
|
/// `/js/atto.js`
|
|
|
|
pub async fn atto_js_request() -> impl IntoResponse {
|
2025-03-21 01:38:07 -04:00
|
|
|
(
|
2025-03-22 22:17:47 -04:00
|
|
|
[("Content-Type", "text/javascript")],
|
|
|
|
crate::assets::ATTO_JS,
|
2025-03-21 01:38:07 -04:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
/// `/js/atto.js`
|
2025-03-22 22:17:47 -04:00
|
|
|
pub async fn loader_js_request() -> impl IntoResponse {
|
2025-03-21 01:38:07 -04:00
|
|
|
(
|
|
|
|
[("Content-Type", "text/javascript")],
|
2025-03-22 22:17:47 -04:00
|
|
|
crate::assets::LOADER_JS,
|
2025-03-21 01:38:07 -04:00
|
|
|
)
|
|
|
|
}
|