Skip to content

Commit 6419a45

Browse files
committed
web: mark external links in the sidebar as external
This adds a little icon to the links that helps avoid confusion when clicking the link takes you out of the LXA TAC web ui. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
1 parent c7f4488 commit 6419a45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/src/App.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,19 @@ function Navigation() {
105105
items: [
106106
{
107107
type: "link",
108+
external: true,
108109
text: "Files in /srv/www",
109110
href: `/srv`,
110111
},
111112
{
112113
type: "link",
114+
external: true,
113115
text: "LXA IOBus Server",
114116
href: `http://${window.location.hostname}:8080/`,
115117
},
116118
{
117119
type: "link",
120+
external: true,
118121
text: "LXA TAC Manual",
119122
href: "https://www.linux-automation.com/lxatac-M02/index.html",
120123
},

0 commit comments

Comments
 (0)