Branding adjustments

This commit is contained in:
Nathan Schneider
2025-04-09 17:02:19 -06:00
parent 57204e9a67
commit 8d54875c6d
5 changed files with 11 additions and 24 deletions

View File

@ -596,7 +596,7 @@ document.addEventListener('DOMContentLoaded', function() {
try {
// Use community name if available, otherwise default
const communityName = protocol.metadata.communityName || "Community";
let markdown = `# ${communityName}\n# Dispute Protocol\n\n`;
let markdown = `# ${communityName}\n# CommunityDispute\n\n`;
// Include protocol summary if available
if (protocol.metadata.summary) {
@ -664,7 +664,7 @@ document.addEventListener('DOMContentLoaded', function() {
});
// Create and download the file
downloadFile('community_dispute_protocol.md', markdown);
downloadFile('communityDispute.md', markdown);
} catch (error) {
console.error('Error generating Markdown:', error);
alert('Failed to generate Markdown. Please try again.');
@ -704,7 +704,7 @@ document.addEventListener('DOMContentLoaded', function() {
// Add title with line break
doc.setFontSize(18);
doc.text(`${communityName}\nDispute Protocol`, 105, yPos, { align: 'center' });
doc.text(`${communityName}\nCommunityDispute`, 105, yPos, { align: 'center' });
yPos += 25;
// Page width indicator removed
@ -814,7 +814,7 @@ document.addEventListener('DOMContentLoaded', function() {
});
// Save the PDF
doc.save('community_dispute_protocol.pdf');
doc.save('communityDispute.pdf');
} catch (error) {
console.error('Error generating PDF:', error);
alert('Failed to generate PDF. Please try again or use another export format.');
@ -827,7 +827,7 @@ document.addEventListener('DOMContentLoaded', function() {
updateProtocolData();
const jsonData = JSON.stringify(protocol, null, 2);
downloadFile('community_dispute_protocol.json', jsonData);
downloadFile('communityDispute.json', jsonData);
});
// Import from JSON