SPB Git

Repository Public

GroupeKaPage.tsx 4.3 KB 114 lines tsx

1/**2 * =============================================================================3 *                  SP BOUCHER | SOFTWARE & RESEARCH4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : agentilab-web8 * File             : components/pages/GroupeKaPage.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 Image from 'next/image';44import type { Locale } from '@/lib/i18n/config';45import { getCopy } from '@/lib/i18n/copy';46import { brand, productsOf } from '@/lib/catalog';47import { Container, ExternalLink, Section, SectionHeading } from '@/components/ui/primitives';48import { PageHead } from '@/components/marketing/blocks';49import { ProductGrid } from '@/components/marketing/ProductCard';50import { Shell } from './Shell';5152export function GroupeKaPage({ locale }: { locale: Locale }) {53  const copy = getCopy(locale);54  const t = copy.groupeKa;55  const ka = brand('groupe-ka');56  const shot = ka.screenshot;57  return (58    <Shell locale={locale} current="groupeKa">59      <PageHead id="groupeKa" locale={locale} eyebrow={t.eyebrow} title={t.title} lead={ka.summary[locale]}>60        <p className="lead" style={{ marginTop: 'var(--s4)' }}>61          {ka.description[locale]}62        </p>63        <p style={{ marginTop: 'var(--s5)' }}>64          <ExternalLink href={ka.officialUrl[locale]} externalLabel={copy.labels.external} hrefLang={locale === 'en' ? 'fr-CA' : undefined}>65            {ka.officialLabel}66          </ExternalLink>67        </p>68      </PageHead>6970      {shot ? (71        <div data-tone="light" style={{ paddingBottom: 'var(--s8)' }}>72          <Container>73            <div className="featured__shot">74              <Image src={shot.src} width={shot.width} height={shot.height} alt={shot.alt[locale]} sizes="(min-width: 1400px) 1280px, 100vw" priority />75            </div>76          </Container>77        </div>78      ) : null}7980      <Section tone="dark" labelledBy="logique">81        <SectionHeading id="logique" title={t.logicTitle} intro={t.logicIntro} />82        <ol className="tiles tiles--3">83          {t.steps.map((step, index) => (84            <li key={step.title} className="tile">85              <span className="tile__index" aria-hidden="true">86                {String(index + 1).padStart(2, '0')}87              </span>88              <h3>{step.title}</h3>89              <p>{step.text}</p>90            </li>91          ))}92        </ol>93      </Section>9495      <Section labelledBy="natures">96        <SectionHeading id="natures" title={t.natureTitle} />97        <ul className="tiles tiles--3">98          {t.nature.map((item) => (99            <li key={item.title} className="tile">100              <h3>{item.title}</h3>101              <p>{item.text}</p>102            </li>103          ))}104        </ul>105      </Section>106107      <Section className="section--ruled" labelledBy="plateformes">108        <SectionHeading id="plateformes" title={t.productsTitle} intro={t.productsIntro} />109        <ProductGrid products={productsOf('groupe-ka')} locale={locale} withScreenshot />110      </Section>111    </Shell>112  );113}114
Files main
Menu

Theme