@donotdev/ui 0.0.30 → 0.1.0
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/LICENSE.md +3 -3
- package/dist/components/auth/AuthHeader.d.ts +2 -2
- package/dist/components/auth/AuthHeader.js +2 -2
- package/dist/components/auth/AuthMenu.d.ts +2 -2
- package/dist/components/auth/AuthMenu.js +1 -1
- package/dist/components/common/FeatureCard.js +1 -1
- package/dist/components/common/FeatureDisabled.d.ts +1 -1
- package/dist/components/common/FeatureDisabled.js +2 -2
- package/dist/components/common/ProgressBar.d.ts +1 -1
- package/dist/components/common/ProgressBar.js +2 -2
- package/dist/components/common/RedirectOverlay.d.ts +1 -1
- package/dist/components/common/RedirectOverlay.js +2 -2
- package/dist/components/common/Skeleton.d.ts +7 -7
- package/dist/components/common/Skeleton.js +8 -8
- package/dist/components/common/icon.d.ts +1 -1
- package/dist/components/common/icon.js +2 -2
- package/dist/components/common/index.d.ts +1 -1
- package/dist/components/common/index.js +1 -1
- package/dist/components/cookie-consent/ConsentBanner.d.ts +1 -1
- package/dist/components/cookie-consent/ConsentBanner.js +2 -2
- package/dist/components/cookie-consent/index.d.ts +1 -1
- package/dist/components/cookie-consent/index.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/layout/GameContainer.d.ts +1 -1
- package/dist/components/layout/GameContainer.js +2 -2
- package/dist/components/layout/GameFlow.d.ts +2 -2
- package/dist/components/layout/GameFlow.js +2 -2
- package/dist/components/layout/PageContainer.d.ts +1 -1
- package/dist/components/layout/PageContainer.js +2 -2
- package/dist/components/layout/components/Breadcrumbs.d.ts +1 -1
- package/dist/components/layout/components/Breadcrumbs.js +2 -2
- package/dist/components/layout/components/DropdownNavigation.d.ts +1 -1
- package/dist/components/layout/components/DropdownNavigation.js +2 -2
- package/dist/components/layout/components/FloatingLanguageSwitcher.d.ts +1 -1
- package/dist/components/layout/components/FloatingLanguageSwitcher.js +2 -2
- package/dist/components/layout/components/Notifications.d.ts +4 -4
- package/dist/components/layout/components/Notifications.js +3 -3
- package/dist/components/layout/components/header/AppBranding.d.ts +2 -2
- package/dist/components/layout/components/header/AppBranding.js +2 -2
- package/dist/components/layout/components/header/AppIcon.d.ts +1 -1
- package/dist/components/layout/components/header/AppIcon.js +2 -2
- package/dist/components/layout/components/header/AppTitle.d.ts +1 -1
- package/dist/components/layout/components/header/AppTitle.js +2 -2
- package/dist/components/layout/components/header/CacheSettings.d.ts +1 -1
- package/dist/components/layout/components/header/CacheSettings.js +3 -3
- package/dist/components/layout/components/header/GameTitle.d.ts +1 -1
- package/dist/components/layout/components/header/GameTitle.js +2 -2
- package/dist/components/layout/components/header/HeaderMenu.d.ts +1 -1
- package/dist/components/layout/components/header/HeaderMenu.js +2 -2
- package/dist/components/layout/components/header/HeaderNavigation.d.ts +1 -1
- package/dist/components/layout/components/header/HeaderNavigation.js +2 -2
- package/dist/components/layout/components/header/SettingsMenu.d.ts +1 -1
- package/dist/components/layout/components/header/SettingsMenu.js +2 -2
- package/dist/components/layout/components/header/ThemeToggle.d.ts +1 -1
- package/dist/components/layout/components/header/ThemeToggle.js +2 -2
- package/dist/components/layout/components/index.d.ts +1 -1
- package/dist/components/layout/components/index.js +1 -1
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/license/LicenseWatermark.d.ts +1 -1
- package/dist/components/license/LicenseWatermark.js +2 -2
- package/dist/components/license/watermarkData.js +1 -1
- package/dist/crud/components/CrudCardLink.d.ts +1 -1
- package/dist/crud/components/EntityCardList.d.ts.map +1 -1
- package/dist/crud/components/EntityCardList.js +15 -12
- package/dist/crud/components/EntityDisplayRenderer.js +1 -1
- package/dist/crud/components/EntityFormRenderer.d.ts +1 -1
- package/dist/crud/components/EntityFormRenderer.js +2 -2
- package/dist/crud/components/EntityList.js +1 -1
- package/dist/crud/components/EntityRecommendations.d.ts +1 -1
- package/dist/crud/components/EntityRecommendations.js +2 -2
- package/dist/crud/components/EntityWorkflow.js +1 -1
- package/dist/crud/components/Form.d.ts +10 -10
- package/dist/crud/components/Form.js +12 -12
- package/dist/crud/components/index.d.ts +1 -1
- package/dist/crud/components/index.js +1 -1
- package/dist/crud/crudImports.d.ts +1 -1
- package/dist/crud/crudImports.d.ts.map +1 -1
- package/dist/crud/crudImports.js +1 -1
- package/dist/crud/index.d.ts +1 -1
- package/dist/crud/index.js +1 -1
- package/dist/data/techLogos.d.ts +1 -1
- package/dist/data/techLogos.js +1 -1
- package/dist/dndev-next.css +176 -6
- package/dist/dndev.css +227 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/internal/common/DnDevErrorBoundary.d.ts +2 -2
- package/dist/internal/common/DnDevErrorBoundary.js +2 -2
- package/dist/internal/common/ErrorFallback.d.ts +1 -1
- package/dist/internal/common/ErrorFallback.js +2 -2
- package/dist/internal/common/GlobalErrorFallback.d.ts +1 -1
- package/dist/internal/common/GlobalErrorFallback.js +2 -2
- package/dist/internal/common/RouteErrorFallback.d.ts +1 -1
- package/dist/internal/common/RouteErrorFallback.js +2 -2
- package/dist/internal/devtools/DebugTools.js +1 -1
- package/dist/internal/devtools/components/AuthDebugButton.js +1 -1
- package/dist/internal/devtools/components/ConfigTab.js +1 -1
- package/dist/internal/devtools/components/CookieTab.js +1 -1
- package/dist/internal/devtools/components/DebugDialog.js +1 -1
- package/dist/internal/devtools/components/DesignTab.js +1 -1
- package/dist/internal/devtools/components/LayoutReset.js +2 -2
- package/dist/internal/devtools/components/MaskedValue.js +1 -1
- package/dist/internal/devtools/components/StoresTab.js +1 -1
- package/dist/internal/devtools/components/index.d.ts +1 -1
- package/dist/internal/devtools/components/index.js +1 -1
- package/dist/internal/devtools/index.d.ts +1 -1
- package/dist/internal/devtools/index.js +1 -1
- package/dist/internal/devtools/types.d.ts +9 -9
- package/dist/internal/devtools/utils/envVarDiscovery.js +1 -1
- package/dist/internal/devtools/utils/index.d.ts +1 -1
- package/dist/internal/devtools/utils/index.js +1 -1
- package/dist/internal/devtools/utils/maskSensitive.js +1 -1
- package/dist/internal/devtools/utils/virtualModuleInspector.js +1 -1
- package/dist/internal/initializers/BaseStoresInitializer.d.ts +3 -3
- package/dist/internal/initializers/BaseStoresInitializer.js +2 -2
- package/dist/internal/initializers/NextJsStoresInitializer.d.ts +1 -1
- package/dist/internal/initializers/NextJsStoresInitializer.js +2 -2
- package/dist/internal/initializers/ViteStoresInitializer.d.ts +1 -1
- package/dist/internal/initializers/ViteStoresInitializer.js +2 -2
- package/dist/internal/initializers/index.d.ts +1 -1
- package/dist/internal/initializers/index.js +1 -1
- package/dist/internal/layout/DnDevLayout.d.ts +2 -2
- package/dist/internal/layout/DnDevLayout.d.ts.map +1 -1
- package/dist/internal/layout/DnDevLayout.js +7 -3
- package/dist/internal/layout/components/AutoMetaTags.d.ts +4 -2
- package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
- package/dist/internal/layout/components/AutoMetaTags.js +143 -39
- package/dist/internal/layout/components/FaviconHead.d.ts +1 -1
- package/dist/internal/layout/components/FaviconHead.js +2 -2
- package/dist/internal/layout/components/FontPreloadLinks.d.ts +1 -1
- package/dist/internal/layout/components/FontPreloadLinks.js +1 -1
- package/dist/internal/layout/components/NextJsAutoMetaTags.d.ts +1 -1
- package/dist/internal/layout/components/NextJsAutoMetaTags.js +2 -2
- package/dist/internal/layout/components/PWAUpdateNotification.d.ts +1 -1
- package/dist/internal/layout/components/PWAUpdateNotification.js +2 -2
- package/dist/internal/layout/components/PerformanceHints.js +1 -1
- package/dist/internal/layout/components/footer/FooterBranding.d.ts +1 -1
- package/dist/internal/layout/components/footer/FooterBranding.js +2 -2
- package/dist/internal/layout/components/footer/FooterCopyright.d.ts +1 -1
- package/dist/internal/layout/components/footer/FooterCopyright.js +2 -2
- package/dist/internal/layout/components/footer/FooterLegalLinks.d.ts +1 -1
- package/dist/internal/layout/components/footer/FooterLegalLinks.js +2 -2
- package/dist/internal/layout/components/index.d.ts +1 -1
- package/dist/internal/layout/components/index.js +1 -1
- package/dist/internal/layout/config/defaults.js +1 -1
- package/dist/internal/layout/config/index.d.ts +1 -1
- package/dist/internal/layout/config/index.js +1 -1
- package/dist/internal/layout/config/presets/admin.d.ts +1 -1
- package/dist/internal/layout/config/presets/blog.d.ts +1 -1
- package/dist/internal/layout/config/presets/docs.js +1 -1
- package/dist/internal/layout/config/presets/game.js +1 -1
- package/dist/internal/layout/config/presets/index.d.ts +1 -1
- package/dist/internal/layout/config/presets/landing.js +1 -1
- package/dist/internal/layout/config/presets/moolti.js +1 -1
- package/dist/internal/layout/config/presets/plain.d.ts +2 -2
- package/dist/internal/layout/config/presets/plain.d.ts.map +1 -1
- package/dist/internal/layout/config/presets/plain.js +12 -1
- package/dist/internal/layout/renderers/index.d.ts +1 -1
- package/dist/internal/layout/renderers/index.js +1 -1
- package/dist/internal/layout/zones/DnDevFooter.js +1 -1
- package/dist/internal/layout/zones/DnDevHeader.js +1 -1
- package/dist/internal/layout/zones/DnDevMergedBar.js +1 -1
- package/dist/internal/layout/zones/DnDevSidebar.js +1 -1
- package/dist/internal/layout/zones/index.d.ts +1 -1
- package/dist/internal/layout/zones/index.js +1 -1
- package/dist/internal/providers/NavigationProvider.d.ts +1 -1
- package/dist/internal/providers/NavigationProvider.js +2 -2
- package/dist/internal/providers/SentryInitializer.d.ts +1 -1
- package/dist/internal/providers/SentryInitializer.js +2 -2
- package/dist/internal/providers/UIProviders.d.ts +1 -1
- package/dist/internal/providers/UIProviders.js +3 -3
- package/dist/internal/providers/index.d.ts +1 -1
- package/dist/internal/providers/index.js +1 -1
- package/dist/next.d.ts +1 -1
- package/dist/next.js +1 -1
- package/dist/providers/NextJsAppProviders.d.ts +1 -1
- package/dist/providers/NextJsAppProviders.js +2 -2
- package/dist/providers/ViteAppProviders.d.ts +1 -1
- package/dist/providers/ViteAppProviders.js +2 -2
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/routing/404.d.ts +2 -2
- package/dist/routing/404.js +3 -3
- package/dist/routing/AuthGuard.d.ts +8 -8
- package/dist/routing/AuthGuard.js +8 -8
- package/dist/routing/AuthGuardFallback.d.ts +1 -1
- package/dist/routing/AuthGuardFallback.js +2 -2
- package/dist/routing/DnDevNavigationMenu.d.ts +1 -1
- package/dist/routing/DnDevNavigationMenu.js +2 -2
- package/dist/routing/GoTo.js +1 -1
- package/dist/routing/GoToDialog.js +1 -1
- package/dist/routing/GoToInput.js +1 -1
- package/dist/routing/GoToWrapper.d.ts +1 -1
- package/dist/routing/GoToWrapper.js +2 -2
- package/dist/routing/Link.d.ts +2 -2
- package/dist/routing/Link.js +2 -2
- package/dist/routing/NavigationItem.d.ts +1 -1
- package/dist/routing/NavigationItem.js +2 -2
- package/dist/routing/hooks/hooks.next.d.ts +1 -1
- package/dist/routing/hooks/hooks.vite.d.ts +1 -1
- package/dist/routing/hooks/index.d.ts +1 -1
- package/dist/routing/hooks/index.js +1 -1
- package/dist/routing/hooks/types.d.ts +1 -1
- package/dist/routing/hooks/useLocation.next.js +1 -1
- package/dist/routing/hooks/useLocation.vite.js +1 -1
- package/dist/routing/hooks/useNavigate.next.js +1 -1
- package/dist/routing/hooks/useNavigate.vite.js +1 -1
- package/dist/routing/hooks/useQueryParams.next.js +1 -1
- package/dist/routing/hooks/useQueryParams.vite.js +1 -1
- package/dist/routing/hooks/useRedirectGuard.next.js +1 -1
- package/dist/routing/hooks/useRedirectGuard.vite.js +1 -1
- package/dist/routing/hooks/useRouteParam.next.js +1 -1
- package/dist/routing/hooks/useRouteParam.vite.js +1 -1
- package/dist/routing/index.d.ts +1 -1
- package/dist/routing/index.js +1 -1
- package/dist/routing/useGoTo.js +1 -1
- package/dist/routing/useNavigation.d.ts +2 -2
- package/dist/routing/useNavigation.js +3 -3
- package/dist/routing/useRouteDiscovery.d.ts +7 -7
- package/dist/routing/useRouteDiscovery.js +6 -6
- package/dist/styles/index.css +227 -6
- package/dist/styles/index.d.ts +1 -1
- package/dist/styles/index.js +1 -1
- package/dist/styles/layoutConstants.d.ts +6 -6
- package/dist/styles/layoutConstants.js +5 -5
- package/dist/utils/assetResolver.d.ts +5 -5
- package/dist/utils/assetResolver.js +4 -4
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/sanitizeSvg.js +1 -1
- package/dist/utils/tList.js +1 -1
- package/dist/utils/useAuthSafe.js +1 -1
- package/dist/utils/useAuthVisibility.js +1 -1
- package/dist/utils/useBillingVisibility.js +1 -1
- package/dist/utils/useCrudSafe.js +1 -1
- package/dist/utils/useFormStoreSafe.js +1 -1
- package/dist/utils/useOAuthSafe.d.ts +1 -1
- package/dist/utils/useStripeBillingSafe.js +1 -1
- package/dist/vite-routing/AppRoutes.js +1 -1
- package/dist/vite-routing/RootLayout.d.ts +1 -1
- package/dist/vite-routing/RootLayout.js +5 -5
- package/dist/vite-routing/index.d.ts +1 -1
- package/dist/vite-routing/index.js +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +1 -1
- package/package.json +7 -7
|
@@ -3,48 +3,22 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
3
3
|
// packages/ui/src/internal/layout/components/AutoMetaTags.tsx
|
|
4
4
|
/**
|
|
5
5
|
* @fileoverview Automatic meta tags system integrated with DnDev framework
|
|
6
|
-
* @description Zero-config SEO with route-based meta generation
|
|
6
|
+
* @description Zero-config SEO/GEO with route-based meta generation.
|
|
7
|
+
* All features ON by default, opt-out per feature via appConfig.seo.{feature}: false.
|
|
7
8
|
*
|
|
8
|
-
*
|
|
9
|
-
* generation based on route metadata and translation files. It ensures optimal
|
|
10
|
-
* search engine optimization without requiring manual configuration for each page.
|
|
11
|
-
*
|
|
12
|
-
* **Key Features:**
|
|
9
|
+
* Features:
|
|
13
10
|
* - Zero-configuration SEO setup
|
|
14
|
-
* -
|
|
15
|
-
* -
|
|
11
|
+
* - Open Graph and Twitter Card support with image dimensions
|
|
12
|
+
* - hreflang alternate links (auto from i18n config)
|
|
13
|
+
* - Speculation Rules API (prefetch/prerender for Chromium)
|
|
14
|
+
* - BreadcrumbList + WebSite JSON-LD structured data
|
|
16
15
|
* - Internationalization integration
|
|
17
16
|
* - Canonical URL management
|
|
18
|
-
* - Structured data support
|
|
19
|
-
*
|
|
20
|
-
* **SEO Capabilities:**
|
|
21
|
-
* - Dynamic title and description generation
|
|
22
|
-
* - Social media sharing optimization
|
|
23
|
-
* - Search engine indexing control
|
|
24
|
-
* - Multi-language support
|
|
25
|
-
* - Image and video metadata
|
|
26
17
|
*
|
|
27
|
-
*
|
|
28
|
-
* - Uses Helmet for meta tag management
|
|
29
|
-
* - Integrates with i18n system for translations
|
|
30
|
-
* - Leverages platform location for routing
|
|
31
|
-
* - Supports both static and dynamic content
|
|
32
|
-
*
|
|
33
|
-
* @version 0.0.1
|
|
18
|
+
* @version 0.2.0
|
|
34
19
|
* @since 0.0.1
|
|
35
20
|
* @author AMBROISE PARK Consulting
|
|
36
|
-
*
|
|
37
|
-
* **Usage Pattern:**
|
|
38
|
-
* ```tsx
|
|
39
|
-
* <AutoMetaTags
|
|
40
|
-
* config={{
|
|
41
|
-
* siteName: "My App",
|
|
42
|
-
* defaultImage: "/og-image.jpg"
|
|
43
|
-
* }}
|
|
44
|
-
* />
|
|
45
|
-
* ```
|
|
46
21
|
*/
|
|
47
|
-
// packages/core/ui/src/components/layout/components/AutoMetaTags.tsx
|
|
48
22
|
import { useMemo } from 'react';
|
|
49
23
|
import { Helmet } from 'react-helmet-async';
|
|
50
24
|
import { useTranslation, useIsClient } from '@donotdev/core';
|
|
@@ -105,6 +79,113 @@ function getRouteMetadata(pathname, isClient) {
|
|
|
105
79
|
}
|
|
106
80
|
return {};
|
|
107
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* Build BreadcrumbList JSON-LD from URL path segments
|
|
84
|
+
*/
|
|
85
|
+
function buildBreadcrumbSchema(pathname, baseUrl, siteName) {
|
|
86
|
+
const segments = pathname.split('/').filter(Boolean);
|
|
87
|
+
const items = [
|
|
88
|
+
{
|
|
89
|
+
'@type': 'ListItem',
|
|
90
|
+
position: 1,
|
|
91
|
+
name: siteName,
|
|
92
|
+
item: baseUrl || '/',
|
|
93
|
+
},
|
|
94
|
+
];
|
|
95
|
+
let currentPath = '';
|
|
96
|
+
for (let i = 0; i < segments.length; i++) {
|
|
97
|
+
currentPath += `/${segments[i]}`;
|
|
98
|
+
items.push({
|
|
99
|
+
'@type': 'ListItem',
|
|
100
|
+
position: i + 2,
|
|
101
|
+
name: segments[i]
|
|
102
|
+
.split('-')
|
|
103
|
+
.map((w) => w.charAt(0).toUpperCase() + w.slice(1))
|
|
104
|
+
.join(' '),
|
|
105
|
+
item: `${baseUrl}${currentPath}`,
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
return {
|
|
109
|
+
'@context': 'https://schema.org',
|
|
110
|
+
'@type': 'BreadcrumbList',
|
|
111
|
+
itemListElement: items,
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Build WebSite JSON-LD with SearchAction (sitelinks search box)
|
|
116
|
+
*/
|
|
117
|
+
function buildWebSiteSchema(baseUrl, siteName) {
|
|
118
|
+
return {
|
|
119
|
+
'@context': 'https://schema.org',
|
|
120
|
+
'@type': 'WebSite',
|
|
121
|
+
name: siteName,
|
|
122
|
+
url: baseUrl || '/',
|
|
123
|
+
potentialAction: {
|
|
124
|
+
'@type': 'SearchAction',
|
|
125
|
+
target: {
|
|
126
|
+
'@type': 'EntryPoint',
|
|
127
|
+
urlTemplate: `${baseUrl}/search?q={search_term_string}`,
|
|
128
|
+
},
|
|
129
|
+
'query-input': 'required name=search_term_string',
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Build Organization JSON-LD from app metadata (links, description)
|
|
135
|
+
* Only emitted on homepage when links are configured
|
|
136
|
+
*/
|
|
137
|
+
function buildOrganizationSchema(baseUrl, siteName, description, links) {
|
|
138
|
+
const sameAs = links
|
|
139
|
+
? Object.values(links).filter((url) => !!url)
|
|
140
|
+
: [];
|
|
141
|
+
return {
|
|
142
|
+
'@context': 'https://schema.org',
|
|
143
|
+
'@type': 'Organization',
|
|
144
|
+
name: siteName,
|
|
145
|
+
url: baseUrl || '/',
|
|
146
|
+
...(description && { description }),
|
|
147
|
+
...(sameAs.length > 0 && { sameAs }),
|
|
148
|
+
logo: {
|
|
149
|
+
'@type': 'ImageObject',
|
|
150
|
+
url: `${baseUrl}/icon-512x512.png`,
|
|
151
|
+
},
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Build speculation rules for prefetch/prerender of public internal links
|
|
156
|
+
* Excludes auth-gated and API routes
|
|
157
|
+
*/
|
|
158
|
+
function buildSpeculationRules() {
|
|
159
|
+
return {
|
|
160
|
+
prerender: [
|
|
161
|
+
{
|
|
162
|
+
where: {
|
|
163
|
+
and: [
|
|
164
|
+
{ href_matches: '/*' },
|
|
165
|
+
{ not: { href_matches: '/api/*' } },
|
|
166
|
+
{ not: { href_matches: '/admin/*' } },
|
|
167
|
+
{ not: { href_matches: '/login*' } },
|
|
168
|
+
{ not: { href_matches: '/signin*' } },
|
|
169
|
+
{ not: { href_matches: '/signup*' } },
|
|
170
|
+
{ not: { href_matches: '/logout*' } },
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
eagerness: 'moderate',
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
prefetch: [
|
|
177
|
+
{
|
|
178
|
+
where: {
|
|
179
|
+
and: [
|
|
180
|
+
{ href_matches: '/*' },
|
|
181
|
+
{ not: { href_matches: '/api/*' } },
|
|
182
|
+
],
|
|
183
|
+
},
|
|
184
|
+
eagerness: 'conservative',
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
};
|
|
188
|
+
}
|
|
108
189
|
/**
|
|
109
190
|
* AutoMetaTags component
|
|
110
191
|
*
|
|
@@ -113,8 +194,10 @@ function getRouteMetadata(pathname, isClient) {
|
|
|
113
194
|
*
|
|
114
195
|
* Features:
|
|
115
196
|
* - Automatic route-based meta tag generation
|
|
116
|
-
* - i18n integration
|
|
117
|
-
* - Open Graph and Twitter Cards
|
|
197
|
+
* - i18n integration with hreflang
|
|
198
|
+
* - Open Graph and Twitter Cards with image dimensions
|
|
199
|
+
* - Speculation Rules API
|
|
200
|
+
* - BreadcrumbList + WebSite JSON-LD
|
|
118
201
|
* - 100% Lighthouse SEO compliance
|
|
119
202
|
*/
|
|
120
203
|
export const AutoMetaTags = () => {
|
|
@@ -122,10 +205,16 @@ export const AutoMetaTags = () => {
|
|
|
122
205
|
const location = useLocation();
|
|
123
206
|
const seoConfig = useSeoConfig();
|
|
124
207
|
const isClient = useIsClient();
|
|
125
|
-
const
|
|
208
|
+
const appMeta = useAppConfig('app');
|
|
209
|
+
const siteName = appMeta?.name || '';
|
|
126
210
|
const baseUrl = getPlatformEnvVar('APP_URL') || '';
|
|
127
211
|
// Get route metadata — computed from current pathname and client flag
|
|
128
212
|
const routeMeta = getRouteMetadata(location.pathname, isClient);
|
|
213
|
+
// Read i18n languages from build-time config (for hreflang)
|
|
214
|
+
const i18nConfig = useMemo(() => {
|
|
215
|
+
const config = getDndevConfig();
|
|
216
|
+
return config?.i18n;
|
|
217
|
+
}, []);
|
|
129
218
|
// Memoize computed values for performance — must be called before any early return
|
|
130
219
|
const metaData = useMemo(() => {
|
|
131
220
|
if (!seoConfig)
|
|
@@ -174,9 +263,20 @@ export const AutoMetaTags = () => {
|
|
|
174
263
|
if (!seoConfig || !metaData)
|
|
175
264
|
return null;
|
|
176
265
|
const { twitterHandle, staticTags = {} } = seoConfig;
|
|
266
|
+
// Feature flags — all default to true (ON by default)
|
|
267
|
+
const speculationRulesEnabled = seoConfig.speculationRules !== false;
|
|
268
|
+
const hreflangEnabled = seoConfig.hreflang !== false;
|
|
269
|
+
const breadcrumbSchemaEnabled = seoConfig.breadcrumbSchema !== false;
|
|
270
|
+
const websiteSchemaEnabled = seoConfig.websiteSchema !== false;
|
|
271
|
+
const organizationSchemaEnabled = seoConfig.organizationSchema !== false;
|
|
272
|
+
// hreflang: only emit when 2+ languages configured
|
|
273
|
+
const languages = i18nConfig?.languages || [];
|
|
274
|
+
const defaultLanguage = i18nConfig?.defaultLanguage || 'en';
|
|
275
|
+
const shouldEmitHreflang = hreflangEnabled && languages.length >= 2;
|
|
177
276
|
return (_jsxs(Helmet, { children: [_jsx("title", { children: metaData.title }), metaData.description && (_jsx("meta", { name: "description", content: metaData.description })), _jsx("link", { rel: "canonical", href: metaData.url }), metaData.keywords && (_jsx("meta", { name: "keywords", content: Array.isArray(metaData.keywords)
|
|
178
277
|
? metaData.keywords.join(', ')
|
|
179
|
-
: metaData.keywords })), metaData.author && _jsx("meta", { name: "author", content: metaData.author }), metaData.noindex && _jsx("meta", { name: "robots", content: "noindex, nofollow" }), _jsx("meta", { property: "og:title", content: metaData.title }), metaData.description && (_jsx("meta", { property: "og:description", content: metaData.description })), _jsx("meta", { property: "og:url", content: metaData.url }), _jsx("meta", { property: "og:type", content: metaData.type }), metaData.image && _jsx("meta", { property: "og:image", content: metaData.image }), _jsx("meta", { property: "og:site_name", content: siteName }), metaData.type === 'article' && (_jsxs(_Fragment, { children: [metaData.author && (_jsx("meta", { property: "article:author", content: metaData.author })), metaData.publishDate && (_jsx("meta", { property: "article:published_time", content: metaData.publishDate })), metaData.modifiedDate && (_jsx("meta", { property: "article:modified_time", content: metaData.modifiedDate }))] })), _jsx("meta", { name: "twitter:card", content: "summary_large_image" }), _jsx("meta", { name: "twitter:title", content: metaData.title }), metaData.description && (_jsx("meta", { name: "twitter:description", content: metaData.description })), metaData.image && _jsx("meta", { name: "twitter:image", content: metaData.image }), twitterHandle && (_jsx("meta", { name: "twitter:site", content: `@${twitterHandle}` })), metaData.author && (_jsx("meta", { name: "twitter:creator", content: metaData.author })), _jsx("meta", { name: "format-detection", content: "telephone=no" }), _jsx("meta", { name: "mobile-web-app-capable", content: "yes" }), _jsx("meta", { name: "apple-mobile-web-app-status-bar-style", content: "default" }), Object.entries(staticTags).map(([name, content]) => (_jsx("meta", { name: name, content: content }, name))),
|
|
278
|
+
: metaData.keywords })), metaData.author && _jsx("meta", { name: "author", content: metaData.author }), metaData.noindex && _jsx("meta", { name: "robots", content: "noindex, nofollow" }), _jsx("meta", { property: "og:title", content: metaData.title }), metaData.description && (_jsx("meta", { property: "og:description", content: metaData.description })), _jsx("meta", { property: "og:url", content: metaData.url }), _jsx("meta", { property: "og:type", content: metaData.type }), metaData.image && _jsx("meta", { property: "og:image", content: metaData.image }), metaData.image && (_jsx("meta", { property: "og:image:width", content: "1200" })), metaData.image && (_jsx("meta", { property: "og:image:height", content: "630" })), _jsx("meta", { property: "og:site_name", content: siteName }), metaData.type === 'article' && (_jsxs(_Fragment, { children: [metaData.author && (_jsx("meta", { property: "article:author", content: metaData.author })), metaData.publishDate && (_jsx("meta", { property: "article:published_time", content: metaData.publishDate })), metaData.modifiedDate && (_jsx("meta", { property: "article:modified_time", content: metaData.modifiedDate }))] })), _jsx("meta", { name: "twitter:card", content: "summary_large_image" }), _jsx("meta", { name: "twitter:title", content: metaData.title }), metaData.description && (_jsx("meta", { name: "twitter:description", content: metaData.description })), metaData.image && _jsx("meta", { name: "twitter:image", content: metaData.image }), twitterHandle && (_jsx("meta", { name: "twitter:site", content: `@${twitterHandle}` })), metaData.author && (_jsx("meta", { name: "twitter:creator", content: metaData.author })), _jsx("meta", { name: "format-detection", content: "telephone=no" }), _jsx("meta", { name: "mobile-web-app-capable", content: "yes" }), _jsx("meta", { name: "apple-mobile-web-app-status-bar-style", content: "default" }), Object.entries(staticTags).map(([name, content]) => (_jsx("meta", { name: name, content: content }, name))), shouldEmitHreflang &&
|
|
279
|
+
languages.map((lang) => (_jsx("link", { rel: "alternate", hrefLang: lang, href: `${baseUrl}${lang === defaultLanguage ? '' : `/${lang}`}${location.pathname}` }, `hreflang-${lang}`))), shouldEmitHreflang && (_jsx("link", { rel: "alternate", hrefLang: "x-default", href: `${baseUrl}${location.pathname}` })), baseUrl && (_jsx("link", { rel: "alternate", type: "application/rss+xml", title: `${siteName} Blog`, href: `${baseUrl}/rss.xml` })), metaData.image && metaData.image.startsWith('http') && (_jsx("link", { rel: "dns-prefetch", href: new URL(metaData.image).origin })), _jsx("script", { type: "application/ld+json", children: JSON.stringify({
|
|
180
280
|
'@context': 'https://schema.org',
|
|
181
281
|
'@type': metaData.type === 'article' ? 'Article' : 'WebPage',
|
|
182
282
|
name: metaData.title,
|
|
@@ -209,7 +309,11 @@ export const AutoMetaTags = () => {
|
|
|
209
309
|
: '/logo.svg',
|
|
210
310
|
},
|
|
211
311
|
},
|
|
212
|
-
}) })
|
|
312
|
+
}) }), breadcrumbSchemaEnabled && location.pathname !== '/' && (_jsx("script", { type: "application/ld+json", children: JSON.stringify(buildBreadcrumbSchema(location.pathname, baseUrl, siteName)) })), websiteSchemaEnabled && baseUrl && (_jsx("script", { type: "application/ld+json", children: JSON.stringify(buildWebSiteSchema(baseUrl, siteName)) })), organizationSchemaEnabled &&
|
|
313
|
+
baseUrl &&
|
|
314
|
+
location.pathname === '/' &&
|
|
315
|
+
appMeta?.links &&
|
|
316
|
+
Object.values(appMeta.links).some(Boolean) && (_jsx("script", { type: "application/ld+json", children: JSON.stringify(buildOrganizationSchema(baseUrl, siteName, appMeta.description, appMeta.links)) })), speculationRulesEnabled && (_jsx("script", { type: "speculationrules", children: JSON.stringify(buildSpeculationRules()) }))] }));
|
|
213
317
|
};
|
|
214
318
|
/**
|
|
215
319
|
* AutoMetaTags retrieves all configuration from AppConfigProvider.
|
|
@@ -13,7 +13,7 @@ import type { ComponentType } from 'react';
|
|
|
13
13
|
* - Apple touch icons
|
|
14
14
|
* - Prevents default favicon requests
|
|
15
15
|
*
|
|
16
|
-
* @version 0.0
|
|
16
|
+
* @version 0.1.0
|
|
17
17
|
* @since 0.0.1
|
|
18
18
|
* @author AMBROISE PARK Consulting
|
|
19
19
|
* @note This component must be rendered inside <head> via React head management
|
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
15
15
|
* - apple-touch-icons: These ARE placed in <head> via React head management
|
|
16
16
|
* - theme-color: Progressive enhancement - intentionally used for modern browsers
|
|
17
17
|
*
|
|
18
|
-
* @version 0.0
|
|
18
|
+
* @version 0.1.0
|
|
19
19
|
* @since 0.0.1
|
|
20
20
|
* @author AMBROISE PARK Consulting
|
|
21
21
|
*/
|
|
@@ -36,7 +36,7 @@ import { AssetResolver } from '../../../utils/assetResolver';
|
|
|
36
36
|
* - Apple touch icons
|
|
37
37
|
* - Prevents default favicon requests
|
|
38
38
|
*
|
|
39
|
-
* @version 0.0
|
|
39
|
+
* @version 0.1.0
|
|
40
40
|
* @since 0.0.1
|
|
41
41
|
* @author AMBROISE PARK Consulting
|
|
42
42
|
* @note This component must be rendered inside <head> via React head management
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @fileoverview FontPreloadLinks - Server-only component for Next.js
|
|
3
3
|
* @description Reads public/dndev-font-preloads.json (written at build by FontPreloadWebpackPlugin) and renders preload link tags for Lighthouse-friendly LCP. Include in root layout so initial HTML contains the links.
|
|
4
4
|
*
|
|
5
|
-
* @version 0.0
|
|
5
|
+
* @version 0.1.0
|
|
6
6
|
* @since 0.0.1
|
|
7
7
|
* @author AMBROISE PARK Consulting
|
|
8
8
|
*/
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
4
4
|
* @fileoverview FontPreloadLinks - Server-only component for Next.js
|
|
5
5
|
* @description Reads public/dndev-font-preloads.json (written at build by FontPreloadWebpackPlugin) and renders preload link tags for Lighthouse-friendly LCP. Include in root layout so initial HTML contains the links.
|
|
6
6
|
*
|
|
7
|
-
* @version 0.0
|
|
7
|
+
* @version 0.1.0
|
|
8
8
|
* @since 0.0.1
|
|
9
9
|
* @author AMBROISE PARK Consulting
|
|
10
10
|
*/
|
|
@@ -9,7 +9,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
9
9
|
* via generateMetadata() functions in page files for optimal SEO. This component
|
|
10
10
|
* only works client-side and meta tags won't be in initial HTML for search engines.
|
|
11
11
|
*
|
|
12
|
-
* @version 0.0
|
|
12
|
+
* @version 0.1.0
|
|
13
13
|
* @since 0.0.1
|
|
14
14
|
* @author AMBROISE PARK Consulting
|
|
15
15
|
*/
|
|
@@ -77,7 +77,7 @@ function getRouteMetadata(pathname, isClient) {
|
|
|
77
77
|
*
|
|
78
78
|
* Uses Next.js hooks directly instead of platform-aware hooks
|
|
79
79
|
*
|
|
80
|
-
* @version 0.0
|
|
80
|
+
* @version 0.1.0
|
|
81
81
|
* @since 0.0.1
|
|
82
82
|
* @author AMBROISE PARK Consulting
|
|
83
83
|
*/
|
|
@@ -11,7 +11,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
11
11
|
* - Handles service worker rejection gracefully
|
|
12
12
|
* - Uses toast system instead of Card component
|
|
13
13
|
*
|
|
14
|
-
* @version 0.0
|
|
14
|
+
* @version 0.1.0
|
|
15
15
|
* @since 0.0.1
|
|
16
16
|
* @author AMBROISE PARK Consulting
|
|
17
17
|
*/
|
|
@@ -28,7 +28,7 @@ import { isClient, useTranslation } from '@donotdev/core';
|
|
|
28
28
|
* - Component returns null (toast handles UI)
|
|
29
29
|
* - CSR/SSR safe with proper guards
|
|
30
30
|
*
|
|
31
|
-
* @version 0.0
|
|
31
|
+
* @version 0.1.0
|
|
32
32
|
* @since 0.0.1
|
|
33
33
|
* @author AMBROISE PARK Consulting
|
|
34
34
|
*/
|
|
@@ -9,7 +9,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
9
9
|
* the page will need, saving 100-300ms per origin on slow networks.
|
|
10
10
|
* - Font preload initiates font downloads early, reducing LCP by ~500-1000ms
|
|
11
11
|
*
|
|
12
|
-
* @version 0.0
|
|
12
|
+
* @version 0.1.0
|
|
13
13
|
* @since 0.0.1
|
|
14
14
|
* @author AMBROISE PARK Consulting
|
|
15
15
|
*/
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* @fileoverview FooterBranding Component
|
|
5
5
|
* @description "Links to DoNotDev.com in the footers of generated apps.
|
|
6
6
|
*
|
|
7
|
-
* @version 0.0
|
|
7
|
+
* @version 0.1.0
|
|
8
8
|
* @since 0.0.1
|
|
9
9
|
* @author AMBROISE PARK Consulting
|
|
10
10
|
*/
|
|
@@ -16,7 +16,7 @@ import { useAppConfig, getPlatformEnvVar } from '@donotdev/core';
|
|
|
16
16
|
* Shows AMBROISE-PARK for framework's own site (donotdev.com),
|
|
17
17
|
* otherwise shows DoNotDev for consumer apps.
|
|
18
18
|
*
|
|
19
|
-
* @version 0.0
|
|
19
|
+
* @version 0.1.0
|
|
20
20
|
* @since 0.0.1
|
|
21
21
|
* @author AMBROISE PARK Consulting
|
|
22
22
|
*/
|
|
@@ -12,7 +12,7 @@ export interface FooterCopyrightProps {
|
|
|
12
12
|
* Uses useTranslation internally, so it re-renders when language changes.
|
|
13
13
|
* If appName not provided, reads from app config automatically.
|
|
14
14
|
*
|
|
15
|
-
* @version 0.0
|
|
15
|
+
* @version 0.1.0
|
|
16
16
|
* @since 0.0.1
|
|
17
17
|
* @author AMBROISE PARK Consulting
|
|
18
18
|
*/
|
|
@@ -4,7 +4,7 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* @fileoverview FooterCopyright Component
|
|
5
5
|
* @description Copyright notice with year and app name, uses translations
|
|
6
6
|
*
|
|
7
|
-
* @version 0.0
|
|
7
|
+
* @version 0.1.0
|
|
8
8
|
* @since 0.0.1
|
|
9
9
|
* @author AMBROISE PARK Consulting
|
|
10
10
|
*/
|
|
@@ -16,7 +16,7 @@ import { useTranslation, useAppConfig } from '@donotdev/core';
|
|
|
16
16
|
* Uses useTranslation internally, so it re-renders when language changes.
|
|
17
17
|
* If appName not provided, reads from app config automatically.
|
|
18
18
|
*
|
|
19
|
-
* @version 0.0
|
|
19
|
+
* @version 0.1.0
|
|
20
20
|
* @since 0.0.1
|
|
21
21
|
* @author AMBROISE PARK Consulting
|
|
22
22
|
*/
|
|
@@ -16,7 +16,7 @@ export interface FooterLegalLinksProps {
|
|
|
16
16
|
* If app not provided, reads from app config automatically.
|
|
17
17
|
* Used in footer and sidebar when footer zone is hidden.
|
|
18
18
|
*
|
|
19
|
-
* @version 0.0
|
|
19
|
+
* @version 0.1.0
|
|
20
20
|
* @since 0.0.1
|
|
21
21
|
* @author AMBROISE PARK Consulting
|
|
22
22
|
*/
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* @fileoverview FooterLegalLinks Component
|
|
5
5
|
* @description Legal links component for use in sidebars when footer is hidden
|
|
6
6
|
*
|
|
7
|
-
* @version 0.0
|
|
7
|
+
* @version 0.1.0
|
|
8
8
|
* @since 0.0.1
|
|
9
9
|
* @author AMBROISE PARK Consulting
|
|
10
10
|
*/
|
|
@@ -20,7 +20,7 @@ import { Link } from '../../../../routing/Link';
|
|
|
20
20
|
* If app not provided, reads from app config automatically.
|
|
21
21
|
* Used in footer and sidebar when footer zone is hidden.
|
|
22
22
|
*
|
|
23
|
-
* @version 0.0
|
|
23
|
+
* @version 0.1.0
|
|
24
24
|
* @since 0.0.1
|
|
25
25
|
* @author AMBROISE PARK Consulting
|
|
26
26
|
*/
|
|
@@ -6,7 +6,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
6
6
|
* All slots are functions that return ReactNode (never null in defaults).
|
|
7
7
|
* Zones use these unless preset overrides.
|
|
8
8
|
*
|
|
9
|
-
* @version 0.0
|
|
9
|
+
* @version 0.1.0
|
|
10
10
|
* @since 0.0.1
|
|
11
11
|
* @author AMBROISE PARK Consulting
|
|
12
12
|
*/
|
|
@@ -5,7 +5,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
5
5
|
* @description Documentation layout with sidebar and footer (no header).
|
|
6
6
|
* Maximizes vertical reading space.
|
|
7
7
|
*
|
|
8
|
-
* @version 0.0
|
|
8
|
+
* @version 0.1.0
|
|
9
9
|
* @since 0.0.1
|
|
10
10
|
* @author AMBROISE PARK Consulting
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
5
5
|
* @description Mobile gaming layout with centered title.
|
|
6
6
|
* Optimized for full-screen gaming experiences.
|
|
7
7
|
*
|
|
8
|
-
* @version 0.0
|
|
8
|
+
* @version 0.1.0
|
|
9
9
|
* @since 0.0.1
|
|
10
10
|
* @author AMBROISE PARK Consulting
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
5
5
|
* @description Marketing site layout with header and footer.
|
|
6
6
|
* Optimized for landing pages and public content.
|
|
7
7
|
*
|
|
8
|
-
* @version 0.0
|
|
8
|
+
* @version 0.1.0
|
|
9
9
|
* @since 0.0.1
|
|
10
10
|
* @author AMBROISE PARK Consulting
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
5
5
|
* @description SaaS app layout with sidebar only (no header/footer zones).
|
|
6
6
|
* All UI in sidebar for focused productivity.
|
|
7
7
|
*
|
|
8
|
-
* @version 0.0
|
|
8
|
+
* @version 0.1.0
|
|
9
9
|
* @since 0.0.1
|
|
10
10
|
* @author AMBROISE PARK Consulting
|
|
11
11
|
*/
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @description No UI chrome - full viewport for content.
|
|
4
4
|
* Perfect for embedded widgets, full-screen apps, modal overlays.
|
|
5
5
|
*
|
|
6
|
-
* @version 0.0
|
|
6
|
+
* @version 0.1.0
|
|
7
7
|
* @since 0.0.1
|
|
8
8
|
* @author AMBROISE PARK Consulting
|
|
9
9
|
*/
|
|
10
10
|
import type { PresetConfig } from '@donotdev/core';
|
|
11
11
|
/**
|
|
12
|
-
* Plain preset -
|
|
12
|
+
* Plain preset - no UI chrome, full viewport for content.
|
|
13
13
|
*
|
|
14
14
|
* Use cases:
|
|
15
15
|
* - Embedded widgets and iframes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plain.d.ts","sourceRoot":"","sources":["../../../../../src/internal/layout/config/presets/plain.tsx"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"plain.d.ts","sourceRoot":"","sources":["../../../../../src/internal/layout/config/presets/plain.tsx"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,EAAE,YAazB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// packages/ui/src/internal/layout/config/presets/plain.tsx
|
|
2
2
|
/**
|
|
3
|
-
* Plain preset -
|
|
3
|
+
* Plain preset - no UI chrome, full viewport for content.
|
|
4
4
|
*
|
|
5
5
|
* Use cases:
|
|
6
6
|
* - Embedded widgets and iframes
|
|
@@ -11,4 +11,15 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export const plainPreset = {
|
|
13
13
|
name: 'plain',
|
|
14
|
+
header: {
|
|
15
|
+
start: () => null,
|
|
16
|
+
center: () => null,
|
|
17
|
+
end: () => null,
|
|
18
|
+
},
|
|
19
|
+
sidebar: {
|
|
20
|
+
top: () => null,
|
|
21
|
+
content: () => null,
|
|
22
|
+
bottom: () => null,
|
|
23
|
+
},
|
|
24
|
+
footer: null,
|
|
14
25
|
};
|
|
@@ -8,7 +8,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
* - Desktop: 2-zone [Copyright] | [Links + Branding]
|
|
9
9
|
* - Mobile: 2-line stacked, centered
|
|
10
10
|
*
|
|
11
|
-
* @version 0.0
|
|
11
|
+
* @version 0.1.0
|
|
12
12
|
* @since 0.0.1
|
|
13
13
|
* @author AMBROISE PARK Consulting
|
|
14
14
|
*/
|