diff --git a/docs/home-mes-budgets-participatifs.jpeg b/docs/home-mes-budgets-participatifs.jpeg index 06c340e..77cc19f 100644 Binary files a/docs/home-mes-budgets-participatifs.jpeg and b/docs/home-mes-budgets-participatifs.jpeg differ diff --git a/src/app/campaigns/[id]/propose/page.tsx b/src/app/campaigns/[id]/propose/page.tsx index d61235c..a006afd 100644 --- a/src/app/campaigns/[id]/propose/page.tsx +++ b/src/app/campaigns/[id]/propose/page.tsx @@ -12,6 +12,7 @@ import { Badge } from '@/components/ui/badge'; import { ArrowLeft, FileText, User, Mail, CheckCircle, AlertCircle } from 'lucide-react'; import { MarkdownContent } from '@/components/MarkdownContent'; import { MarkdownEditor } from '@/components/MarkdownEditor'; +import { PROJECT_CONFIG } from '@/lib/project.config'; export const dynamic = 'force-dynamic'; @@ -302,6 +303,22 @@ export default function PublicProposePage() { + + {/* Footer discret */} +
+

+ Développé avec ❤️ pour faciliter la démocratie participative -{' '} + + Logiciel libre + {' '} + et transparent pour tous +

+
); diff --git a/src/app/campaigns/[id]/vote/[participantId]/page.tsx b/src/app/campaigns/[id]/vote/[participantId]/page.tsx index 8e4ec79..90ad768 100644 --- a/src/app/campaigns/[id]/vote/[participantId]/page.tsx +++ b/src/app/campaigns/[id]/vote/[participantId]/page.tsx @@ -6,6 +6,7 @@ import Link from 'next/link'; import { Campaign, Proposition, Participant, Vote, PropositionWithVote } from '@/types'; import { campaignService, participantService, propositionService, voteService, settingsService } from '@/lib/services'; import { MarkdownContent } from '@/components/MarkdownContent'; +import { PROJECT_CONFIG } from '@/lib/project.config'; // Force dynamic rendering to avoid SSR issues with Supabase export const dynamic = 'force-dynamic'; @@ -536,6 +537,22 @@ export default function PublicVotePage() { {error} )} + + {/* Footer discret */} +
+

+ Développé avec ❤️ pour faciliter la démocratie participative -{' '} + + Logiciel libre + {' '} + et transparent pour tous +

+
{/* Barre fixe en bas */} diff --git a/src/app/page.tsx b/src/app/page.tsx index 874722f..0ca8c91 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,6 +2,7 @@ import Link from 'next/link'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; +import { PROJECT_CONFIG } from '@/lib/project.config'; export default function HomePage() { return ( @@ -19,22 +20,10 @@ export default function HomePage() { Participez aux décisions budgétaires de vos collectifs. Votez pour les projets qui vous tiennent à cœur et façonnez ensemble l'avenir de votre communauté.

-
- - -
{/* Features Section */} -
+
@@ -57,7 +46,7 @@ export default function HomePage() {
🗳️
- Vote + Vote Intelligent Votez pour les projets qui vous semblent prioritaires @@ -74,9 +63,9 @@ export default function HomePage() {
📊
- Résultats + Résultats en Temps Réel - Suivez en temps réel l'évolution des votes + Suivez l'évolution des votes et visualisez les tendances @@ -85,24 +74,91 @@ export default function HomePage() {

+ + + +
+ 👥 +
+ Gestion des Participants + + Gérez facilement les membres de votre collectif + +
+ +

+ Invitez, gérez et suivez la participation de votre communauté +

+
+
+ + + +
+ ⚙️ +
+ Administration Complète + + Interface d'administration intuitive et puissante + +
+ +

+ Créez des campagnes, gérez les emails et analysez les statistiques +

+
+
+ + + +
+ 🔓 +
+ Open Source + + Logiciel libre et transparent pour tous + +
+ +

+ Code source ouvert, modifiable et adaptable à vos besoins +

+
+
+
+ + {/* Administration Button */} +
+
{/* CTA Section */}

- Prêt à participer ? + Envie de participer ?

- Rejoignez votre collectif et prenez part aux décisions qui vous concernent + Dotez votre collectif d'outils pour prendre des décisions budgétaires en utilisant l'intelligence collective

+ + {/* Footer */} +
+

+ Développé avec ❤️ pour faciliter la démocratie participative +

+
); diff --git a/src/lib/project.config.ts b/src/lib/project.config.ts new file mode 100644 index 0000000..d0fcd3e --- /dev/null +++ b/src/lib/project.config.ts @@ -0,0 +1,41 @@ +/** + * Configuration centralisée du projet + * Toutes les informations importantes du projet sont stockées ici + */ + +export const PROJECT_CONFIG = { + // Informations générales du projet + name: "Mes Budgets Participatifs", + description: "Application de gestion de budgets participatifs", + version: "1.0.0", + + // Repository Git officiel + repository: { + url: "https://git.astrolabe.coop/yannick.leduc/mes-budgets-participatifs", // À définir par l'utilisateur + type: "git", + provider: "gitea" // ou "gitlab", "bitbucket", etc. + }, + + // Informations de contact + contact: { + email: "yannick.leduc@astrolabe.coop", + website: "https://astrolabe.coop" + }, + + // Licence + license: "MIT", + + // Auteurs + authors: [], + + // Configuration technique + tech: { + framework: "Next.js", + language: "TypeScript", + database: "Supabase", + styling: "Tailwind CSS" + } +} as const; + +// Type pour la configuration +export type ProjectConfig = typeof PROJECT_CONFIG;