Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function ThemeDemo() {
</Button>
</div>

<h1 className="font-heading text-4xl font-bold text-foreground">Theme Demo: {config.themeBase}</h1>
<h1 className="font-heading text-4xl font-bold text-foreground">Theme Demo: {config.theme.name}</h1>

{/* Typography Demo */}
<section className="space-y-4 rounded-lg border border-border bg-card p-6">
Expand Down
2 changes: 1 addition & 1 deletion apps/ottabase-template-app-nextjs-homepage/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";
import "./.next/dev/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
2 changes: 1 addition & 1 deletion packages/ottalanding/src/ottaorm-models/LandingSection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class LandingSection extends BaseModel {
formConfig: {
visible: true,
fieldType: 'select',
options: SECTION_TYPES.map((t) => ({ label: t, value: t })),
options: SECTION_TYPES.map((t) => ({ id: t, name: t, label: t, value: t })),
},
tableConfig: { visible: true, colWidth: 150 },
},
Expand Down
14 changes: 7 additions & 7 deletions packages/ottalanding/src/section-fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ const featuresFields: ModelFields = {
visible: true,
fieldType: 'select',
options: [
{ label: '2 columns', value: '2' },
{ label: '3 columns', value: '3' },
{ label: '4 columns', value: '4' },
{ id: '2', name: '2 columns', label: '2 columns', value: '2' },
{ id: '3', name: '3 columns', label: '3 columns', value: '3' },
{ id: '4', name: '4 columns', label: '4 columns', value: '4' },
],
order: 4,
},
Expand Down Expand Up @@ -173,8 +173,8 @@ const pricingFields: ModelFields = {
visible: true,
fieldType: 'select',
options: [
{ label: 'Monthly', value: 'monthly' },
{ label: 'Annual', value: 'annual' },
{ id: 'monthly', name: 'Monthly', label: 'Monthly', value: 'monthly' },
{ id: 'annual', name: 'Annual', label: 'Annual', value: 'annual' },
],
order: 4,
},
Expand Down Expand Up @@ -401,8 +401,8 @@ const featureHighlightFields: ModelFields = {
visible: true,
fieldType: 'select',
options: [
{ label: 'Right', value: 'right' },
{ label: 'Left', value: 'left' },
{ id: 'right', name: 'Right', label: 'Right', value: 'right' },
{ id: 'left', name: 'Left', label: 'Left', value: 'left' },
],
order: 4,
},
Expand Down
Loading