Refactor Briefing page for printability

This commit is contained in:
gpt-engineer-app[bot]
2025-10-26 09:50:31 +00:00
parent 43e7dd2387
commit 259765592e

View File

@ -4,116 +4,129 @@ import { StatCard } from "@/components/StatCard";
const Briefing = () => {
return (
<div className="min-h-screen bg-background">
<div className="min-h-screen bg-background print:bg-white">
<style>{`
@media print {
@page {
size: A4;
margin: 1.5cm;
}
body {
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}
.no-print {
display: none !important;
}
.print-compact {
padding: 0.5rem !important;
margin-bottom: 1rem !important;
}
h1 {
font-size: 2.5rem !important;
margin-bottom: 0.5rem !important;
}
h2 {
font-size: 1.5rem !important;
margin-bottom: 0.75rem !important;
}
h3 {
font-size: 1.125rem !important;
}
section {
page-break-inside: avoid;
padding: 0.75rem 0 !important;
}
.stat-grid {
margin: 1rem 0 !important;
}
}
`}</style>
{/* Header */}
<section className="py-12 px-6">
<section className="py-8 px-6 print:py-4 print-compact">
<div className="max-w-4xl mx-auto text-center">
<h1 className="text-6xl md:text-7xl font-black text-primary mb-6 leading-tight">
<h1 className="text-5xl md:text-6xl font-black text-primary mb-4 leading-tight print:text-4xl">
Save Victoria Way Carpark
</h1>
<p className="text-2xl md:text-3xl text-foreground font-semibold mb-4">
<p className="text-xl md:text-2xl text-foreground font-semibold mb-2 print:text-lg">
Dear Enterprise Place Residents
</p>
<p className="text-lg text-muted-foreground">
<p className="text-base text-muted-foreground print:text-sm">
Join your neighbors in calling for parking solutions
</p>
</div>
</section>
{/* Impact Stats */}
<section className="py-12 px-6 bg-muted">
<section className="py-8 px-6 bg-muted print:bg-white print-compact stat-grid">
<div className="max-w-6xl mx-auto">
<div className="grid grid-cols-1 md:grid-cols-4 gap-6">
<div className="grid grid-cols-2 md:grid-cols-4 gap-4 print:gap-3">
<StatCard icon={Home} number="120+" label="Affected Households" />
<StatCard icon={Users} number="300+" label="Residents Impacted" />
<StatCard icon={Car} number="0" label="Parking Spaces Provided" />
<StatCard icon={AlertTriangle} number="0" label="Council Updates Since Closure" />
<StatCard icon={AlertTriangle} number="0" label="Council Updates" />
</div>
</div>
</section>
{/* The Situation */}
<section className="py-12 px-6">
<section className="py-8 px-6 print-compact">
<div className="max-w-4xl mx-auto">
<div className="bg-secondary/10 border-l-4 border-secondary p-6 rounded-r-lg mb-6">
<h3 className="text-xl font-semibold text-primary mb-2">Your Carpark Was Closed</h3>
<p className="text-foreground">
Victoria Way Carpark was closed due to safety concerns. We support the council's decision to prioritize public safety, but Enterprise Place residents deserve parking solutions.
</p>
</div>
<div className="bg-card p-6 rounded-lg shadow-[var(--shadow-card)] border border-border mb-6">
<h3 className="text-xl font-semibold text-primary mb-4">What Enterprise Place Needs:</h3>
<ul className="space-y-3 text-foreground">
<div className="bg-card p-4 rounded-lg border-l-4 border-primary mb-4 print:shadow-none">
<h3 className="text-lg font-semibold text-primary mb-2">What We Need:</h3>
<ul className="space-y-2 text-foreground text-sm">
<li className="flex items-start">
<span className="text-accent font-bold mr-3">1.</span>
<span><strong>Regular Updates:</strong> No information has been provided on safety surveys, remediation progress, or future plans</span>
<span className="text-accent font-bold mr-2"></span>
<span><strong>Regular updates</strong> on safety surveys and remediation progress</span>
</li>
<li className="flex items-start">
<span className="text-accent font-bold mr-3">2.</span>
<span><strong>Parking Solutions:</strong> You need adequate parking for your vehicles—especially for night workers, families with children, and residents with disabilities</span>
<span className="text-accent font-bold mr-2"></span>
<span><strong>Parking solutions</strong> for night workers, families, and residents with disabilities</span>
</li>
<li className="flex items-start">
<span className="text-accent font-bold mr-3">3.</span>
<span><strong>Recognition of Impact:</strong> Walking through town late at night isn't safe, and carrying shopping long distances isn't practical</span>
<span className="text-accent font-bold mr-2"></span>
<span><strong>Recognition</strong> that walking through town late at night isn't safe</span>
</li>
</ul>
</div>
</div>
</section>
{/* Proposed Solutions */}
<section className="py-12 px-6 bg-muted">
{/* Solutions */}
<section className="py-8 px-6 bg-muted print:bg-white print-compact">
<div className="max-w-4xl mx-auto">
<h2 className="text-3xl font-bold text-primary mb-6">Solutions for You</h2>
<div className="bg-accent/10 border-l-4 border-accent p-6 rounded-r-lg mb-6">
<h3 className="text-xl font-semibold text-primary mb-2">The Answer Is Right Beneath Your Feet</h3>
<p className="text-foreground">
The DoubleTree Hilton hotel has an underground car park that runs directly beneath Enterprise Place—beneath YOUR building.
Why don't you have access to parking that sits directly under your homes?
<div className="bg-accent/10 border-l-4 border-accent p-4 rounded-r-lg mb-4 print:shadow-none">
<h3 className="text-lg font-semibold text-primary mb-2">The Answer Is Beneath Your Building</h3>
<p className="text-foreground text-sm">
The DoubleTree Hilton has an underground car park running directly beneath Enterprise Place. Why don't you have access to parking under your own homes?
</p>
</div>
<div className="bg-card p-6 rounded-lg shadow-[var(--shadow-card)] border border-border mb-6">
<h3 className="text-lg font-semibold text-primary mb-3">Short-Term Options:</h3>
<div className="bg-card p-4 rounded-lg border border-border print:shadow-none">
<h3 className="text-base font-semibold text-primary mb-3">Long-Term Solutions:</h3>
<ul className="space-y-2 text-foreground text-sm">
<li className="flex items-start">
<span className="text-accent mr-2"></span>
<span>Temporary parking permits for Enterprise Place residents</span>
<span className="text-accent font-bold mr-2">1.</span>
<span>Access to DoubleTree Hilton underground car park</span>
</li>
<li className="flex items-start">
<span className="text-accent mr-2"></span>
<span>Negotiate with nearby facilities (Dukes Court, Asahi Building)</span>
</li>
<li className="flex items-start">
<span className="text-accent mr-2"></span>
<span>Convert unused sites to temporary parking</span>
</li>
<li className="flex items-start">
<span className="text-accent mr-2"></span>
<span>Discounted rates at town centre carparks</span>
</li>
</ul>
</div>
<div className="bg-card p-6 rounded-lg shadow-[var(--shadow-card)] border border-border">
<h3 className="text-lg font-semibold text-primary mb-3">Long-Term Solutions:</h3>
<ul className="space-y-2 text-foreground text-sm">
<li className="flex items-start">
<span className="text-accent mr-2">1.</span>
<span>Provide access to DoubleTree Hilton underground car park</span>
</li>
<li className="flex items-start">
<span className="text-accent mr-2">2.</span>
<span className="text-accent font-bold mr-2">2.</span>
<span>Repair and reopen Victoria Way Carpark</span>
</li>
<li className="flex items-start">
<span className="text-accent mr-2">3.</span>
<span className="text-accent font-bold mr-2">3.</span>
<span>Build new multi-storey parking facility</span>
</li>
<li className="flex items-start">
<span className="text-accent mr-2">4.</span>
<span className="text-accent font-bold mr-2">4.</span>
<span>Dedicated resident parking zones</span>
</li>
</ul>
@ -122,26 +135,26 @@ const Briefing = () => {
</section>
{/* Call to Action */}
<section className="py-12 px-6">
<section className="py-8 px-6 print-compact">
<div className="max-w-4xl mx-auto text-center">
<div className="bg-primary/10 border-2 border-primary p-8 rounded-lg">
<h2 className="text-4xl font-bold text-primary mb-4">Make Your Voice Heard</h2>
<p className="text-lg text-foreground mb-6">
Join your fellow Enterprise Place residents and hundreds of others in demanding parking solutions.
<div className="bg-primary/10 border-2 border-primary p-4 rounded-lg print:shadow-none">
<h2 className="text-2xl font-bold text-primary mb-3">Make Your Voice Heard</h2>
<p className="text-base text-foreground mb-4">
Join your fellow Enterprise Place residents in demanding parking solutions.
</p>
<div className="bg-card p-4 rounded-lg inline-block">
<p className="text-sm text-muted-foreground mb-1">Sign the petition and learn more:</p>
<p className="text-2xl font-bold text-primary">savevictoriawaycarpark.com</p>
<div className="bg-card p-3 rounded-lg inline-block print:shadow-none">
<p className="text-xs text-muted-foreground mb-1">Sign the petition:</p>
<p className="text-xl font-bold text-primary">savevictoriawaycarpark.com</p>
</div>
</div>
</div>
</section>
{/* Footer */}
<footer className="py-8 px-6 bg-muted border-t border-border">
<footer className="py-4 px-6 bg-muted border-t border-border print:bg-white print-compact">
<div className="max-w-4xl mx-auto text-center">
<p className="text-sm text-muted-foreground">
For more information visit <strong className="text-foreground">savevictoriawaycarpark.com</strong>
<p className="text-xs text-muted-foreground">
More info: <strong className="text-foreground">savevictoriawaycarpark.com</strong>
</p>
</div>
</footer>