feat: AI SEO generator, full admin panel, i18n sweep, new logo + auth/RTL fixes
Build backend images / build content-svc (push) Failing after 3m39s
Build backend images / build file-svc (push) Failing after 52s
Build backend images / build gateway (push) Failing after 58s
Build backend images / build identity-svc (push) Failing after 1m21s
Build backend images / build notification-svc (push) Failing after 1m0s
Build backend images / build render-svc (push) Failing after 58s
Build backend images / build studio-svc (push) Failing after 55s

AI SEO content generator
- content-svc: per-tenant OpenAI config (ai_settings) + /v1/ai endpoints
  (settings GET/PUT, seo-post) with SEO-expert prompt → structured article
- admin UI to configure token/base-url/model and generate + save as blog
- configurable base URL for restricted networks

Full data-driven admin panel
- generic /api/admin/resource proxy + reusable AdminResource component
- categories/tags/fonts/blogs (CRUD), users (list + ban), plans/slides
- AI content section; nav + i18n

i18n localization sweep
- localized 116 user-facing + studio/editor components to next-intl (fa+en)
  under the auto.* namespace; merge tooling in scripts/merge-i18n.js

Branding + assets
- Monoline F logo (LogoMark + favicon)
- offline SVG placeholder generator (/api/placeholder), dropped picsum.photos

Fixes
- JWT issuer mismatch on content/studio (flatrender → flatrender-identity)
- missing role claim → [Authorize(Roles="Admin")] now works (RBAC)
- Secure cookies broke HTTP sessions → gated behind AUTH_COOKIE_SECURE
- Radix RTL via DirectionProvider (right-aligned menus in fa)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-02 09:35:14 +03:30
parent bcc69f0a2e
commit 3fc7bf2b97
160 changed files with 4397 additions and 767 deletions
+18 -14
View File
@@ -1,13 +1,13 @@
/**
* Inline SVG brand mark for FlatRender.
* Inline SVG brand mark for FlatRender — "Monoline F".
*
* Icon meaning:
* • Blue rounded square = the platform
* • White play triangle = video / rendering
* • Three stacked bars = flat-design layers / composition
* • Blue rounded square = the platform / app icon
* • White "F" (stem + stacked arms) = FlatRender lettermark + flat-design layers
* • Small play chevron = video / rendering, forward motion
*
* Rendered inline so it works without a network request and
* inherits the correct colour in both light and dark contexts.
* Rendered inline so it works without a network request and inherits the
* correct colour in both light and dark contexts.
*/
interface LogoMarkProps {
@@ -21,22 +21,26 @@ export function LogoMark({ size = 36, className }: LogoMarkProps) {
<svg
width={size}
height={size}
viewBox="0 0 40 40"
viewBox="0 0 48 48"
fill="none"
xmlns="http://www.w3.org/2000/svg"
aria-hidden
className={className}
>
{/* Blue rounded background */}
<rect width="40" height="40" rx="9" fill="#2563EB" />
<rect width="48" height="48" rx="12" fill="#2563EB" />
{/* Play triangle */}
<path d="M12 12.5L12 27.5L24.5 20L12 12.5Z" fill="white" />
{/* "F" stem */}
<rect x="16" y="13" width="3.6" height="22" rx="1.8" fill="white" />
{/* Flat-design layer bars (decreasing width, right side) */}
<rect x="27" y="13" width="7" height="2.5" rx="1.25" fill="white" fillOpacity="0.9" />
<rect x="27" y="18.75" width="5.5" height="2.5" rx="1.25" fill="white" fillOpacity="0.75" />
<rect x="27" y="24.5" width="4" height="2.5" rx="1.25" fill="white" fillOpacity="0.6" />
{/* "F" top arm */}
<rect x="16" y="13" width="16" height="3.6" rx="1.8" fill="white" />
{/* "F" middle arm (shorter — flat-design layering cue) */}
<rect x="16" y="22.2" width="11" height="3.6" rx="1.8" fill="white" fillOpacity="0.75" />
{/* Play chevron — video / forward motion */}
<path d="M30 29L35.5 32L30 35Z" fill="white" fillOpacity="0.9" />
</svg>
);
}