Login
4 branches 0 tags
Ben (Desktop/Arch) No more postgres 783a786 1 month ago 76 Commits
rubhub / src / pages / landing.rs
use axum::{extract::State, response::Html};

use crate::{
    app::{self, ProjectSummary},
    state::GlobalState,
};

pub async fn index(State(_state): State<GlobalState>) -> Html<String> {
    let featured: Vec<ProjectSummary<'_>> = vec![];

    Html(app::index(&featured).await)
}