From 0e3f1021cc14e2616086e69019de1cc67ba55dc1 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sun, 1 Jan 2023 20:13:03 +0100 Subject: frontend - add documentation --- src_js/vt/params.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src_js') diff --git a/src_js/vt/params.ts b/src_js/vt/params.ts index 3ac8848..99abd34 100644 --- a/src_js/vt/params.ts +++ b/src_js/vt/params.ts @@ -10,12 +10,21 @@ export function main(): u.VNodeChild[] { return [ ['div.header', ['span.title', 'OPCUT'], - ['a.github', { + ['a.icon', { props: { title: 'GitHub', - href: 'https://github.com/bozokopic/opcut' + href: 'https://github.com/bozokopic/opcut', + target: '_blank' }}, ['span.fa.fa-github'] + ], + ['a.icon', { + props: { + title: 'Documentation', + href: 'docs/index.html', + target: '_blank' + }}, + ['span.fa.fa-question-circle'] ] ], ['div.form', -- cgit v1.2.3-70-g09d2