Commit Graph
22 Commits
Author SHA1 Message Date
hamedandClaude Opus 4.8 83b2ec21b7 fix(header): detect login state live from client cookie
The header decided between profile and login button only from the
server-passed logged prop (read once via cookies() in StLayout), so a
user who logged in client-side still saw ورود | ثبت نام until a hard
reload. Seed isLogged from the server prop (correct first paint, no
hydration mismatch) then sync it from the access_token cookie on mount
and on every route change, so login/logout reflect immediately.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 18:41:58 +03:30
Ehsan dafeebc54f validation & change deisng sidebar dashboard & add menu to profile & handle menu item in profile & add api 2025-06-03 00:50:10 +03:30
Ehsan e292176a61 handle limit page dashboard & change header profile user & get data from api in page clinics & clinic item and doctor item 2025-06-01 01:08:25 +03:30
Ehsan 254d5d4ebd change format all file 2025-05-18 01:18:35 +03:30
Ehsan cd3114d308 fix warnings page blog item 2025-05-12 23:11:41 +03:30
Ehsan de1f307574 handle active list header links 2025-05-12 23:04:52 +03:30
Ehsan 1b2f579d0d almost change all layouts to ssr 2025-05-11 15:16:51 +03:30
Ehsan e4771c4e2f last update 2025-05-11 12:13:23 +03:30
Ehsan d91ea41065 deign sidebar 2024-10-20 00:00:24 +03:30
Ehsan bdc58b7a37 change modal mui design and text 2024-10-17 20:10:21 +03:30
Ehsan 2a98790ffd deisgn page account bank header 2024-10-09 20:20:03 +03:30
Ehsan c1898eb654 change header style 2024-10-09 19:56:59 +03:30
Ehsan eda896e917 add prettier formatter to all file 2024-09-25 11:03:44 +03:30
Ehsan 9d1c4aa299 responsive page user-account & add-doctor & turns & add loading to all page panel & change design page dashboard 2024-09-14 02:41:38 +03:30
Ehsan bb154ac63f change design all page & component page booking and account & cleancode 2024-09-01 20:43:53 +03:30
Ehsan 680ef74034 fix responsive all page & add modal doctor id & page dashboard aside 2024-09-01 01:36:36 +03:30
Ehsan 381b0a9eea respnsive pages 2024-08-19 21:48:15 +03:30
Ehsan fd3b82143b page home responsive & change component element & page blog item 2024-08-15 10:10:57 +03:30
Ehsan 1341253384 responsive page home and list 2024-08-14 10:38:07 +03:30
Ehsan 5568a989fe change data clinics & page clinics tab about & contact & doctors 2024-08-13 01:23:44 +03:30
Ehsan 697bde2f5d change style menu home & responsive head and footer home & list doctors 2024-08-11 06:46:35 +03:30
Ehsan 0afe0a39b0 change element component & add menu head & responsive head home 2024-08-10 03:23:34 +03:30