diff --git a/frontend/src/app.svelte b/frontend/src/app.svelte index 758ddf8..d1d2ce2 100644 --- a/frontend/src/app.svelte +++ b/frontend/src/app.svelte @@ -4,7 +4,7 @@ import contextMenu from '$lib/stores/contextmenu'; import environment from '$lib/stores/environment'; import applicationInited from '$lib/stores/inited'; - import About from '$organisms/about/index.svelte'; + import About from '$organisms/about.svelte'; import Connection from '$organisms/connection/index.svelte'; import Settings from '$organisms/settings/index.svelte'; import { EventsOn } from '$wails/runtime'; @@ -38,6 +38,7 @@ {#key $contextMenu} {/key} + {/if} diff --git a/frontend/src/lib/actions/alink.js b/frontend/src/lib/actions/alink.js new file mode 100644 index 0000000..a9cf366 --- /dev/null +++ b/frontend/src/lib/actions/alink.js @@ -0,0 +1,8 @@ +import { BrowserOpenURL } from '$wails/runtime/runtime'; + +export default function alink(node) { + node.addEventListener('click', e => { + e.preventDefault(); + BrowserOpenURL(node.href); + }); +} diff --git a/frontend/src/organisms/about.svelte b/frontend/src/organisms/about.svelte new file mode 100644 index 0000000..9cb262a --- /dev/null +++ b/frontend/src/organisms/about.svelte @@ -0,0 +1,64 @@ + + + + + + + Rolens + Intuitive MongoDB administration tool + + + + + + + © Romein van Buren, 2023. + + Documentation | + GitHub | + Report a bug | + License + + + + + diff --git a/frontend/src/organisms/about/index.svelte b/frontend/src/organisms/about/index.svelte deleted file mode 100644 index f573f45..0000000 --- a/frontend/src/organisms/about/index.svelte +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - Rolens - A modest MongoDB client - - - - - d - - - d - - - - - - diff --git a/frontend/src/styles/style.css b/frontend/src/styles/style.css index 391da35..7f53835 100644 --- a/frontend/src/styles/style.css +++ b/frontend/src/styles/style.css @@ -41,6 +41,19 @@ p strong { font-weight: 700; } +a { + color: rgb(0, 0, 204); + text-decoration: underline; + text-underline-offset: 2px; + text-decoration-thickness: 1px; +} + +hr { + border: none; + height: 1px; + background-color: #ccc; +} + .loading { cursor: wait; }
© Romein van Buren, 2023.
+ Documentation | + GitHub | + Report a bug | + License +