feat(proposer): interface 5 onglets + soumission Références vers NocoDB

- Page /proposer avec 5 onglets (Écosystème/Réseau/Jobs/Outils/Références RAG)
- 5 form components + form-styles.css partagé
- Submit multi-type avec submission_type vers NocoDB
- Server route references.post.ts réécrite pour NocoDB (table ressources_references)
- redirect 301 /contribuer → /proposer
- Suppression references-pending.json
This commit is contained in:
Jules Neny
2026-06-23 12:13:33 +02:00
parent f3ab28bd69
commit c860dabdc0
12 changed files with 1322 additions and 848 deletions

12
app.vue
View File

@@ -114,9 +114,9 @@
>
Signaler
</NuxtLink>
<!-- Proposer une ressource -->
<!-- Proposer une ressource (5 onglets) -->
<NuxtLink
to="/contribuer"
to="/proposer"
class="px-3 py-1.5 rounded-lg text-sm font-semibold transition-all hover:opacity-80 hidden sm:inline-flex items-center gap-1"
style="background: var(--nav-accent); color: var(--nav-text);"
>
@@ -143,13 +143,13 @@
</svg>
</button>
<!-- Mobile : contribuer icône -->
<!-- Mobile : proposer icône -->
<NuxtLink
to="/contribuer"
to="/proposer"
class="sm:hidden p-2 rounded-lg"
style="background: var(--nav-accent); color: var(--nav-text);"
title="Contribuer une fiche"
aria-label="Contribuer"
title="Proposer une ressource"
aria-label="Proposer"
>
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/>