@dreamtree-org/landing-kit 0.7.0 โ 0.7.2
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/README.md +71 -2
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -2,6 +2,54 @@
|
|
|
2
2
|
|
|
3
3
|
The shared marketing landing pages **and** authentication frame (`<AuthShell>`, `brands`, `getBrand`) for every Dreamtree product: replaces the landing setup copied across billpro, taskpro and venturepro (page chrome, sections, "Book a demo" dialog, SEO files, Express routes and prerender) and the login/signup/reset/platform-admin frame in one package.
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/@dreamtree-org/landing-kit)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
[](https://www.dreamtreeglobal.com)
|
|
8
|
+
|
|
9
|
+
## About the Company
|
|
10
|
+
|
|
11
|
+
Landing Kit is built and maintained under **[Dreamtree-Org](https://www.dreamtreeglobal.com)** โ a team crafting thoughtful, developer-first software for the modern web. We believe great products start with a great foundation, and that's exactly what this kit aims to be: a polished, open, and dependable landing and auth frame for teams everywhere.
|
|
12
|
+
|
|
13
|
+
๐ **Website:** [www.dreamtreeglobal.com](https://www.dreamtreeglobal.com)
|
|
14
|
+
|
|
15
|
+
## Author & Maintainer
|
|
16
|
+
|
|
17
|
+
**Partha Preetham Krishna** โ [Dreamtree-Org](https://www.dreamtreeglobal.com)
|
|
18
|
+
๐ง [preetham.krishna.dev@gmail.com](mailto:preetham.krishna.dev@gmail.com)
|
|
19
|
+
|
|
20
|
+
Have an idea, a bug, or just want to say hi? Reach out anytime โ feedback from developers like you is what keeps this kit growing.
|
|
21
|
+
|
|
22
|
+
## ๐ Sponsor & Support
|
|
23
|
+
|
|
24
|
+
Landing Kit is **free and open source**, built in the open and powered entirely by passion and late nights. Every feature you rely on โ every responsive section, prerendered page, and auth screen โ represents hours of careful craft so that _your_ product can launch a fast, crawlable landing page in minutes.
|
|
25
|
+
|
|
26
|
+
If this kit has saved you time, sparked an idea, or spared you another hand-built marketing page, please consider supporting its continued development. **Your sponsorship keeps the updates coming, the bugs squashed, and the docs sharp โ for the whole community.** Even the smallest contribution is a huge encouragement. ๐
|
|
27
|
+
|
|
28
|
+
### โ Make a one-tap donation via UPI
|
|
29
|
+
|
|
30
|
+
**๐ท Scan the QR with any UPI app** (Google Pay, PhonePe, Paytm, BHIM, โฆ) to pay instantly:
|
|
31
|
+
|
|
32
|
+
<p>
|
|
33
|
+
<img src="https://unpkg.com/@dreamtree-org/twreact-ui@latest/doc/assets/upi-qr.png" alt="Scan to pay Dreamtree-Org via UPI" width="220" height="220" />
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
> **UPI ID:** `dhrugantha.llp@kotak` โข **Payee:** Dreamtree-Org
|
|
37
|
+
>
|
|
38
|
+
> ๐ฑ On mobile, you can also tap the button below โ it opens your UPI app directly. On desktop, scan the QR above or copy the UPI ID into your payment app.
|
|
39
|
+
|
|
40
|
+
[](upi://pay?pa=dhrugantha.llp@kotak&pn=Dreamtree-Org&cu=INR&tn=Support%20Landing%20Kit)
|
|
41
|
+
|
|
42
|
+
### ๐ค Become a Sponsor
|
|
43
|
+
|
|
44
|
+
Want to back the project long-term or as a company? You can sponsor the package directly:
|
|
45
|
+
|
|
46
|
+
- ๐ฆ **npm:** [`@dreamtree-org/landing-kit`](https://www.npmjs.com/package/@dreamtree-org/landing-kit) โ star, share, and sponsor the package
|
|
47
|
+
- โ๏ธ **Corporate sponsorships & partnerships:** [preetham.krishna.dev@gmail.com](mailto:preetham.krishna.dev@gmail.com)
|
|
48
|
+
|
|
49
|
+
Every star โญ, share, and contribution helps more than you know. Thank you for being part of the journey!
|
|
50
|
+
|
|
51
|
+
## Features
|
|
52
|
+
|
|
5
53
|
- Two facades, both taking the product's brand from **its own repo** (`dreamtree.brand.json`, twreact-ui's brand format) through `toLandingBrand()`:
|
|
6
54
|
- `<LandingPage brand={brand} content={content} />` โ a product's landing page is a content file.
|
|
7
55
|
- `<AuthShell brand={brand} title="Welcome back">โฆ</AuthShell>` (also available at `@dreamtree-org/landing-kit/auth` + `@dreamtree-org/landing-kit/auth.css`).
|
|
@@ -10,12 +58,14 @@ The shared marketing landing pages **and** authentication frame (`<AuthShell>`,
|
|
|
10
58
|
- Built for prerendered, **un-hydrated** pages (fast and crawlable): `enhanceLanding()` wires the menu and the demo button in a few hundred bytes. It also works hydrated in an SPA or Next.js (`'use client'`, `onBookDemo`, `linkComponent`).
|
|
11
59
|
- Responsive from 320px up. The nav folds into a menu below 1024px. Checked with Playwright at 320/375/768/1024/1440, light and dark.
|
|
12
60
|
|
|
13
|
-
##
|
|
61
|
+
## Installation
|
|
14
62
|
|
|
15
63
|
```bash
|
|
16
64
|
npm install @dreamtree-org/landing-kit
|
|
17
65
|
```
|
|
18
66
|
|
|
67
|
+
## Quick Start
|
|
68
|
+
|
|
19
69
|
```jsx
|
|
20
70
|
// Landing.jsx
|
|
21
71
|
import { LandingPage, toLandingBrand } from '@dreamtree-org/landing-kit';
|
|
@@ -339,6 +389,25 @@ and in `app/robots.ts` / `app/sitemap.ts` use `buildRobots` / `buildSitemap` wit
|
|
|
339
389
|
- No Vite/Next build plugin. You keep your own landing.html, SSR entry and build; the package fills and writes the files.
|
|
340
390
|
- No icon library. Pass lucide (or any) components.
|
|
341
391
|
|
|
392
|
+
## Contributing
|
|
393
|
+
|
|
394
|
+
1. Fork the repository
|
|
395
|
+
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
|
|
396
|
+
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
|
|
397
|
+
4. Push to the branch (`git push origin feature/amazing-feature`)
|
|
398
|
+
5. Open a Pull Request
|
|
399
|
+
|
|
342
400
|
## License
|
|
343
401
|
|
|
344
|
-
MIT
|
|
402
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
403
|
+
|
|
404
|
+
## Support
|
|
405
|
+
|
|
406
|
+
- ๐ [Issue Tracker](https://github.com/dreamtree-org/dreamtree-org.landing-kit/issues)
|
|
407
|
+
- ๐ฆ [npm package](https://www.npmjs.com/package/@dreamtree-org/landing-kit)
|
|
408
|
+
- ๐ [Dreamtree-Org](https://www.dreamtreeglobal.com)
|
|
409
|
+
- ๐ง [preetham.krishna.dev@gmail.com](mailto:preetham.krishna.dev@gmail.com)
|
|
410
|
+
|
|
411
|
+
---
|
|
412
|
+
|
|
413
|
+
**Made with โค๏ธ by [Partha Preetham Krishna](https://www.linkedin.com/in/partha-preetham-krishna-68ba00197/)** under [Dreamtree-Org](https://www.dreamtreeglobal.com) ยท [www.dreamtreeglobal.com](https://www.dreamtreeglobal.com)
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dreamtree-org/landing-kit",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "The shared marketing site and auth frame (AuthShell + brands) for every Dreamtree product: content-driven landing pages, login/signup shell, Express routes, prerender and SEO files.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Partha Preetham Krishna",
|
|
7
|
+
"email": "preetham.krishna.dev@gmail.com",
|
|
8
|
+
"url": "https://www.dreamtreeglobal.com"
|
|
9
|
+
},
|
|
5
10
|
"type": "module",
|
|
6
11
|
"license": "MIT",
|
|
7
12
|
"repository": {
|
|
@@ -75,7 +80,6 @@
|
|
|
75
80
|
"scripts": {
|
|
76
81
|
"build": "node build.mjs",
|
|
77
82
|
"test": "node build.mjs && node --test test/*.test.mjs",
|
|
78
|
-
"prepublishOnly": "npm test",
|
|
79
83
|
"test:viewports": "node build.mjs && node test/viewports.mjs",
|
|
80
84
|
"test:tenant-viewports": "node build.mjs && node test/tenant-viewports.mjs"
|
|
81
85
|
},
|