@pylonsync/create-pylon 0.3.372 → 0.3.374

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.
Files changed (111) hide show
  1. package/package.json +1 -1
  2. package/templates/_root/AGENTS.md +4 -2
  3. package/templates/agency/AGENTS.md +4 -2
  4. package/templates/agency/app/(marketing)/layout.tsx +136 -0
  5. package/templates/{creator/app → agency/app/(marketing)}/not-found.tsx +6 -2
  6. package/templates/agency/app/error.tsx +6 -3
  7. package/templates/agency/app/layout.tsx +8 -134
  8. package/templates/agency/app/login/page.tsx +3 -2
  9. package/templates/ai-chat/AGENTS.md +23 -2
  10. package/templates/ai-chat/app/(chat)/layout.tsx +46 -0
  11. package/templates/ai-chat/app/{not-found.tsx → (chat)/not-found.tsx} +5 -2
  12. package/templates/ai-chat/app/error.tsx +6 -3
  13. package/templates/ai-chat/app/layout.tsx +6 -39
  14. package/templates/ai-chat/app/login/page.tsx +2 -1
  15. package/templates/ai-studio/AGENTS.md +23 -2
  16. package/templates/ai-studio/app/(studio)/layout.tsx +46 -0
  17. package/templates/{agency/app → ai-studio/app/(studio)}/not-found.tsx +5 -2
  18. package/templates/ai-studio/app/error.tsx +6 -3
  19. package/templates/ai-studio/app/layout.tsx +6 -39
  20. package/templates/ai-studio/app/login/page.tsx +2 -1
  21. package/templates/barebones/AGENTS.md +4 -2
  22. package/templates/chat/AGENTS.md +23 -2
  23. package/templates/consumer/AGENTS.md +4 -2
  24. package/templates/creator/AGENTS.md +4 -2
  25. package/templates/creator/app/(marketing)/layout.tsx +122 -0
  26. package/templates/{ai-studio/app → creator/app/(marketing)}/not-found.tsx +6 -2
  27. package/templates/creator/app/error.tsx +6 -3
  28. package/templates/creator/app/layout.tsx +8 -120
  29. package/templates/creator/app/login/page.tsx +3 -2
  30. package/templates/crm/AGENTS.md +4 -2
  31. package/templates/directory/AGENTS.md +4 -2
  32. package/templates/directory/app/(marketing)/layout.tsx +133 -0
  33. package/templates/directory/app/(marketing)/not-found.tsx +23 -0
  34. package/templates/directory/app/error.tsx +6 -3
  35. package/templates/directory/app/layout.tsx +8 -131
  36. package/templates/directory/app/login/page.tsx +3 -2
  37. package/templates/helpdesk/AGENTS.md +4 -2
  38. package/templates/inventory/AGENTS.md +4 -2
  39. package/templates/invoices/AGENTS.md +4 -2
  40. package/templates/local-service/AGENTS.md +4 -2
  41. package/templates/local-service/app/(marketing)/layout.tsx +119 -0
  42. package/templates/local-service/app/(marketing)/not-found.tsx +23 -0
  43. package/templates/local-service/app/{page.tsx → (marketing)/page.tsx} +2 -2
  44. package/templates/local-service/app/error.tsx +3 -1
  45. package/templates/local-service/app/layout.tsx +8 -116
  46. package/templates/local-service/app/login/page.tsx +3 -2
  47. package/templates/local-service/components/marketing.tsx +1 -1
  48. package/templates/marketplace/AGENTS.md +4 -2
  49. package/templates/projects/AGENTS.md +4 -2
  50. package/templates/restaurant/AGENTS.md +4 -2
  51. package/templates/restaurant/app/(marketing)/layout.tsx +119 -0
  52. package/templates/restaurant/app/(marketing)/not-found.tsx +23 -0
  53. package/templates/restaurant/app/{page.tsx → (marketing)/page.tsx} +2 -2
  54. package/templates/restaurant/app/error.tsx +3 -1
  55. package/templates/restaurant/app/layout.tsx +8 -116
  56. package/templates/restaurant/app/login/page.tsx +3 -2
  57. package/templates/restaurant/components/marketing.tsx +1 -1
  58. package/templates/saas/AGENTS.md +4 -2
  59. package/templates/saas/app/(marketing)/layout.tsx +411 -0
  60. package/templates/saas/app/{not-found.tsx → (marketing)/not-found.tsx} +9 -5
  61. package/templates/saas/app/dashboard/page.tsx +3 -2
  62. package/templates/saas/app/error.tsx +7 -5
  63. package/templates/saas/app/layout.tsx +8 -408
  64. package/templates/saas/app/login/page.tsx +2 -1
  65. package/templates/saas/components/dashboard-shell.tsx +2 -2
  66. package/templates/shop/AGENTS.md +4 -2
  67. package/templates/shop/app/(marketing)/layout.tsx +122 -0
  68. package/templates/shop/app/(marketing)/not-found.tsx +23 -0
  69. package/templates/shop/app/{page.tsx → (marketing)/page.tsx} +1 -1
  70. package/templates/shop/app/error.tsx +3 -1
  71. package/templates/shop/app/layout.tsx +8 -120
  72. package/templates/shop/app/login/page.tsx +3 -2
  73. package/templates/todo/AGENTS.md +4 -2
  74. package/templates/waitlist/AGENTS.md +4 -2
  75. package/templates/waitlist/app/(marketing)/layout.tsx +122 -0
  76. package/templates/waitlist/app/(marketing)/not-found.tsx +23 -0
  77. package/templates/waitlist/app/{page.tsx → (marketing)/page.tsx} +1 -1
  78. package/templates/waitlist/app/error.tsx +3 -1
  79. package/templates/waitlist/app/layout.tsx +8 -120
  80. package/templates/waitlist/app/login/page.tsx +3 -2
  81. package/templates/directory/app/not-found.tsx +0 -19
  82. package/templates/local-service/app/not-found.tsx +0 -19
  83. package/templates/restaurant/app/not-found.tsx +0 -19
  84. package/templates/shop/app/not-found.tsx +0 -19
  85. package/templates/waitlist/app/not-found.tsx +0 -19
  86. /package/templates/agency/app/{contact-form.tsx → (marketing)/contact-form.tsx} +0 -0
  87. /package/templates/agency/app/{page.tsx → (marketing)/page.tsx} +0 -0
  88. /package/templates/agency/app/{seeder.tsx → (marketing)/seeder.tsx} +0 -0
  89. /package/templates/agency/app/{work → (marketing)/work}/[slug]/page.tsx +0 -0
  90. /package/templates/agency/app/{work → (marketing)/work}/page.tsx +0 -0
  91. /package/templates/ai-chat/app/{chat-client.tsx → (chat)/chat-client.tsx} +0 -0
  92. /package/templates/ai-chat/app/{page.tsx → (chat)/page.tsx} +0 -0
  93. /package/templates/ai-studio/app/{page.tsx → (studio)/page.tsx} +0 -0
  94. /package/templates/ai-studio/app/{studio-client.tsx → (studio)/studio-client.tsx} +0 -0
  95. /package/templates/creator/app/{newsletter-signup.tsx → (marketing)/newsletter-signup.tsx} +0 -0
  96. /package/templates/creator/app/{page.tsx → (marketing)/page.tsx} +0 -0
  97. /package/templates/directory/app/{directory-browse.tsx → (marketing)/directory-browse.tsx} +0 -0
  98. /package/templates/directory/app/{page.tsx → (marketing)/page.tsx} +0 -0
  99. /package/templates/directory/app/{submit → (marketing)/submit}/page.tsx +0 -0
  100. /package/templates/directory/app/{submit-form.tsx → (marketing)/submit-form.tsx} +0 -0
  101. /package/templates/local-service/app/{booking-widget.tsx → (marketing)/booking-widget.tsx} +0 -0
  102. /package/templates/restaurant/app/{reservation-widget.tsx → (marketing)/reservation-widget.tsx} +0 -0
  103. /package/templates/saas/app/{company → (marketing)/company}/[slug]/page.tsx +0 -0
  104. /package/templates/saas/app/{compare → (marketing)/compare}/[slug]/page.tsx +0 -0
  105. /package/templates/saas/app/{page.tsx → (marketing)/page.tsx} +0 -0
  106. /package/templates/saas/app/{products → (marketing)/products}/[slug]/page.tsx +0 -0
  107. /package/templates/saas/app/{resources → (marketing)/resources}/[slug]/page.tsx +0 -0
  108. /package/templates/saas/app/{solutions → (marketing)/solutions}/[slug]/page.tsx +0 -0
  109. /package/templates/shop/app/{shop-client.tsx → (marketing)/shop-client.tsx} +0 -0
  110. /package/templates/shop/app/{success → (marketing)/success}/page.tsx +0 -0
  111. /package/templates/waitlist/app/{waitlist-hero.tsx → (marketing)/waitlist-hero.tsx} +0 -0
@@ -1,19 +0,0 @@
1
- import React from "react";
2
- import { Link, type NotFoundProps } from "@pylonsync/react";
3
-
4
- // `app/not-found.tsx` → rendered at HTTP 404 for any unmatched URL (and when a
5
- // page calls `response.notFound()`). Hydrated, so the link is a client nav.
6
- export default function NotFound(_props: NotFoundProps) {
7
- return (
8
- <div className="mx-auto flex min-h-[60vh] max-w-3xl flex-col items-center justify-center px-6 text-center">
9
- <h1 className="text-3xl font-semibold tracking-tight">404</h1>
10
- <p className="mt-2 text-zinc-500">We couldn&apos;t find that page.</p>
11
- <Link
12
- href="/"
13
- className="mt-6 inline-flex h-10 items-center rounded-full bg-zinc-900 px-5 text-sm font-medium text-white transition-colors hover:bg-zinc-700"
14
- >
15
- Back home
16
- </Link>
17
- </div>
18
- );
19
- }