diff --git a/package.json b/package.json
index 742e05e..9498c67 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
"test:file-examples": "tsx ./scripts/test-file-examples-comprehensive.ts",
"clone-website": "tsx ./scripts/clone-recursive.ts",
"clone-page": "tsx ./scripts/clone-page.ts",
- "generate-quote": "tsx ./scripts/generate-quote.ts",
+ "generate-estimate": "tsx ./scripts/generate-estimate.ts",
"ai-estimate": "tsx ./scripts/ai-estimate.ts",
"video:preview": "remotion preview video/index.ts",
"video:render": "remotion render video/index.ts ButtonShowcase out/button-showcase.mp4",
diff --git a/scripts/ai-estimate.ts b/scripts/ai-estimate.ts
index 95661e6..922efc0 100644
--- a/scripts/ai-estimate.ts
+++ b/scripts/ai-estimate.ts
@@ -145,7 +145,7 @@ async function main() {
console.log('📄 Generating PDF estimation...');
try {
const genArgs = isEstimation ? '--estimation' : '';
- execSync(`npx tsx ./scripts/generate-quote.ts --input ${tempJsonPath} ${genArgs}`, { stdio: 'inherit' });
+ execSync(`npx tsx ./scripts/generate-estimate.ts --input ${tempJsonPath} ${genArgs}`, { stdio: 'inherit' });
} finally {
// await fs.unlink(tempJsonPath);
}
diff --git a/scripts/generate-quote.ts b/scripts/generate-estimate.ts
similarity index 100%
rename from scripts/generate-quote.ts
rename to scripts/generate-estimate.ts
diff --git a/src/components/pdf/SharedUI.tsx b/src/components/pdf/SharedUI.tsx
index 006443f..a82de9c 100644
--- a/src/components/pdf/SharedUI.tsx
+++ b/src/components/pdf/SharedUI.tsx
@@ -199,7 +199,7 @@ export const pdfStyles = StyleSheet.create({
industrialBulletBox: {
width: 6,
height: 6,
- backgroundColor: COLORS.CHARCOAL,
+ backgroundColor: COLORS.DIVIDER,
marginRight: 8,
marginTop: 5,
},
@@ -296,7 +296,7 @@ export const Footer = ({ logo, companyData, bankData, showDetails = true, showPa
);
export const Header = ({ sender, recipient, icon, showAddress = true }: { sender?: string; recipient?: { title: string; subtitle?: string; email?: string; address?: string; phone?: string; taxId?: string }; icon?: string; showAddress?: boolean; }) => (
- {showAddress && sender && (<>{sender}{recipient && ({recipient.title}{recipient.subtitle && {recipient.subtitle}}{recipient.address && {recipient.address}}{recipient.phone && {recipient.phone}}{recipient.email && {recipient.email}}{recipient.taxId && USt-ID: {recipient.taxId}})}>)}{icon ? () : (M)}
+ {showAddress && sender && (<>{sender}{recipient && ({recipient.title}{recipient.subtitle && {recipient.subtitle}}{recipient.address && {recipient.address}}{recipient.phone && {recipient.phone}}{recipient.email && {recipient.email}}{recipient.taxId && USt-ID: {recipient.taxId}})}>)}{icon ? () : (M)}
);
export const DocumentTitle = ({ title, subLines }: { title: string; subLines?: string[] }) => (
diff --git a/src/components/pdf/SimpleLayout.tsx b/src/components/pdf/SimpleLayout.tsx
index d507de2..096c4ef 100644
--- a/src/components/pdf/SimpleLayout.tsx
+++ b/src/components/pdf/SimpleLayout.tsx
@@ -6,7 +6,8 @@ import { Header, Footer, pdfStyles, BlueprintBackground } from './SharedUI';
const simpleStyles = StyleSheet.create({
industrialPage: {
- padding: 40,
+ padding: 30,
+ paddingTop: 20,
backgroundColor: '#ffffff',
},
industrialNumber: {
@@ -19,8 +20,8 @@ const simpleStyles = StyleSheet.create({
zIndex: -1,
},
industrialSection: {
- marginTop: 32,
- paddingTop: 24,
+ marginTop: 16,
+ paddingTop: 12,
flexDirection: 'row',
position: 'relative',
},
diff --git a/src/components/pdf/modules/BrandingModules.tsx b/src/components/pdf/modules/BrandingModules.tsx
index 74d4737..50a4b4d 100644
--- a/src/components/pdf/modules/BrandingModules.tsx
+++ b/src/components/pdf/modules/BrandingModules.tsx
@@ -14,7 +14,7 @@ const styles = StyleSheet.create({
industrialBulletBox: {
width: 6,
height: 6,
- backgroundColor: COLORS.CHARCOAL,
+ backgroundColor: COLORS.DIVIDER,
marginRight: 8,
marginTop: 5,
},
diff --git a/src/components/pdf/modules/CommonModules.tsx b/src/components/pdf/modules/CommonModules.tsx
index 4f6b96e..f7399ad 100644
--- a/src/components/pdf/modules/CommonModules.tsx
+++ b/src/components/pdf/modules/CommonModules.tsx
@@ -72,7 +72,7 @@ export const TransparenzModule = ({ pricing }: any) => (
6. Integrationen
Ich binde Drittsysteme wie CRM, ERP oder Stripe an. Ich richte CMS-Schnittstellen zur unabhängigen Inhaltsverwaltung ein.
- ab {pricing.API_INTEGRATION?.toLocaleString('de-DE')} € / Stück
+ ab {pricing.API_INTEGRATION?.toLocaleString('de-DE')} € / Stk
7. Betrieb (12 Monate)
diff --git a/src/components/pdf/modules/SitemapModule.tsx b/src/components/pdf/modules/SitemapModule.tsx
index ef768a1..d1555ba 100644
--- a/src/components/pdf/modules/SitemapModule.tsx
+++ b/src/components/pdf/modules/SitemapModule.tsx
@@ -10,12 +10,12 @@ const styles = StyleSheet.create({
sitemapTree: { marginTop: 8 },
rootNode: {
padding: 12,
- backgroundColor: COLORS.CHARCOAL,
+ backgroundColor: COLORS.GRID,
marginBottom: 20,
- borderLeftWidth: 3,
- borderLeftColor: COLORS.TEXT_LIGHT
+ borderLeftWidth: 2,
+ borderLeftColor: COLORS.CHARCOAL
},
- rootTitle: { fontSize: FONT_SIZES.H3, fontWeight: 'bold', color: COLORS.WHITE, letterSpacing: 0.5 },
+ rootTitle: { fontSize: FONT_SIZES.H3, fontWeight: 'bold', color: COLORS.CHARCOAL, letterSpacing: 0.5 },
categorySection: { marginBottom: 20 },
categoryHeader: {
flexDirection: 'row',
@@ -25,7 +25,7 @@ const styles = StyleSheet.create({
borderBottomColor: COLORS.BLUEPRINT,
marginBottom: 10
},
- categoryIcon: { width: 8, height: 8, backgroundColor: COLORS.CHARCOAL, marginRight: 10 },
+ categoryIcon: { width: 8, height: 8, backgroundColor: COLORS.GRID, borderInlineWidth: 1, borderColor: COLORS.DIVIDER, marginRight: 10 },
categoryTitle: { fontSize: FONT_SIZES.BODY, fontWeight: 'bold', color: COLORS.CHARCOAL, textTransform: 'uppercase', letterSpacing: 1 },
pagesGrid: { flexDirection: 'row', flexWrap: 'wrap' },
pageCard: {
@@ -51,7 +51,7 @@ export const SitemapModule = ({ state }: any) => (
- {state.websiteTopic || 'Digitales Ökosystem'}
+ Seitenstruktur
{state.sitemap?.map((cat: any, i: number) => (