update git commit and push

This commit is contained in:
Rami Bitar
2026-05-05 14:04:51 -04:00
parent fce386c518
commit 346fcb470e
4 changed files with 135 additions and 20 deletions

View File

@@ -1,6 +1,8 @@
import { ComponentConfig } from "@reacteditor/core";
import { Menu as MenuIcon } from "lucide-react";
import { imageField } from "@reacteditor/plugin-media/field";
import { Navigation, type NavigationProps } from "@/components/navigation/navigation";
import { frontendAiMediaAdapter } from "@/services/media-adapter";
export const navigationEditor: ComponentConfig<NavigationProps> = {
label: "Navigation",
@@ -9,6 +11,7 @@ export const navigationEditor: ComponentConfig<NavigationProps> = {
global: true,
defaultProps: {
brand: "Maison",
logo: "",
links: [
{ label: "Shop", href: "/collections" },
{ label: "Lookbook", href: "/lookbook" },
@@ -24,6 +27,7 @@ export const navigationEditor: ComponentConfig<NavigationProps> = {
},
fields: {
brand: { label: "Brand", type: "text", contentEditable: true },
logo: { label: "Logo", ...imageField({ adapter: frontendAiMediaAdapter }) },
links: {
label: "Links",
type: "array",