SPB Git

Repository Public

icons.tsx 5.8 KB 88 lines tsx

1/**2 * =============================================================================3 *                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : MacLustr Vision8 * File             : web/src/icons.tsx9 * Module           : web10 * Repository       : https://git.spboucher.ai/maclustr-vision11 * Project Website  : https://camera.spboucher.ai12 * Created          : 2026-11-3013 * Last Modified    : 2026-11-3014 *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: admin@spboucher.ai23 * Technical Contact: dev@spboucher.ai24 * Security/Admin   : admin@spboucher.ai25 *26 * Copyright (c) 202627 * Simon-Pierre Boucher28 * All rights reserved where applicable. This file is governed by the29 * applicable project license, copyright notices and relevant law.30 * Existing third-party rights and notices remain unaffected.31 *32 * License          : None specified (no license file in this repository)33 *34 * Do not embed credentials, private keys, access tokens,35 * certificates or confidential personal information.36 *37 * =============================================================================38 * END OF SP BOUCHER SOURCE HEADER39 * =============================================================================40 */4142// Pictogrammes au trait (24 px), dessinés pour l'application.43import type { ReactNode } from 'react';4445function I({ children, size = 22 }: { children: ReactNode; size?: number }) {46  return (47    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.7" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false">48      {children}49    </svg>50  );51}52export const IconLive = () => (<I><rect x="3" y="5" width="18" height="14" rx="2" /><circle cx="12" cy="12" r="3" /></I>);53export const IconHistory = () => (<I><circle cx="12" cy="12" r="8.5" /><path d="M12 7.5V12l3 2" /></I>);54export const IconEvents = () => (<I><path d="M6 9a6 6 0 1 1 12 0c0 5 2 6 2 6H4s2-1 2-6" /><path d="M10 19a2 2 0 0 0 4 0" /></I>);55export const IconSettings = () => (<I><path d="M4 7h10M18 7h2M4 17h2M10 17h10" /><circle cx="16" cy="7" r="2" /><circle cx="8" cy="17" r="2" /></I>);56export const IconStorage = () => (<I><ellipse cx="12" cy="6.5" rx="7.5" ry="3" /><path d="M4.5 6.5v5c0 1.7 3.4 3 7.5 3s7.5-1.3 7.5-3v-5M4.5 11.5v5c0 1.7 3.4 3 7.5 3s7.5-1.3 7.5-3v-5" /></I>);57export const IconSystem = () => (<I><rect x="4" y="5" width="16" height="11" rx="1.5" /><path d="M9 20h6M12 16v4M7.5 12l2.5-3 2.5 2 3.5-3.5" /></I>);58export const IconFullscreen = () => (<I><path d="M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5" /></I>);59export const IconExitFullscreen = () => (<I><path d="M9 4v5H4M15 4v5h5M9 20v-5H4M15 20v-5h5" /></I>);60export const IconCamera = () => (<I><path d="M4 8h3l1.5-2h7L17 8h3v11H4z" /><circle cx="12" cy="13" r="3.2" /></I>);61export const IconVolume = () => (<I><path d="M4 10v4h3l5 4V6L7 10z" /><path d="M16 9a4 4 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11" /></I>);62export const IconMute = () => (<I><path d="M4 10v4h3l5 4V6L7 10z" /><path d="M16 9.5l5 5M21 9.5l-5 5" /></I>);63export const IconBack = () => (<I><path d="M15 5l-7 7 7 7" /></I>);64export const IconPlay = () => (<I><path d="M8 5.5v13l11-6.5z" fill="currentColor" /></I>);65export const IconPause = () => (<I><path d="M8 5v14M16 5v14" strokeWidth="2.6" /></I>);66export const IconPrev = () => (<I><path d="M14 6l-6 6 6 6" /></I>);67export const IconNext = () => (<I><path d="M10 6l6 6-6 6" /></I>);68export const IconDownload = () => (<I><path d="M12 4v11M7.5 11l4.5 4.5 4.5-4.5M5 20h14" /></I>);69export const IconLock = () => (<I><rect x="5" y="11" width="14" height="9" rx="1.5" /><path d="M8 11V8a4 4 0 0 1 8 0v3" /></I>);70export const IconArrow = ({ dir }: { dir: 'up' | 'down' | 'left' | 'right' }) => {71  const d = { up: 'M6 14l6-6 6 6', down: 'M6 10l6 6 6-6', left: 'M14 6l-6 6 6 6', right: 'M10 6l6 6-6 6' }[dir];72  return (<I><path d={d} /></I>);73};74export const IconLogout = () => (<I><path d="M10 5H5v14h5M14 8l4 4-4 4M18 12H9" /></I>);75export const IconPip = () => (<I size={18}><rect x="3" y="5" width="18" height="14" rx="1.5" /><rect x="12" y="11" width="7" height="6" rx="1" fill="currentColor" stroke="none" /></I>);76export const IconGrid = () => (<I><rect x="4" y="4" width="16" height="16" rx="1.5" /><path d="M9.3 4v16M14.7 4v16M4 9.3h16M4 14.7h16" /></I>);77export const IconStats = () => (<I><path d="M5 19V11M10 19V5M15 19v-6M20 19V8" /></I>);78export const IconPatrol = () => (<I><path d="M4 12a8 8 0 0 1 13.7-5.7M20 12a8 8 0 0 1-13.7 5.7" /><path d="M18 3v4h-4M6 21v-4h4" /></I>);79export const IconCinema = () => (<I><rect x="3" y="6" width="18" height="12" rx="1.5" /><path d="M3 9.5h18M3 14.5h18" opacity="0.5" /></I>);80export const IconSearch = () => (<I size={16}><circle cx="11" cy="11" r="6" /><path d="M20 20l-4.5-4.5" /></I>);81export const IconSkipBack = () => (<I><path d="M11 7l-5 5 5 5M18 7l-5 5 5 5" /></I>);82export const IconSkipFwd = () => (<I><path d="M13 7l5 5-5 5M6 7l5 5-5 5" /></I>);83export const IconGapPrev = () => (<I><path d="M6 5v14M18 6l-8 6 8 6z" /></I>);84export const IconGapNext = () => (<I><path d="M18 5v14M6 6l8 6-8 6z" /></I>);85export const IconZoomIn = () => (<I><circle cx="11" cy="11" r="6" /><path d="M20 20l-4.5-4.5M11 8.5v5M8.5 11h5" /></I>);86export const IconZoomOut = () => (<I><circle cx="11" cy="11" r="6" /><path d="M20 20l-4.5-4.5M8.5 11h5" /></I>);87export const IconHelp = () => (<I size={16}><circle cx="12" cy="12" r="8.5" /><path d="M9.6 9.6a2.5 2.5 0 1 1 3.6 2.3c-.8.5-1.2 1-1.2 2M12 17v.2" /></I>);88
Files main
Menu

Theme