Ajout paramètre message bas de page personnalisable

This commit is contained in:
Yannick Le Duc
2025-08-27 12:21:09 +02:00
parent 28df167fee
commit aa859a1e44
15 changed files with 580 additions and 207 deletions

View File

@@ -7,6 +7,7 @@ import { Campaign, Proposition, Participant, Vote, PropositionWithVote } from '@
import { campaignService, participantService, propositionService, voteService, settingsService } from '@/lib/services';
import { MarkdownContent } from '@/components/MarkdownContent';
import { PROJECT_CONFIG } from '@/lib/project.config';
import Footer from '@/components/Footer';
// Force dynamic rendering to avoid SSR issues with Supabase
export const dynamic = 'force-dynamic';
@@ -539,20 +540,7 @@ export default function PublicVotePage() {
)}
{/* Footer discret */}
<div className="text-center mt-16 pb-20">
<p className="text-gray-400 text-sm">
Développé avec pour faciliter la démocratie participative -{' '}
<a
href={PROJECT_CONFIG.repository.url}
target="_blank"
rel="noopener noreferrer"
className="text-gray-500 hover:text-gray-700 underline"
>
Logiciel libre
</a>{' '}
et transparent pour tous
</p>
</div>
<Footer />
</div>
{/* Barre fixe en bas */}