Commit Graph

17 Commits

Author SHA1 Message Date
alireza b2e9bcdf40 feat: phone+OTP auth, profile redesign, At-a-Glance Figma polish, radar/article fixes
- Auth: phone-or-email login, OTP login/signup (Kavenegar SFsignin/SFsignup),
  register-verify + password-otp endpoints, OTP-login session fix
- Profile page redesign (menu right / data left, RTL) + SMS password reset
- At a Glance: Figma-matched cards (gold pill badge, gray cards, meta), category
  rename, computed counts, animated news ticker, summit banner, 5-line gated preview
- About page: remove board banner, selectable dept tabs, contact section
- Radar: fix duplicated MiniCard excerpt; gate -> our own auth (login/register)
- Footer trust badges + flag-image language toggle; site-wide Persian digits
2026-06-23 16:56:16 +03:30
alireza dce09cbd23 Refactor authentication handling across PostDetail, ProfilePage, Radar, and RadarPost components
- Replaced localStorage-based authentication checks with context-based checks using useAuth.
- Updated login handling in PostDetail to navigate to the login page instead of setting localStorage directly.
- Simplified ProfilePage to check for member presence instead of token.
- Removed token dependency from InfoTab, PasswordTab, and ContentTab components.
- Adjusted Radar and RadarPost components to utilize context for authentication state.
2026-06-18 08:47:00 +03:30
alireza 07239bd811 feat: radar category pages, post detail page, panel CMS wiring + webp uploads
- Add /radar/:category dynamic detail pages (hero, special banner, grids, pagination)
- Add /posts/:id article page: cover mask, magic-text scroll reveal, charts,
  comments, floating related sidebar, logged-out membership gate
- Panel: radar_pages table/routes + admin UI, grouped right sidebar, webp
  image conversion on upload (sharp)
- Mobile fixes: overflow-x guards, left-side accordion menu, globe/podcast/hero
- Header: flag language toggle

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 17:01:28 +03:30
alireza 3ba233ee0b feat: add Experts page component and avatar placeholder icon 2026-06-11 11:58:29 +03:30
alireza 238464e073 THU figma redesign 2026-06-11 11:00:17 +03:30
alireza 042a64fc92 @
three-globe globe (hex polygons + arcs), navbar chevron cleanup

- Globe: real three-globe World via r3f <primitive> (no JSX augmentation),
  hex-polygon countries + animated steel-trade arcs, bundled Natural Earth data
- Header: type nav Section.Icon as LucideIcon (fixes r3f JSX type clash);
  remove chevron from non-dropdown items (only radar/media dropdowns keep it)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@
2026-06-10 15:12:51 +03:30
alireza 74a8bf567e @
Home revamp: Spread-style hero, sections, and Lenis+GSAP smooth scroll

- Hero: GSAP ScrollTrigger de-zoom (full-bleed image -> centered card +
  satellite scatter), pinned scrub timeline
- Lenis smooth scroll synced to GSAP ticker (desktop only; native momentum
  on touch to avoid iOS double-smoothing); removed conflicting
  scroll-behavior:smooth
- SpreadFeatures: 3 alternating image/text slides with crossfade + blur fade-up
- Radar page + home: report cards with hover author-reveal; data in src/content
- AtAGlance: standalone page + slider; IntegrationsSection data-source grid
- NewsletterMarquee: looping clickable steel-newsletter ticker with live dots
- FactoryReportsScroll, Videocast/Podcast sections
- Remove dead FactoryNewsletterLayout + SteelNewsletterSection
- Content layer under src/content for panel-ready data

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@
2026-06-10 10:13:23 +03:30
alireza 269d6c7374 Update logo, add slider images to public, restore hero video
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 16:57:35 +03:30
alireza c0523f640e Restore logo and news images via LFS 2026-06-01 11:20:25 +03:30
alireza 825be459d7 Remove binary assets from tracking, add to gitignore 2026-06-01 11:11:31 +03:30
alireza 3c40a655de Risk slider, footer fix, global padding, mobile improvements 2026-06-01 10:51:45 +03:30
alireza b797f665d8 Add logo to navbar brand
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 09:06:49 +03:30
asd asd 0fafaa3324
Upload hero-bg.mp4 2026-05-31 16:56:52 +00:00
Mohammad Jebeli 7c9e2f55e3 fix: serve images and hero video locally (Iran geoblock-proof)
- Move hero-bg.mp4 to public/ so Vite serves it at /hero-bg.mp4
  (was at repo root => 404 in built site, video never loaded)
- Download 20 Unsplash images to public/news/ (LFS) and rewrite all
  34 refs to same-origin paths (images.unsplash.com blocked in Iran)
- Replace 2 globally-dead photo IDs with fitting industrial/tech images
2026-05-31 20:20:59 +03:30
asd asd da50fb144d
Upload موکاپ-1.jpg 2026-05-31 13:38:46 +00:00
asd asd f4a7aead77
Upload 13 files 2026-05-31 13:38:29 +00:00
alireza 2dd08650cf Initial commit 2026-05-25 16:07:58 +03:30