feat: content engine usw
This commit is contained in:
@@ -13,6 +13,8 @@ import {
|
||||
Footer,
|
||||
FoldingMarks,
|
||||
DocumentTitle,
|
||||
COLORS,
|
||||
FONT_SIZES,
|
||||
} from "./pdf/SharedUI.js";
|
||||
import { SimpleLayout } from "./pdf/SimpleLayout.js";
|
||||
|
||||
@@ -29,23 +31,23 @@ const localStyles = PDFStyleSheet.create({
|
||||
marginBottom: 6,
|
||||
},
|
||||
monoNumber: {
|
||||
fontSize: 7,
|
||||
fontSize: FONT_SIZES.TINY,
|
||||
fontWeight: "bold",
|
||||
color: "#94a3b8",
|
||||
color: COLORS.TEXT_LIGHT,
|
||||
letterSpacing: 2,
|
||||
width: 25,
|
||||
},
|
||||
sectionTitle: {
|
||||
fontSize: 9,
|
||||
fontSize: FONT_SIZES.LABEL,
|
||||
fontWeight: "bold",
|
||||
color: "#000000",
|
||||
color: COLORS.CHARCOAL,
|
||||
textTransform: "uppercase",
|
||||
letterSpacing: 0.5,
|
||||
},
|
||||
officialText: {
|
||||
fontSize: 8,
|
||||
fontSize: FONT_SIZES.BODY,
|
||||
lineHeight: 1.5,
|
||||
color: "#334155",
|
||||
color: COLORS.TEXT_MAIN,
|
||||
textAlign: "justify",
|
||||
paddingLeft: 25,
|
||||
},
|
||||
@@ -100,7 +102,7 @@ export const AgbsPDF = ({
|
||||
};
|
||||
|
||||
const content = (
|
||||
<>
|
||||
<PDFView>
|
||||
<DocumentTitle
|
||||
title="Allgemeine Geschäftsbedingungen"
|
||||
subLines={[`Stand: ${date}`]}
|
||||
@@ -142,7 +144,7 @@ export const AgbsPDF = ({
|
||||
|
||||
<AGBSection index="05" title="Abnahme">
|
||||
Die Leistung gilt als abgenommen, wenn der Auftraggeber sie produktiv
|
||||
nutzt oder innerhalb von 7 Tagen nach Bereitstellung keine
|
||||
nutzt oder innerhalb von 30 Tagen nach Bereitstellung keine
|
||||
wesentlichen Mängel angezeigt werden. Optische Abweichungen,
|
||||
Geschmacksfragen oder subjektive Einschätzungen stellen keine Mängel
|
||||
dar.
|
||||
@@ -206,7 +208,7 @@ export const AgbsPDF = ({
|
||||
bleibt die Wirksamkeit der übrigen Regelungen unberührt.
|
||||
</AGBSection>
|
||||
</PDFView>
|
||||
</>
|
||||
</PDFView>
|
||||
);
|
||||
|
||||
if (mode === "full") {
|
||||
@@ -214,9 +216,8 @@ export const AgbsPDF = ({
|
||||
<SimpleLayout
|
||||
companyData={companyData}
|
||||
bankData={bankData}
|
||||
headerIcon={headerIcon}
|
||||
footerLogo={footerLogo}
|
||||
icon={headerIcon}
|
||||
pageNumber="10"
|
||||
showPageNumber={false}
|
||||
>
|
||||
{content}
|
||||
@@ -232,7 +233,7 @@ export const AgbsPDF = ({
|
||||
<Footer
|
||||
logo={footerLogo}
|
||||
companyData={companyData}
|
||||
bankData={bankData}
|
||||
_bankData={bankData}
|
||||
showDetails={false}
|
||||
showPageNumber={false}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user