Branding adjustments
This commit is contained in:
parent
57204e9a67
commit
8d54875c6d
@ -1,6 +1,6 @@
|
||||
baseURL = '/'
|
||||
languageCode = 'en-us'
|
||||
title = 'Community Dispute Protocol'
|
||||
title = 'CommunityDispute'
|
||||
theme = 'dispute-protocol-theme'
|
||||
|
||||
# Enable relative URLs for easier deployment in different environments
|
||||
|
@ -1,8 +1,6 @@
|
||||
---
|
||||
title: "Community Dispute Protocol Builder"
|
||||
title: "Dispute Protocol Builder"
|
||||
date: 2023-07-10
|
||||
draft: false
|
||||
---
|
||||
|
||||
Welcome to the Community Dispute Protocol Builder. This tool helps communities create structured processes for resolving conflicts and disputes.
|
||||
|
||||
|
@ -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
|
||||
|
@ -10,17 +10,5 @@
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
<div class="stages-overview">
|
||||
<h2>The Dispute Resolution Process</h2>
|
||||
<div class="stages-grid">
|
||||
{{ range $.Site.Data.stages.stages }}
|
||||
<div class="stage-card">
|
||||
<h3>{{ .title }}</h3>
|
||||
<p>{{ .description }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
@ -1,6 +1,7 @@
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p>© {{ now.Format "2006" }} Community Dispute Protocol Builder. All rights reserved.</p>
|
||||
<p>Built with <a href="https://gohugo.io/" target="_blank">Hugo</a></p>
|
||||
<p>A project of the <a href="https://www.colorado.edu/lab/medlab/">Media Economies Design Lab</a><br />
|
||||
<a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons BY 4.0</a><br />
|
||||
<a href="https://git.medlab.host/dispute-protocol/builder-prototype">Source code</p>
|
||||
</div>
|
||||
</footer>
|
||||
</footer>
|
||||
|
Loading…
x
Reference in New Issue
Block a user