Repository Public
1/**2 * =============================================================================3 * SP BOUCHER | SOFTWARE & RESEARCH4 * ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project : agentilab-web8 * File : components/pages/ContactPage.tsx9 * Module : User Interface10 * Repository : https://git.spboucher.ai/agentilab-web11 * Project Website : Not specified12 * Created : 2026-12-0513 * Last Modified : 2026-12-0514 *15 * Author : Simon-Pierre Boucher16 * Position : Professor of Finance17 * Institution : Université du Québec en Outaouais (UQO)18 * Organization : SP Boucher19 * Website : https://spboucher.ai20 * Git : https://git.spboucher.ai21 *22 * Preferred Contact: contact@spboucher.ai23 * Development : dev@spboucher.ai24 * Support : support@spboucher.ai25 * Security/Admin : admin@spboucher.ai26 *27 * Copyright (c) 202628 * Simon-Pierre Boucher29 * All rights reserved where applicable. This file is governed by the30 * applicable project license, copyright notices and relevant law.31 * Existing third-party rights and notices remain unaffected.32 *33 * License : Proprietary34 *35 * Do not embed credentials, private keys, access tokens,36 * certificates or confidential personal information.37 *38 * =============================================================================39 * END OF SP BOUCHER SOURCE HEADER40 * =============================================================================41 */4243import type { Locale } from '@/lib/i18n/config';44import { getCopy } from '@/lib/i18n/copy';45import { href } from '@/lib/i18n/routes';46import { verifiedChannels } from '@/lib/catalog';47import { contactCategories } from '@/content/public/contact';48import { ArrowLink, Notice, Section, SectionHeading } from '@/components/ui/primitives';49import { PageHead } from '@/components/marketing/blocks';50import { Shell } from './Shell';5152export function ContactPage({ locale }: { locale: Locale }) {53 const copy = getCopy(locale);54 const t = copy.contact;55 return (56 <Shell locale={locale} current="contact">57 <PageHead id="contact" locale={locale} eyebrow={t.eyebrow} title={t.title} lead={t.intro} />5859 <Section className="section--ruled" labelledBy="coordonnees">60 <div className="split">61 <div className="heading">62 <h2 id="coordonnees">{t.channelsTitle}</h2>63 </div>64 <div className="prose">65 {verifiedChannels.length > 0 ? (66 <ul className="channels">67 {verifiedChannels.map((channel) => (68 <li key={channel.id}>69 <span className="eyebrow">70 {t.email} · {channel.categories.map((category) => t.categories[category].title).join(' · ')}71 </span>72 <a href={`mailto:${channel.value}`}>{channel.value}</a>73 </li>74 ))}75 </ul>76 ) : (77 // Aucun canal confirmé : on le dit, plutôt que d’afficher une adresse non vérifiée ou un formulaire factice.78 <Notice>{t.noChannel}</Notice>79 )}80 <p className="muted">{t.notConsulting}</p>81 </div>82 </div>83 </Section>8485 <Section tone="dark" labelledBy="demandes">86 <SectionHeading id="demandes" title={t.categoriesTitle} />87 <ul className="contact-cats">88 {contactCategories.map((category) => (89 <li key={category}>90 <h3>{t.categories[category].title}</h3>91 <p>{t.categories[category].text}</p>92 </li>93 ))}94 </ul>95 </Section>9697 <Section labelledBy="produits">98 <div className="split">99 <div className="heading">100 <h2 id="produits">{t.productsTitle}</h2>101 </div>102 <div className="prose">103 <p className="lead">{t.productsText}</p>104 <p>105 <ArrowLink href={href('ecosystem', locale)}>{copy.nav.ecosystem}</ArrowLink>106 </p>107 </div>108 </div>109 </Section>110 </Shell>111 );112}113