5 Commits

Author SHA1 Message Date
kusowl
4a4c8bd4e3 feature: user logout and auth states
added s authState which helps conditonaly render components based on this state

stored user details in localStoarge so that server side end point does not get hit in every page load.

add a guard which protects routes and redirects to login if user is not logged in.

create a logout route
2026-02-24 18:14:21 +05:30
kusowl
0427d1c62d feature: user can login to backend 2026-02-23 18:46:23 +05:30
kusowl
5210292590 chore: add oxfmt as formatter 2026-02-19 12:06:30 +05:30
kusowl
2ed7cc7b86 Refactor: Header and Footer Links
- add searchbar, account and cart icon in navbar
- add navgiation links in footer
- make the text bigger in footer
2026-02-19 11:33:07 +05:30
kusowl
76754801bd initial ui 2026-02-19 10:24:26 +05:30