Commit graph

10 commits

Author SHA1 Message Date
Benjamin Palko
f374c3aa4d avatar component
asd
2025-02-18 11:44:55 -05:00
Baobeld
40bf33a9e5
Residents frontend page (#82)
* create modal component

* refactor app layout and add residents page

* add residents page

* fix story

* fix error

* add resident edit

* allow resident delete

* remove page transitions, use default actions
2025-02-11 17:15:19 -05:00
Baobeld
8270c53509
41 create tenant twilio config (#62)
* add tenant config table

* add encryption/decryption + env vars

* generate secret and validate iv position is number

* expect errors

* remove TWILIO env vars

* settings page impl

* update schema definitions after Mostaphas Tenant impl

* load user env

* just return empty config

* add Settings menu item

* check if settings are present and provide warning if not

* correct form item names

* use correct locals value

* ree

* give twilio its own table

* lock prisma version

* event url is the correct param

* load twilio config from db

* commit migration

* use test script not bun command
2025-01-26 23:36:06 -05:00
Baobeld
b9fd3e30c4
Chore: add menu dropdown on navbar (#54)
add menu dropdown on navbar

add messages to navbar
2025-01-16 13:46:55 -05:00
Mostapha El Sabah
ed2e18310e
feat: add Clerk Auth (#43) 2025-01-04 21:24:47 -05:00
Baobeld
8969e2b8aa
19 implement i18n (#29)
* init paraglide

* change export

* shared session check

* message param

* format

* check user is present

A session can exist without a user, if the user was recently deleted

* wtf

* lol bad redirect code
2024-12-20 11:41:01 -05:00
Baobeld
abc30a2a03
Greet user (#21)
* ignore underscores

* great user and redirect to login on /app

* format

* pass user as property of data object
2024-12-19 22:24:44 -05:00
Baobeld
6ddaa69f69
Daisy UI (#14)
* add dependency

* rename Input to TextInput and use daisy

* base styling

* storybook setup with tailwind and theme changer

* daisy buttons

* add flaticons

* text input to daisy

* Navbar to daisy

* login using daisy

* autodocs is... auto

* refactor Tabs to separate components

* move TextInput

* move button

* move navbar

* remove index

* move container

* move loader

* move tabs to navigation

* organize storybook hierarchy

* use card

* remove storybook dark mode

* README

* ignore db file

* ignore db

* prisma scripts

* format

* blyat

* fix redirect
2024-12-19 21:20:21 -05:00
Benjamin Palko
4aaacde3df render children 2024-12-09 18:35:55 -05:00
Benjamin Palko
9bae54ac09 app loading page 2024-12-09 16:31:37 -05:00