VitePress-based landing page and documentation for Dtapline.
# Install dependencies
pnpm install
# Start dev server
pnpm dev
# Build for production
pnpm build
# Preview production build
pnpm previewThis site is deployed to Netlify and served at dtapline.com.
- Build command:
pnpm build - Publish directory:
.vitepress/dist - Node version: 20
No environment variables required for the landing page.
- Landing page:
dtapline.com - App:
app.dtapline.com
To enable Google Analytics:
- Get your GA tracking ID from analytics.google.com
- Edit
.vitepress/config.ts - Uncomment the Google Analytics script tags
- Replace
YOUR_GA_IDwith your actual GA ID (e.g.,G-XXXXXXXXXX)
Netlify Analytics is enabled by default in the Netlify dashboard. No configuration needed.
The pricing section includes email capture forms for Pro and Enterprise waitlist.
Current implementation shows a JavaScript alert. To integrate with an email service:
- Choose a service (Mailchimp, ConvertKit, EmailOctopus, etc.)
- Edit
index.mdand update thecaptureEmailfunction - Add API endpoint or service integration
Example with a backend API:
function captureEmail(tier) {
const emailInput = document.getElementById(`${tier}-email`);
const email = emailInput?.value;
fetch('https://app.dtapline.com/api/waitlist', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ email, tier })
})
.then(() => {
alert(`Thanks! We'll notify you at ${email}`);
emailInput.value = '';
})
.catch(err => alert('Error: ' + err.message));
}landing/
├── .vitepress/
│ ├── config.ts # VitePress configuration
│ ├── theme/
│ │ ├── index.ts # Theme customization
│ │ └── custom.css # Dtapline-aligned styles
│ └── dist/ # Build output (generated)
├── docs/
│ ├── cli-integration.md # CLI reference
│ └── ci-cd-examples.md # CI/CD platform examples
├── public/
│ ├── logo.svg # Dtapline logo
│ └── showcase.png # Dashboard screenshot
├── index.md # Home page
├── netlify.toml # Netlify configuration
├── package.json # Dependencies
└── README.md # This file
Edit index.md to update:
- Hero section
- Features
- Pricing
- Call-to-action sections
Edit files in docs/ directory.
Edit .vitepress/config.ts:
nav()function for top navigationsidebarDocs()function for docs sidebar
Edit .vitepress/theme/custom.css for visual customizations.
Throughout the site, https://github.com/dtapline/dtapline is used as a placeholder.
Before making the repo public, do a global find-and-replace:
- Find:
dtapline/dtapline - Replace:
actual-org/dtapline
Files to update:
.vitepress/config.tsindex.md- All docs in
docs/directory
AGPL-3.0 - Same as the main Dtapline project.