@lukoweb/apitogo-module-landing 0.1.80 → 0.1.81

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": "@lukoweb/apitogo-module-landing",
3
- "version": "0.1.80",
3
+ "version": "0.1.81",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.tsx"
@@ -14,7 +14,7 @@
14
14
  "devDependencies": {
15
15
  "@types/react": "19.2.14",
16
16
  "@types/react-dom": "19.2.3",
17
- "@lukoweb/apitogo": "0.1.80",
17
+ "@lukoweb/apitogo": "0.1.81",
18
18
  "react": "19.2.4",
19
19
  "react-dom": "19.2.4",
20
20
  "typescript": "5.9.3"
@@ -14,7 +14,7 @@ export type DefaultLandingPageProps = {
14
14
  export const DefaultLandingPage = ({ content }: DefaultLandingPageProps) => {
15
15
  const { options } = useZudoku();
16
16
  const siteTitle =
17
- options.metadata?.applicationName ?? options.site?.title ?? "APIToGo";
17
+ options.metadata?.applicationName ?? options.site?.title ?? "API ToGo";
18
18
 
19
19
  const hero = content.hero ?? { title: siteTitle };
20
20
  const title = hero.title ?? siteTitle;
@@ -6,7 +6,7 @@ import "./landing.css";
6
6
 
7
7
  /**
8
8
  * Detects a composed `FooterSection` in the element tree so the
9
- * "Built with APIToGo" line can be replaced by the real footer.
9
+ * "Built with API ToGo" line can be replaced by the real footer.
10
10
  */
11
11
  const containsFooterSection = (node: ReactNode): boolean =>
12
12
  Children.toArray(node).some((child) => {
@@ -29,7 +29,7 @@ export type LandingShellProps = {
29
29
  /** Meta description for `<Head>`. */
30
30
  description?: string;
31
31
  /**
32
- * Show the "Built with APIToGo" line. Defaults to true.
32
+ * Show the "Built with API ToGo" line. Defaults to true.
33
33
  * Automatically hidden when a `FooterSection` is composed as a child or
34
34
  * a footer slot is configured (e.g. `modules.landing.content.footer`).
35
35
  */
@@ -44,7 +44,7 @@ export const LandingShell = ({
44
44
  }: LandingShellProps) => {
45
45
  const { options } = useZudoku();
46
46
  const siteTitle =
47
- options.metadata?.applicationName ?? options.site?.title ?? "APIToGo";
47
+ options.metadata?.applicationName ?? options.site?.title ?? "API ToGo";
48
48
  const pageTitle = title ?? siteTitle;
49
49
  const hasFooter =
50
50
  containsFooterSection(children) || Boolean(options.slots?.footer);
@@ -65,7 +65,7 @@ export const LandingShell = ({
65
65
  !options.site?.footer && "mb-8",
66
66
  )}
67
67
  >
68
- Built with APIToGo
68
+ Built with API ToGo
69
69
  </div>
70
70
  ) : null}
71
71
  </div>
@@ -69,7 +69,7 @@ const FooterSocialLink = ({
69
69
  export const FooterSection = ({ footer }: FooterSectionProps) => {
70
70
  const { options } = useZudoku();
71
71
  const siteTitle =
72
- options.metadata?.applicationName ?? options.site?.title ?? "APIToGo";
72
+ options.metadata?.applicationName ?? options.site?.title ?? "API ToGo";
73
73
 
74
74
  const brandName = footer.brand?.name ?? siteTitle;
75
75
  const tagline = footer.brand?.tagline;