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
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:
@@ -1,6 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import { useTranslations } from "next-intl";
|
||||
import { LayoutGrid } from "lucide-react";
|
||||
|
||||
import {
|
||||
@@ -17,11 +18,13 @@ const linkClass =
|
||||
"flex min-h-11 items-center rounded-lg px-3 text-sm font-medium text-gray-700 hover:bg-gray-50 hover:text-gray-900";
|
||||
|
||||
export function NavbarMobileMenu({ onNavigate }: NavbarMobileMenuProps) {
|
||||
const t = useTranslations("auto.componentsLayoutNavbarMobileMenu");
|
||||
|
||||
return (
|
||||
<div className="flex flex-1 flex-col gap-6 overflow-y-auto">
|
||||
<section>
|
||||
<p className="px-3 text-xs font-semibold uppercase tracking-wide text-gray-400">
|
||||
Video Maker
|
||||
{t("videoMaker")}
|
||||
</p>
|
||||
<Link
|
||||
href={VIDEO_MAKER_NAV.browseHref}
|
||||
@@ -44,7 +47,7 @@ export function NavbarMobileMenu({ onNavigate }: NavbarMobileMenuProps) {
|
||||
|
||||
<section>
|
||||
<p className="px-3 text-xs font-semibold uppercase tracking-wide text-gray-400">
|
||||
Image Maker
|
||||
{t("imageMaker")}
|
||||
</p>
|
||||
<Link
|
||||
href={IMAGE_MAKER_NAV.browseHref}
|
||||
@@ -67,13 +70,13 @@ export function NavbarMobileMenu({ onNavigate }: NavbarMobileMenuProps) {
|
||||
|
||||
<section>
|
||||
<Link href="/pricing" onClick={onNavigate} className={linkClass}>
|
||||
Pricing
|
||||
{t("pricing")}
|
||||
</Link>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<p className="px-3 text-xs font-semibold uppercase tracking-wide text-gray-400">
|
||||
Learn
|
||||
{t("learn")}
|
||||
</p>
|
||||
<ul className="mt-1 space-y-0.5">
|
||||
{LEARN_NAV_ITEMS.map((item) => (
|
||||
|
||||
Reference in New Issue
Block a user