update git commit and push
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user