@deneb-ui/create-template 2.0.2 → 2.0.3

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": "@deneb-ui/create-template",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Scaffold a modern, pre-validated DENEB UI storefront template in seconds. Created by Chamika Gayashan & Induranga Kawishwara.",
5
5
  "bin": {
6
6
  "create-deneb-template": "bin/index.js",
@@ -132,7 +132,7 @@ export default function HomePage() {
132
132
  <div className="p-6 bg-white rounded-2xl border border-slate-200 shadow-sm">
133
133
  <h4 data-preview-static="dev-card-title" className="font-bold text-slate-900 mb-2">1. Live Field Markers</h4>
134
134
  <p data-preview-static="dev-card-desc" className="text-sm text-slate-500 leading-relaxed">
135
- Every editable string connects to <code data-preview-static="dev-code">site-data.json</code> via <code data-preview-static="dev-code">data-preview-field-path=&quot;home.title&quot;</code>. Clicking in Fivora highlights the field in the sidebar.
135
+ Every editable string connects to <code data-preview-static="dev-code">site-data.json</code> via <code data-preview-static="dev-code">fieldPath=&quot;home.title&quot;</code>. Clicking in Fivora highlights the field in the sidebar.
136
136
  </p>
137
137
  </div>
138
138
  <div className="p-6 bg-white rounded-2xl border border-slate-200 shadow-sm">
@@ -3,7 +3,7 @@
3
3
  import type { ReactNode } from 'react';
4
4
  import { usePathname } from 'next/navigation';
5
5
  import { useSiteData } from '@/lib/siteDataContext';
6
- import { Navbar, Footer, getThemeCssProperties } from '@deneb-ui/ui';
6
+ import { Navbar, Footer, AnnouncementBar, FloatingContactWidget, getThemeCssProperties } from '@deneb-ui/ui';
7
7
 
8
8
  export default function SiteChrome({ children }: { children: ReactNode }) {
9
9
  const siteData = useSiteData();
@@ -14,9 +14,11 @@ export default function SiteChrome({ children }: { children: ReactNode }) {
14
14
 
15
15
  return (
16
16
  <div className="site-shell" style={themeStyle}>
17
+ <AnnouncementBar />
17
18
  <Navbar activeRoute={pathname} />
18
19
  <main>{children}</main>
19
20
  <Footer />
21
+ <FloatingContactWidget />
20
22
  </div>
21
23
  );
22
24
  }