e54c69f216
fix(nextauth): eslint errors
2023-09-03 11:24:08 +02:00
377e9e9570
feat(nextauth): properly handle signout
...
When signing out, by default keycloak session is not terminated, this fixes it and sends a request to keycloak instance to terminate the keycloak session.
2023-09-03 10:50:40 +02:00
2a7b833b2e
refactor(nextauth): change provider from Google to Keycloak
...
- using self-hosted keycloak as SSO `https://sso.mareshq.com `
2023-09-02 17:37:45 +02:00
7ae10b4ecc
refactor: move lib/* to src/
2023-07-04 18:47:05 +02:00
44a95cbf1c
fix: eslint errors
2023-06-27 14:01:32 +02:00
5a300f9f88
refactor(pages): require authentication to visit pages
2023-06-26 23:10:17 +02:00
019267584a
refactor(Sidebar.tsx): use proper signout link
2023-06-26 23:09:56 +02:00
ebeabbcdbf
refactor(auth): use google provider
2023-06-26 23:09:18 +02:00
b91d83a5d7
feat(pages): add 'training/[slug]' page with detail
2023-06-26 22:27:49 +02:00
f731dd6bcb
refactor(Sidebar.tsx): rename back to 'backoffice'
2023-06-26 20:39:50 +02:00
1f47d29843
refactor(trainings.tsx): link to training page to a singular form
2023-06-26 20:38:19 +02:00
623b018a1b
feat: add /trainings page
...
- list of trainings
- add button (taken from github: vojtechmares/website)
- add currency formatter
2023-06-25 17:06:17 +02:00
2b506afb93
feat: add api routes for trainings
2023-06-25 16:02:06 +02:00
d765851f29
feat(Sidebar.tsx): real links
2023-06-25 15:52:51 +02:00
abc85211f4
refactor(Sidebar.tsx): use current path to determine current page
2023-06-25 15:52:17 +02:00
5cb95a96fa
refactor(homepage): change title
2023-06-25 11:43:10 +02:00
3884ca17a6
refactor(Sidebar): use Next's <Link /> instead of <a />
2023-06-25 10:28:07 +02:00
349b73a992
feat: add sidebar layout from TailwindUI
2023-06-25 10:19:28 +02:00
e06ecdf652
feat: initial commit
...
- `pnpm create t3-app@latest`
2023-06-25 09:33:59 +02:00