fmard/pdf-api
0
1<!DOCTYPE html>2<html lang="en">3<head>4 <meta charset="UTF-8">5 <title>{{ title | default("Press Release") }}</title>6 <style>7 * { margin: 0; padding: 0; box-sizing: border-box; }8 body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; padding: 40px; font-size: 14px; line-height: 1.6; color: #1a1a2e; }9 .letterhead { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #4f46e5; padding-bottom: 20px; margin-bottom: 30px; }10 .letterhead .logo-box { width: 60px; height: 60px; background: #4f46e5; color: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: bold; }11 .letterhead .company-info { text-align: right; font-size: 12px; color: #666; }12 .letterhead .company-info strong { color: #333; display: block; font-size: 14px; }13 .release-type { text-align: center; font-size: 12px; font-weight: bold; color: #4f46e5; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }14 .embargo { text-align: center; font-size: 12px; color: #666; margin-bottom: 25px; }15 .headline { text-align: center; margin-bottom: 25px; }16 .headline h1 { font-size: 26px; color: #1a1a2e; margin-bottom: 10px; line-height: 1.3; }17 .headline .subheadline { font-size: 16px; color: #4f46e5; font-style: italic; }18 .dateline { font-weight: bold; color: #333; margin-bottom: 15px; }19 .body-text { margin-bottom: 20px; }20 .body-text p { margin-bottom: 15px; color: #333; }21 .quote-block { background: #f8f9ff; border-left: 4px solid #4f46e5; padding: 20px; margin: 20px 0; border-radius: 0 8px 8px 0; }22 .quote-block p { font-style: italic; color: #444; margin-bottom: 8px; }23 .quote-block .attribution { font-style: normal; font-size: 13px; color: #4f46e5; font-weight: bold; }24 .about-section { background: #f9fafb; padding: 20px; border-radius: 8px; margin-top: 25px; margin-bottom: 25px; }25 .about-section h3 { font-size: 14px; color: #4f46e5; margin-bottom: 8px; }26 .about-section p { font-size: 13px; color: #555; }27 .contact-info { border-top: 2px solid #4f46e5; padding-top: 20px; margin-top: 25px; }28 .contact-info h3 { font-size: 14px; color: #4f46e5; margin-bottom: 10px; }29 .contact-info p { font-size: 13px; color: #555; margin-bottom: 4px; }30 .end-mark { text-align: center; margin-top: 30px; font-size: 16px; font-weight: bold; color: #999; }31 </style>32</head>33<body>34 <div class="letterhead">35 <div class="logo-box">[Logo]</div>36 <div class="company-info">37 <strong>{{ company_name | default("Acme Corporation") }}</strong>38 {{ address | default("123 Business Ave, New York, NY 10001") }}<br>39 {{ website | default("www.acmecorp.com") }}40 </div>41 </div>42 43 <div class="release-type">{{ release_type | default("For Immediate Release") }}</div>44 <div class="embargo">{{ date | default("January 15, 2024") }}</div>45 46 <div class="headline">47 <h1>{{ title | default("Acme Corporation Announces Revolutionary Cloud Platform to Transform Enterprise Operations") }}</h1>48 <div class="subheadline">{{ subtitle | default("New platform delivers 3x faster performance and 40% cost reduction for enterprise clients") }}</div>49 </div>50 51 <div class="dateline">52 <strong>{{ city | default("NEW YORK") }}</strong> — {{ date | default("January 15, 2024") }} —53 </div>54 55 <div class="body-text">56 <p>{{ paragraph_1 | default("Acme Corporation, a leading provider of enterprise cloud solutions, today announced the launch of its next-generation platform, AcmeCloud Pro, designed to revolutionize how businesses manage their digital infrastructure. The new platform delivers unprecedented performance improvements and significant cost savings for organizations of all sizes.") }}</p>57 58 <p>{{ paragraph_2 | default("AcmeCloud Pro represents two years of intensive research and development, incorporating feedback from over 500 enterprise clients. The platform features an AI-powered optimization engine, real-time analytics dashboard, and seamless integration with existing enterprise systems including SAP, Salesforce, and Microsoft 365.") }}</p>59 </div>60 61 <div class="quote-block">62 <p>"{{ quote | default("This launch represents a paradigm shift in enterprise cloud computing. Our clients have been asking for a solution that combines performance, simplicity, and cost-effectiveness, and AcmeCloud Pro delivers on all three fronts. We're incredibly proud of what our team has built.") }}"</p>63 <div class="attribution">— {{ quote_author | default("John Smith, CEO, Acme Corporation") }}</div>64 </div>65 66 <div class="body-text">67 <p>{{ paragraph_3 | default("Key features of AcmeCloud Pro include automated scaling, predictive maintenance, zero-downtime deployments, and enterprise-grade security with SOC 2 Type II and ISO 27001 compliance. Early adopters have reported an average of 40% reduction in infrastructure costs and 3x improvement in application performance.") }}</p>68 69 <p>{{ paragraph_4 | default("The platform is available immediately for existing customers with a phased rollout to new clients beginning February 2024. Pricing starts at $999/month for small teams, with custom enterprise plans available for larger organizations.") }}</p>70 </div>71 72 {% if quote_2 | default(true) %}73 <div class="quote-block">74 <p>"{{ quote_2_text | default("After migrating to AcmeCloud Pro during the beta period, we saw immediate improvements in our deployment velocity and a 45% reduction in our monthly cloud spend. It's been a game-changer for our engineering team.") }}"</p>75 <div class="attribution">— {{ quote_2_author | default("Emily Davis, CTO, TechStart Inc.") }}</div>76 </div>77 {% endif %}78 79 <div class="body-text">80 <p>{{ paragraph_5 | default("For more information about AcmeCloud Pro, visit www.acmecorp.com/cloud-pro or contact our sales team for a personalized demonstration.") }}</p>81 </div>82 83 <div class="about-section">84 <h3>About {{ company_name | default("Acme Corporation") }}</h3>85 <p>{{ about | default("Acme Corporation is a leading enterprise technology company founded in 2009. With over 10,000 customers across 45 countries, Acme provides cloud-based solutions that help businesses streamline operations, improve productivity, and accelerate growth. The company is headquartered in New York City with offices in London, Singapore, and Sydney. For more information, visit www.acmecorp.com.") }}</p>86 </div>87 88 <div class="contact-info">89 <h3>Media Contact</h3>90 <p><strong>{{ contact_name | default("Sarah Miller") }}</strong></p>91 <p>{{ contact_title | default("Head of Public Relations") }}</p>92 <p>{{ contact_email | default("press@acmecorp.com") }}</p>93 <p>{{ contact_phone | default("+1 (555) 123-4568") }}</p>94 </div>95 96 <div class="end-mark">###</div>97</body>98</html>99 