diff --git a/src/includes/mentor/create.pug b/src/includes/mentor/create.pug index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..71ce5c03826d955cad26ae8efae8849dd608fb0b 100644 --- a/src/includes/mentor/create.pug +++ b/src/includes/mentor/create.pug @@ -0,0 +1,7 @@ +h2 Create a mentor account + +details + summary All available fields: + sib-form( + data-src=`${endpoints.users}` + ) diff --git a/src/includes/mentor/login.pug b/src/includes/mentor/login.pug index 005ae88470298f2269610c422f0f0b424f590e6a..5bef16a419a52a67c018da156755a08b573e9e5b 100644 --- a/src/includes/mentor/login.pug +++ b/src/includes/mentor/login.pug @@ -8,3 +8,6 @@ form(method='POST' action='/login') label(for='password') Password input.form-control(type='password' id='password' placeholder='password' name='password') button.btn.btn-primary(type='submit') Log in + +sib-link(next='mentor-new-account') + div Create an account \ No newline at end of file diff --git a/src/index.pug b/src/index.pug index c8374c44cae88e1ee4b36a885b2e0c5a1e9b3e2c..3ebd83f0c95f876fccfec6cf1f1eeda553072abf 100644 --- a/src/index.pug +++ b/src/index.pug @@ -1,6 +1,19 @@ doctype html html include includes/head.pug + + sib-router(default-route='splash') + sib-route(name='splash') + sib-route(name='mentor-new-account') + sib-route(name='entrepreneur-new-account') body - include includes/splash.pug + #splash(hidden).no-sidebar + include includes/splash.pug + + #mentor-new-account(hidden).no-sidebar + include includes/mentor/create.pug + + #entrepreneur-new-account(hidden).no-sidebar + include includes/entrepreneur/create.pug +