- Create Economist SubmissionTracking package correctly: * mainArticle = full blog post content * coverLetter = 216-word SIR— letter * Links to blog post via blogPostId - Archive 'Letter to The Economist' from blog posts (it's the cover letter) - Fix date display on article cards (use published_at) - Target publication already displaying via blue badge Database changes: - Make blogPostId optional in SubmissionTracking model - Economist package ID: 68fa85ae49d4900e7f2ecd83 - Le Monde package ID: 68fa2abd2e6acd5691932150 Next: Enhanced modal with tabs, validation, export 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
51 lines
1.6 KiB
JavaScript
51 lines
1.6 KiB
JavaScript
/**
|
|
* Coming Soon Overlay
|
|
* Displays over Koha pages until Stripe is configured
|
|
*/
|
|
|
|
(function() {
|
|
'use strict';
|
|
|
|
// Check if we should show the overlay
|
|
const shouldShowOverlay = () => {
|
|
// Only show on Koha pages
|
|
const isKohaPage = window.location.pathname.includes('/koha');
|
|
return isKohaPage;
|
|
};
|
|
|
|
// Create and inject overlay
|
|
if (shouldShowOverlay()) {
|
|
const overlayHTML = `
|
|
<div id="coming-soon-overlay" class="coming-soon-overlay">
|
|
<div class="coming-soon-card">
|
|
<h1 class="coming-soon-title">
|
|
Koha Donation System
|
|
</h1>
|
|
<p class="coming-soon-subtitle">
|
|
Coming Soon
|
|
</p>
|
|
<div class="coming-soon-info-box">
|
|
<p class="coming-soon-info-title">
|
|
<strong>What is Koha?</strong>
|
|
</p>
|
|
<p class="coming-soon-info-text">
|
|
Koha (Māori for "gift") is our upcoming donation system to support the Tractatus Framework.
|
|
We're currently finalizing payment processing integration and will launch soon.
|
|
</p>
|
|
</div>
|
|
<p class="coming-soon-status">
|
|
Infrastructure deployed and ready. Payment processing activation in progress.
|
|
</p>
|
|
<a href="/" class="coming-soon-button">
|
|
Return to Homepage
|
|
</a>
|
|
<p class="coming-soon-footer">
|
|
Questions? Contact <a href="mailto:support@agenticgovernance.digital">support@agenticgovernance.digital</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
document.body.insertAdjacentHTML('beforeend', overlayHTML);
|
|
}
|
|
})();
|