import { PageHeader } from '../components/shared'
import { Icons } from '../components/shared/Icons'
import { Button } from '../components/ui'
export default function DataPage() {
const handleExport = () => {
window.location.href = '/api/studio/export'
}
return (
{/* Panel container - full-bleed borders */}
{/* Import */}
Import
Import posts from other platforms
Upload files
Supports Markdown files or JSON exports
{/* Export */}
Export
Download all your blog data
Export all your posts, settings, and assets as a ZIP file. This includes:
- All posts as Markdown files
- Settings as JSON
- Uploaded images and assets
{/* Danger Zone */}
Danger Zone
Irreversible actions
Delete All Content
Permanently delete all posts and assets. This cannot be undone.
)
}