inputs.scss refactor

Added upload date to media + sort by date
This commit is contained in:
2025-05-18 19:58:56 -04:00
parent 541cdd0b57
commit 3d4e269c21
14 changed files with 53 additions and 71 deletions

View File

@@ -4,7 +4,7 @@ use dioxus::prelude::*;
pub fn Search(query: Signal<String>) -> Element {
rsx! {
div{
class: "searchBar",
class: "searchBar stickyTop",
input {
type: "search",
placeholder: "Search Files",

View File

@@ -17,6 +17,7 @@ pub const HOST: &'static str = "https://aoba.app";
const FAVICON: Asset = asset!("/assets/favicon.ico");
const MAIN_CSS: Asset = asset!("/assets/style/main.scss");
const INPUT_CSS: Asset = asset!("/assets/style/inputs.scss");
fn main() {
dioxus::launch(App);
@@ -30,6 +31,7 @@ fn App() -> Element {
document::Link { rel: "preconnect", href: "https://fonts.googleapis.com" }
document::Link { rel: "preconnect", href: "https://fonts.gstatic.com" }
document::Link { rel: "stylesheet", href: MAIN_CSS }
document::Link { rel: "stylesheet", href: INPUT_CSS }
document::Link {
rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap",