Commit Graph

13 Commits

Author SHA1 Message Date
tonoyan
b0a744034b phone number and address 2026-05-28 12:56:41 +00:00
sdarbinyan
7bc3eb10c1 lorelo 2026-05-19 02:46:13 +04:00
sdarbinyan
cb2666177a lavero 2026-05-19 02:01:36 +04:00
sdarbinyan
a15f2bca6a dynamic phone and bots 2026-04-14 22:28:34 +04:00
sdarbinyan
1897cbe7a6 phone novo 2026-04-14 16:15:45 +04:00
sdarbinyan
0cb32a22d9 translated lega 2026-02-28 15:43:22 +04:00
sdarbinyan
e4206d8abc added language routing system 2026-02-26 22:23:08 +04:00
sdarbinyan
10b4974719 optimising and making it better 2026-02-26 21:54:21 +04:00
sdarbinyan
7a00a8f1e3 changed legal 2026-02-24 21:24:33 +04:00
sdarbinyan
18df968b7a improvments are done 2026-02-19 01:23:25 +04:00
sdarbinyan
70b730a6ed feat: implement scalable multi-brand architecture
Architecture:
- Each brand has its own pages folder with Angular components
- brand-routes.ts defines routes for default brand (dexar)
- brand-routes.novo.ts defines routes for novo brand
- angular.json fileReplacements swaps brand-routes.ts based on build config

Structure:
- src/app/brands/dexar/pages/ - Dexar HTML templates
- src/app/brands/novo/pages/ - Novo components (TS + HTML)
- src/app/brands/brand-routes.ts - Default (dexar) routes
- src/app/brands/brand-routes.novo.ts - Novo routes

This approach allows:
- Adding 3rd, 4th, 5th brands by creating new folders
- Each brand has completely separate templates
- No @if conditionals needed in templates
- Build-time separation (zero runtime overhead)
2026-01-23 00:00:08 +04:00
sdarbinyan
373b9015aa chore: major project cleanup
Removed unused files:
- Deleted src/app/brands folder (20 unused HTML templates)
- Deleted public/assets/changes.txt (misplaced draft content)
- Deleted src/assets/i18n folder (translations never implemented)
- Deleted 11 redundant docs (Russian notes, duplicate novo docs)

Code cleanup:
- Removed duplicate qrBaseUrl variable in api.service.ts
- Removed all commented-out API code in cart.service.ts
- Removed commented debug logs in cache.interceptor.ts
- Fixed app.spec.ts test (removed failing test, added router provider)

Files kept: 8 essential docs in docs/ folder
2026-01-22 23:52:59 +04:00
sdarbinyan
4aea97aa08 fix: correct brand info for novo (ЭЛЕКТРОМОТОРС, novo.market, INN 9909687443)
- Fixed all novomarket.ru URLs to novo.market in privacy-policy
- Fixed company name from 'novo MARKET' to 'ЭЛЕКТРОМОТОРС' in privacy-policy
- Fixed structured data URLs in index.novo.html
- Fixed og:url and twitter:url meta tags
- Added brand folders structure for future reference
- All legal pages now show correct brand information
2026-01-22 23:22:05 +04:00