nca-ai-cms-astro-plugin 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nca-ai-cms-astro-plugin",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.ts",
@@ -14,7 +14,9 @@ const SETTINGS_TABS: SettingsSubTab[] = ['homepage', 'website'];
14
14
 
15
15
  const SETTINGS_FIELDS: Record<string, { key: string; label: string; type: 'input' | 'textarea' }[]> = {
16
16
  homepage: [
17
+ { key: 'hero_kicker', label: 'Hero Kicker', type: 'input' },
17
18
  { key: 'hero_headline', label: 'Hero Ueberschrift', type: 'input' },
19
+ { key: 'hero_title_accent', label: 'Hero Akzent-Text', type: 'input' },
18
20
  { key: 'hero_text', label: 'Hero Text', type: 'textarea' },
19
21
  { key: 'target_audience', label: 'Zielgruppe', type: 'input' },
20
22
  { key: 'tone', label: 'Tonalitaet', type: 'input' },
@@ -20,13 +20,13 @@ const getSetting = async (key: string, fallback: string) => {
20
20
 
21
21
  const heroKicker = await getSetting(
22
22
  'hero_kicker',
23
- 'Web Accessibility Expertise'
23
+ ''
24
24
  );
25
- const heroTitle = await getSetting('hero_title', 'NCA Content');
26
- const heroTitleAccent = await getSetting('hero_title_accent', 'Marketing');
25
+ const heroTitle = await getSetting('hero_headline', '');
26
+ const heroTitleAccent = await getSetting('hero_title_accent', '');
27
27
  const heroDescription = await getSetting(
28
- 'hero_description',
29
- 'Fachartikel für barrierefreie Webentwicklung und digitale Inklusion'
28
+ 'hero_text',
29
+ ''
30
30
  );
31
31
 
32
32
  // Check if user is authenticated