Skip to content

Commit dada268

Browse files
authored
Merge pull request #24 from jeffglaum/website-repairs
open documentation in new tab as a way to solve routing problem
2 parents 45fc594 + 062ce7d commit dada268

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/documentation_training.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ pub fn DocumentationTraining(#[prop(default = vec![])] links: Vec<DocLink>) -> i
5959
{links.into_iter().map(|link| view! {
6060
<li>
6161
<div class="link_large" style="text-decoration: none;">
62-
<A href=link.href>
62+
<a href=link.href target="_blank" style="text-decoration: none;">
6363
<span style="text-decoration: none;">{"→ "}</span>
6464
<span style="text-decoration: underline;">{link.title}</span>
65-
</A>
65+
</a>
6666
</div>
6767
</li>
6868
}).collect_view()}

src/components/header.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ fn ExternalNavButton(href: &'static str, label: &'static str) -> impl IntoView {
5151
<a
5252
href=href
5353
class="odp-header-btn odp-header-btn-text"
54+
target="_blank"
5455
>
5556
{label}
5657
</a>

0 commit comments

Comments
 (0)