Skip to content

Commit

Permalink
feat: Add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
uncomputable committed Oct 24, 2024
1 parent a32f5f2 commit 78fe3b9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use leptos::{component, provide_context, view, IntoView, RwSignal, SignalGetUntr
use leptos_router::use_query_map;

use super::program_window::{Program, ProgramWindow, Runtime};
use crate::components::footer::Footer;
use crate::components::run_window::{HashedData, RunWindow, SignedData, SigningKeys, TxEnv};
use crate::components::state::FromParams;
use crate::transaction::TxParams;
Expand All @@ -28,5 +29,6 @@ pub fn App() -> impl IntoView {
view! {
<ProgramWindow />
<RunWindow />
<Footer />
}
}
22 changes: 22 additions & 0 deletions src/components/footer.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
use leptos::{component, view, IntoView};

#[component]
pub fn Footer() -> impl IntoView {
view! {
<div class="container center intro">
<h1 class="intro-title">Further Links</h1>
<div>
"🚀 "
<a href="https://simfony-lang.com/" target="blank">Simfony Lander</a>
</div>
<div>
"🛠️ "
<a href="https://github.com/uncomputable/simfony-webide" target="blank">Simfony web IDE GitHub repository</a>
</div>
<div>
"🛠️ "
<a href="https://github.com/BlockstreamResearch/simfony" target="blank">Simfony compiler GitHub repository</a>
</div>
</div>
}
}
1 change: 1 addition & 0 deletions src/components/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ mod analysis;
mod app;
mod copy_to_clipboard;
mod dropdown;
mod footer;
mod navbar;
mod program_window;
mod run_window;
Expand Down

0 comments on commit 78fe3b9

Please sign in to comment.