Jesús Pérez dd68d190ef ci: Update pre-commit hooks configuration
- Exclude problematic markdown files from linting (existing legacy issues)
- Make clippy check less aggressive (warnings only, not -D warnings)
- Move cargo test to manual stage (too slow for pre-commit)
- Exclude SVG files from end-of-file-fixer and trailing-whitespace
- Add markdown linting exclusions for existing documentation

This allows pre-commit hooks to run successfully on new code without
blocking commits due to existing issues in legacy documentation files.
2026-01-11 21:32:56 +00:00

32 lines
1.2 KiB
Rust

// 404 Not Found page
use crate::components::NavBar;
use leptos::prelude::*;
use leptos_router::components::A;
/// 404 Not Found page
#[component]
pub fn NotFoundPage() -> impl IntoView {
view! {
<div class="min-h-screen bg-gradient-to-br from-slate-900 via-slate-800 to-slate-900">
<NavBar />
<div class="container mx-auto px-6 py-8">
<div class="flex flex-col items-center justify-center min-h-[60vh]">
<div class="text-9xl font-bold text-cyan-400 mb-4">"404"</div>
<h1 class="text-3xl font-bold text-white mb-4">"Page Not Found"</h1>
<p class="text-gray-400 mb-8 text-center max-w-md">
"The page you're looking for doesn't exist or has been moved."
</p>
<A
href="/"
attr:class="px-6 py-3 rounded-lg bg-gradient-to-r from-cyan-500/90 to-cyan-600/90 text-white font-medium hover:from-cyan-400 hover:to-cyan-500 transition-all hover:shadow-lg hover:shadow-cyan-500/50"
>
"Back to Home"
</A>
</div>
</div>
</div>
}
}