chore: initial template commit

This commit is contained in:
Gitea Bootstrap
2026-08-24 07:38:22 +00:00
commit 3b51b4a81a
16 changed files with 947 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
use crate::codegen::apis::PresseEintragApi;
use crate::codegen::types::presse_eintrag::{PressEintrag, PressEintragSentiments};
use crate::matterhorn::types::SortDirection;
use leptos::prelude::*;
use leptos::task::spawn_local;
use leptos_router::components::A;
use uuid::Uuid;
const ICON_BYTES: &[u8] = include_bytes!("../../assets/mridge-craft-icon.webp");
fn icon_data_url() -> String {
use base64::{engine::general_purpose::STANDARD, Engine};
format!("data:image/webp;base64,{}", STANDARD.encode(ICON_BYTES))
}
#[component]
pub fn HelloMRidge() -> impl IntoView {
view! {
<div class="flex flex-col w-full h-full p-6 space-y-6">
<div class="flex items-center gap-3">
<img src=icon_data_url() alt="MountainRidge icon" class="w-8 h-8 rounded-full object-cover" />
<h2 class="text-2xl font-bold">"Mont Fort Craft"</h2>
</div>
<div class="flex justify-center mt-4">
<h1>Hello MountainRidge!</h1>
</div>
</div>
}
}
+4
View File
@@ -0,0 +1,4 @@
mod hello_mridge;
pub mod views {
pub use super::hello_mridge::*;
}