Commit graph

17 commits

Author SHA1 Message Date
Mostapha El Sabah
ed2e18310e
feat: add Clerk Auth (#43) 2025-01-04 21:24:47 -05:00
Baobeld
1c5b37b24b
12 implement twilio sms (#37)
* add twilio sdk

* add twilio config

use app version in config

* remove default config

* phone regex

* bun update

* create client

* fix env var

* create Textarea component

* move TextInput

* allow snippets on labels

* update with label and error

* move button

* make button children snippet

* add form props

* allow region code

* add twilio FROM number

* rename to twilioClient

* implement simple messaging

* add twilio phone number as empty var

* format

* move twilio client to local on requests

* fix story

* on second thought, dont use locals since we are only using twilio in one place

Don't want to init a twilio client on every request when its only used
in on a single page

* use i18n for page text

* validate env with a script

* remove Zod validation when loading env vars
2025-01-02 20:11:27 -05:00
Baobeld
27fd2b7a14
chore: no magic strings (#34)
* prepend with component/domain

* format
2024-12-30 17:29: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
710eadf5c0 base layout and redirect on root when not logged in 2024-12-13 10:16:28 -05:00
Benjamin Palko
0b267552fe pass through props to div on input 2024-12-13 10:14:04 -05:00
Benjamin Palko
afc6b2b338 adjust button size 2024-12-13 10:13:47 -05:00
Benjamin Palko
3a7335287a basic input component 2024-12-12 16:46:40 -05:00
Benjamin Palko
c8c56f1ca0 less round 2024-12-12 16:46:32 -05:00
Benjamin Palko
c56d77f26f update button 2024-12-12 13:36:35 -05:00
Benjamin Palko
05faa76d7d font 2024-12-10 09:49:52 -05:00
Benjamin Palko
7e9352e9ad colors are shit 2024-12-09 16:40:50 -05:00
Benjamin Palko
42cb792b4a loader 2024-12-09 16:01:34 -05:00
Benjamin Palko
4da813f841 button component 2024-12-09 15:58:26 -05:00
Benjamin Palko
a97d9313a7 basic navbar 2024-12-08 23:48:20 -05:00