Updated the website
This commit is contained in:
@@ -4,6 +4,7 @@ import { featureBlockSchema } from "../components/blocks/features";
|
||||
import { heroBlockSchema } from "../components/blocks/hero";
|
||||
import { testimonialBlockSchema } from "../components/blocks/testimonial";
|
||||
import { ColorPickerInput } from "./fields/color";
|
||||
import {carouselBlockSchema} from "../components/blocks/carousel";
|
||||
|
||||
const config = defineConfig({
|
||||
clientId: process.env.NEXT_PUBLIC_TINA_CLIENT_ID!,
|
||||
@@ -158,6 +159,11 @@ const config = defineConfig({
|
||||
label: "Header",
|
||||
name: "header",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
label: "Page Title",
|
||||
name: "pageTitle",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
label: "Title",
|
||||
@@ -213,15 +219,6 @@ const config = defineConfig({
|
||||
label: "Footer",
|
||||
name: "footer",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
label: "Color",
|
||||
name: "color",
|
||||
options: [
|
||||
{ label: "Default", value: "default" },
|
||||
{ label: "Primary", value: "primary" },
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "object",
|
||||
label: "Social Links",
|
||||
@@ -251,60 +248,6 @@ const config = defineConfig({
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "object",
|
||||
label: "Theme",
|
||||
name: "theme",
|
||||
// @ts-ignore
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
label: "Primary Color",
|
||||
name: "color",
|
||||
ui: {
|
||||
component: ColorPickerInput,
|
||||
},
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "font",
|
||||
label: "Font Family",
|
||||
options: [
|
||||
{
|
||||
label: "System Sans",
|
||||
value: "sans",
|
||||
},
|
||||
{
|
||||
label: "Nunito",
|
||||
value: "nunito",
|
||||
},
|
||||
{
|
||||
label: "Lato",
|
||||
value: "lato",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "darkMode",
|
||||
label: "Dark Mode",
|
||||
options: [
|
||||
{
|
||||
label: "System",
|
||||
value: "system",
|
||||
},
|
||||
{
|
||||
label: "Light",
|
||||
value: "light",
|
||||
},
|
||||
{
|
||||
label: "Dark",
|
||||
value: "dark",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -366,6 +309,8 @@ const config = defineConfig({
|
||||
featureBlockSchema,
|
||||
contentBlockSchema,
|
||||
testimonialBlockSchema,
|
||||
// @ts-ignore
|
||||
carouselBlockSchema
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user