-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
209f631
commit a11b0e2
Showing
7 changed files
with
53 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
use leptos::{component, view, IntoView}; | ||
|
||
pub const HELP: &str = r#"<span class="grn semibold"> ________________ __ _____________ __ ________ | ||
/_ __/ ____/ __ \/ |/ / ____/ __ \/ / / _/ __ \ | ||
/ / / __/ / /_/ / /|_/ / /_ / / / / / / // / / / | ||
/ / / /___/ _, _/ / / / __/ / /_/ / /____/ // /_/ / | ||
/_/ /_____/_/ |_/_/ /_/_/ \____/_____/___/\____/ | ||
</span> | ||
Hello, welcome to <u class="blu semibold">Termfolio</u>. Type one of these commands - | ||
<span class="rd semibold">about</span> - View about me | ||
<span class="rd semibold">github</span> - View about Github profile | ||
<span class="rd semibold">repos</span> - View about my pinned repos / projects | ||
<span class="rd semibold">links</span> - View contact info and links | ||
<span class="rd semibold">help</span> - View this help section | ||
<span class="rd semibold">theme</span> - Cycle through themes | ||
<span class="rd semibold">credits</span> - View credits and repo"#; | ||
|
||
#[component] | ||
pub fn Banner() -> impl IntoView { | ||
view! { | ||
<p class="inline">"user@termfolio:~$ "</p> | ||
<p style="display:inline;padding:2px;">"help"</p> | ||
<pre> | ||
<div class="output" inner_html={HELP}></div> | ||
</pre> | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters