fix(nextjs): adds actual placeholder icons as defautl for layout preview
This commit is contained in:
parent
f7ad01a648
commit
3f76f1872f
9 changed files with 29 additions and 29 deletions
|
|
@ -38,7 +38,7 @@ export const Schema = z.object({
|
|||
}),
|
||||
|
||||
trendIcon: IconSchema.default({
|
||||
__icon_url__: "https://example.com/trend-up.svg",
|
||||
__icon_url__: "/static/icons/placeholder.png",
|
||||
__icon_query__: "upward trend arrow icon"
|
||||
}).meta({
|
||||
description: "Trend indicator icon",
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ const type10SlideSchema = z.object({
|
|||
})).min(2).max(3).default(() => [
|
||||
{
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2015/12/01/20/28/road-1072823_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'A beautiful road in the mountains'
|
||||
},
|
||||
heading: 'First Key Point',
|
||||
|
|
@ -45,7 +45,7 @@ const type10SlideSchema = z.object({
|
|||
},
|
||||
{
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2015/12/01/20/28/road-1072823_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'A beautiful road in the mountains'
|
||||
},
|
||||
heading: 'Second Key Point',
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ const type6SlideSchema = z.object({
|
|||
heading: 'Professional Service',
|
||||
description: 'High-quality professional services tailored to your specific needs and requirements',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Professional Service'
|
||||
}
|
||||
},
|
||||
|
|
@ -31,7 +31,7 @@ const type6SlideSchema = z.object({
|
|||
heading: 'Expert Consultation',
|
||||
description: 'Expert advice and consultation from experienced professionals in the field',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Expert Consultation'
|
||||
}
|
||||
},
|
||||
|
|
@ -39,7 +39,7 @@ const type6SlideSchema = z.object({
|
|||
heading: 'Quality Assurance',
|
||||
description: 'Comprehensive quality assurance processes to ensure excellent results',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Quality Assurance'
|
||||
}
|
||||
},
|
||||
|
|
@ -47,7 +47,7 @@ const type6SlideSchema = z.object({
|
|||
heading: 'Customer Support',
|
||||
description: 'Dedicated customer support available to assist you throughout the process',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Customer Support'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ const type7SlideSchema = z.object({
|
|||
description: "Item description",
|
||||
}),
|
||||
icon: IconSchema.default({
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2015/12/01/20/28/road-1072823_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Default icon'
|
||||
}).meta({
|
||||
description: "Icon for the item",
|
||||
|
|
@ -28,7 +28,7 @@ const type7SlideSchema = z.object({
|
|||
heading: 'Professional Service',
|
||||
description: 'High-quality professional services tailored to your specific needs and requirements',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2015/12/01/20/28/road-1072823_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Professional service icon'
|
||||
}
|
||||
},
|
||||
|
|
@ -36,7 +36,7 @@ const type7SlideSchema = z.object({
|
|||
heading: 'Expert Consultation',
|
||||
description: 'Expert advice and consultation from experienced professionals in the field',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2016/02/19/11/19/office-1209640_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Expert consultation icon'
|
||||
}
|
||||
},
|
||||
|
|
@ -44,7 +44,7 @@ const type7SlideSchema = z.object({
|
|||
heading: 'Quality Assurance',
|
||||
description: 'Comprehensive quality assurance processes to ensure excellent results',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2017/08/10/08/47/laptop-2619235_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Quality assurance icon'
|
||||
}
|
||||
},
|
||||
|
|
@ -52,7 +52,7 @@ const type7SlideSchema = z.object({
|
|||
heading: 'Customer Support',
|
||||
description: 'Dedicated customer support available to assist you throughout the process',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2015/12/01/20/28/road-1072823_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Customer support icon'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const type8SlideSchema = z.object({
|
|||
description: "Item description",
|
||||
}),
|
||||
icon: IconSchema.default({
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2015/12/01/20/28/road-1072823_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Default icon'
|
||||
}).meta({
|
||||
description: "Icon for the item",
|
||||
|
|
@ -31,7 +31,7 @@ const type8SlideSchema = z.object({
|
|||
heading: 'Advanced Features',
|
||||
description: 'Cutting-edge functionality designed to enhance productivity and user experience',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2015/12/01/20/28/road-1072823_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Advanced features icon'
|
||||
}
|
||||
},
|
||||
|
|
@ -39,7 +39,7 @@ const type8SlideSchema = z.object({
|
|||
heading: 'Reliable Performance',
|
||||
description: 'Consistent and dependable performance across all platforms and devices',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2016/02/19/11/19/office-1209640_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Reliable performance icon'
|
||||
}
|
||||
},
|
||||
|
|
@ -47,7 +47,7 @@ const type8SlideSchema = z.object({
|
|||
heading: 'Secure Environment',
|
||||
description: 'Enterprise-grade security measures to protect your data and privacy',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.pixabay.com/photo/2017/08/10/08/47/laptop-2619235_1280.jpg',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'Secure environment icon'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ const bulletWithIconsSlideSchema = z.object({
|
|||
title: 'Inefficiency',
|
||||
description: 'Businesses struggle to find digital tools that meet their needs, causing operational slowdowns.',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/alert-triangle.js',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'warning alert inefficiency'
|
||||
}
|
||||
},
|
||||
|
|
@ -40,7 +40,7 @@ const bulletWithIconsSlideSchema = z.object({
|
|||
title: 'High Costs',
|
||||
description: 'Outdated systems increase expenses, while small businesses struggle to expand their market reach.',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/trending-up.js',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'trending up costs chart'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ const chartWithBulletsSlideSchema = z.object({
|
|||
title: 'Total Addressable Market',
|
||||
description: 'Companies can use TAM to plan future expansion and investment.',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/target.js',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'target market scope'
|
||||
}
|
||||
},
|
||||
|
|
@ -72,7 +72,7 @@ const chartWithBulletsSlideSchema = z.object({
|
|||
title: 'Serviceable Available Market',
|
||||
description: 'Indicates more measurable market segments for sales efforts.',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/pie-chart.js',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'pie chart analysis'
|
||||
}
|
||||
},
|
||||
|
|
@ -80,7 +80,7 @@ const chartWithBulletsSlideSchema = z.object({
|
|||
title: 'Serviceable Obtainable Market',
|
||||
description: 'Help companies plan development strategies according to the market.',
|
||||
icon: {
|
||||
__icon_url__: 'https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/trending-up.js',
|
||||
__icon_url__: '/static/icons/placeholder.png',
|
||||
__icon_query__: 'trending up growth'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ const problemStatementSlideSchema = z.object({
|
|||
"Businesses struggle to find digital tools that meet their needs, causing operational slowdowns.",
|
||||
icon: {
|
||||
__icon_url__:
|
||||
"https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/alert-triangle.js",
|
||||
"/static/icons/placeholder.png",
|
||||
__icon_query__: "warning alert inefficiency",
|
||||
},
|
||||
},
|
||||
|
|
@ -54,7 +54,7 @@ const problemStatementSlideSchema = z.object({
|
|||
"Outdated systems increase expenses, while small businesses struggle to expand their market reach.",
|
||||
icon: {
|
||||
__icon_url__:
|
||||
"https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/trending-up.js",
|
||||
"/static/icons/placeholder.png",
|
||||
__icon_query__: "trending up costs chart",
|
||||
},
|
||||
},
|
||||
|
|
@ -64,7 +64,7 @@ const problemStatementSlideSchema = z.object({
|
|||
"Businesses struggle to find digital tools that meet their needs, causing operational slowdowns.",
|
||||
icon: {
|
||||
__icon_url__:
|
||||
"https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/alert-triangle.js",
|
||||
"/static/icons/placeholder.png",
|
||||
__icon_query__: "warning alert inefficiency",
|
||||
},
|
||||
},
|
||||
|
|
@ -74,7 +74,7 @@ const problemStatementSlideSchema = z.object({
|
|||
"Businesses struggle to find digital tools that meet their needs, causing operational slowdowns.",
|
||||
icon: {
|
||||
__icon_url__:
|
||||
"https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/alert-triangle.js",
|
||||
"/static/icons/placeholder.png",
|
||||
__icon_query__: "warning alert inefficiency",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ const solutionSlideSchema = z.object({
|
|||
icon: {
|
||||
__icon_query__: "market innovation",
|
||||
__icon_url__:
|
||||
"https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/globe.js",
|
||||
"/static/icons/placeholder.png",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -60,7 +60,7 @@ const solutionSlideSchema = z.object({
|
|||
icon: {
|
||||
__icon_query__: "industry building",
|
||||
__icon_url__:
|
||||
"https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/building.js",
|
||||
"/static/icons/placeholder.png",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -69,7 +69,7 @@ const solutionSlideSchema = z.object({
|
|||
icon: {
|
||||
__icon_query__: "SEM data analysis",
|
||||
__icon_url__:
|
||||
"https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/chart-bar.js",
|
||||
"/static/icons/placeholder.png",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -78,7 +78,7 @@ const solutionSlideSchema = z.object({
|
|||
icon: {
|
||||
__icon_query__: "end user impact",
|
||||
__icon_url__:
|
||||
"https://cdn.jsdelivr.net/npm/lucide@latest/dist/esm/icons/user.js",
|
||||
"/static/icons/placeholder.png",
|
||||
},
|
||||
},
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue