summaryrefslogtreecommitdiff
path: root/moneyjsx/src/support.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'moneyjsx/src/support.tsx')
-rw-r--r--moneyjsx/src/support.tsx18
1 files changed, 18 insertions, 0 deletions
diff --git a/moneyjsx/src/support.tsx b/moneyjsx/src/support.tsx
new file mode 100644
index 0000000..2b718be
--- /dev/null
+++ b/moneyjsx/src/support.tsx
@@ -0,0 +1,18 @@
+import * as JSX from './jsx';
+
+import { Page, GroupBox } from './components';
+
+export default function Support() {
+ return <Page>
+ <GroupBox title="Support pages" style="width: 60%">
+ <div style="display: flex; flex-direction: column">
+ { /* note day: u have to actually add those routes in index-page.tsx */ }
+ <a onclick={ () => JSX.navigate( "/models" ) }>Models</a>
+ <a onclick={ () => JSX.navigate( "/tutorial" ) }>Tutorial</a>
+ <a onclick={ () => JSX.navigate( "/api" ) }>API</a>
+ <a onclick={ () => JSX.navigate( "/tos" ) }>ToS</a>
+ <a href="https://twitter.com/axonbox">Contact</a>
+ </div>
+ </GroupBox>
+ </Page>
+}