Skip to content

Commit 53c2c10

Browse files
committed
feat(seo): add Open Graph image configuration to multiple documentation files
1 parent 8659edf commit 53c2c10

File tree

6 files changed

+29
-17
lines changed

6 files changed

+29
-17
lines changed

docs/content/1.getting-started/2.introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ navigation:
66
seo:
77
title: Introduction
88
description: Learn about Flowforge - the Laravel package that creates Kanban boards from Eloquent models for Filament 4.x.
9+
ogImage: /preview.png
910
---
1011

1112
Welcome to **Flowforge**, a powerful Laravel package that transforms any Eloquent model into production-ready drag-and-drop Kanban boards.

docs/content/1.getting-started/3.installation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ navigation:
55
icon: i-lucide-download
66
seo:
77
description: Install Flowforge and create your first Kanban board.
8+
ogImage: /preview.png
89
---
910

1011
## Requirements

docs/content/2.essentials/1.integration-patterns.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Integration Patterns
33
description: Three ways to integrate Flowforge into your application.
44
navigation:
55
icon: i-lucide-layers
6+
seo:
7+
ogImage: /preview.png
68
---
79

810
Flowforge provides three flexible integration patterns to fit different use cases and application architectures.

docs/content/2.essentials/2.customization.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Customization
33
description: Customize your Kanban boards with rich content, actions, and filtering.
44
navigation:
55
icon: i-lucide-palette
6+
seo:
7+
ogImage: /preview.png
68
---
79

810
## Rich Card Content

docs/content/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
seo:
33
title: Flowforge - Laravel Kanban Boards
44
description: Transform any Laravel model into production-ready drag-and-drop Kanban boards. Works with Filament admin panels and standalone Livewire applications.
5+
ogImage: /preview.png
56
---
67

78
::u-page-hero

docs/nuxt.config.ts

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
33
extends: 'docus',
4-
modules: ["@nuxt/image", "@nuxt/scripts"],
5-
devtools: {enabled: true},
4+
modules: ['@nuxt/image', '@nuxt/scripts'],
5+
devtools: { enabled: true },
6+
site: {
7+
name: 'Flowforge',
8+
},
69
app: {
710
baseURL: process.env.NODE_ENV === 'production' ? '/flowforge/' : '/',
811
buildAssetsDir: 'assets', // avoid underscore prefix for GitHub Pages
@@ -11,32 +14,34 @@ export default defineNuxtConfig({
1114
{
1215
rel: 'icon',
1316
type: 'image/x-icon',
14-
href: (process.env.NODE_ENV === 'production' ? '/flowforge/' : '/') + 'favicon.ico'
15-
}
16-
]
17-
}
17+
href:
18+
(process.env.NODE_ENV === 'production'
19+
? '/flowforge/'
20+
: '/') + 'favicon.ico',
21+
},
22+
],
23+
},
1824
},
1925
image: {
2026
// Don't set baseURL for image module - let app.baseURL handle it
2127
// This prevents double baseURL application
22-
provider: 'none'
28+
provider: 'none',
2329
},
2430
content: {
2531
build: {
2632
markdown: {
2733
highlight: {
28-
langs: [
29-
'php',
30-
'blade'
31-
]
32-
}
33-
}
34-
}
34+
langs: ['php', 'blade'],
35+
},
36+
},
37+
},
3538
},
3639
seo: {
37-
ogImage: (process.env.NODE_ENV === 'production' ? '/flowforge/' : '/') + 'preview.png'
40+
ogImage:
41+
(process.env.NODE_ENV === 'production' ? '/flowforge/' : '/') +
42+
'preview.png',
3843
},
3944
nitro: {
40-
preset: 'github_pages'
41-
}
45+
preset: 'github_pages',
46+
},
4247
})

0 commit comments

Comments
 (0)