Vendored
-1510
File diff suppressed because one or more lines are too long
Vendored
+1510
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Omnex — Plateforme de gestion de commandes & livraison</title>
|
<title>Omnex — Plateforme de gestion de commandes & livraison</title>
|
||||||
<meta name="description" content="Déployez en un clic une démo complète de la plateforme de gestion de commandes et de livraison." />
|
<meta name="description" content="Déployez en un clic une démo complète de la plateforme de gestion de commandes et de livraison." />
|
||||||
<script type="module" crossorigin src="/assets/index-DVA6g9E7.js"></script>
|
<script type="module" crossorigin src="/assets/index-yR0d-eKM.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 201 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 239 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 201 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 239 KiB |
@@ -17,6 +17,7 @@ import {
|
|||||||
} from '@chakra-ui/react'
|
} from '@chakra-ui/react'
|
||||||
import { Link as RouterLink, NavLink } from 'react-router-dom'
|
import { Link as RouterLink, NavLink } from 'react-router-dom'
|
||||||
import { ColorModeToggle } from './ColorModeToggle'
|
import { ColorModeToggle } from './ColorModeToggle'
|
||||||
|
import { Logo } from './Logo'
|
||||||
|
|
||||||
const navLinks = [
|
const navLinks = [
|
||||||
{ to: '/', label: 'Accueil', end: true },
|
{ to: '/', label: 'Accueil', end: true },
|
||||||
@@ -48,8 +49,8 @@ export function Header() {
|
|||||||
<Container maxW="container.lg">
|
<Container maxW="container.lg">
|
||||||
<Flex h={16} align="center" justify="space-between">
|
<Flex h={16} align="center" justify="space-between">
|
||||||
<HStack spacing={8}>
|
<HStack spacing={8}>
|
||||||
<Box as={RouterLink} to="/" fontWeight="bold" fontSize="xl" letterSpacing="tight">
|
<Box as={RouterLink} to="/" display="flex" alignItems="center">
|
||||||
Omnex
|
<Logo h={10} />
|
||||||
</Box>
|
</Box>
|
||||||
<HStack as="nav" spacing={1} display={{ base: 'none', md: 'flex' }}>
|
<HStack as="nav" spacing={1} display={{ base: 'none', md: 'flex' }}>
|
||||||
{navLinks.map((l) => (
|
{navLinks.map((l) => (
|
||||||
@@ -87,8 +88,8 @@ export function Header() {
|
|||||||
<DrawerOverlay />
|
<DrawerOverlay />
|
||||||
<DrawerContent bg="chakra-body-bg">
|
<DrawerContent bg="chakra-body-bg">
|
||||||
<DrawerCloseButton size="lg" />
|
<DrawerCloseButton size="lg" />
|
||||||
<DrawerHeader borderBottomWidth="1px" fontWeight="bold" fontSize="xl">
|
<DrawerHeader borderBottomWidth="1px">
|
||||||
Omnex
|
<Logo h={9} />
|
||||||
</DrawerHeader>
|
</DrawerHeader>
|
||||||
|
|
||||||
<DrawerBody py={6}>
|
<DrawerBody py={6}>
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
import { Image, useColorModeValue, type ImageProps } from '@chakra-ui/react'
|
||||||
|
|
||||||
|
// Logo Omnex adapté au thème : la version sur fond noir (omnex-black) en mode
|
||||||
|
// sombre, celle sur fond blanc (omnex-blanc) en mode clair — chaque variante
|
||||||
|
// se fond dans le fond du header au lieu d'afficher un rectangle contrastant.
|
||||||
|
// Images servies depuis web/public (référencées par chemin absolu, pas
|
||||||
|
// importées).
|
||||||
|
export function Logo(props: ImageProps) {
|
||||||
|
const src = useColorModeValue('/omnex-blanc.jpg', '/omnex-black.jpg')
|
||||||
|
return <Image src={src} alt="Omnex" objectFit="contain" {...props} />
|
||||||
|
}
|
||||||
@@ -1 +1 @@
|
|||||||
{"root":["./src/App.tsx","./src/main.tsx","./src/setupTests.ts","./src/theme.ts","./src/vite-env.d.ts","./src/components/BackofficeLayout.tsx","./src/components/ColorModeToggle.tsx","./src/components/ConfirmDialog.tsx","./src/components/CreateDemoModal.tsx","./src/components/DemoCard.tsx","./src/components/EditDomainModal.tsx","./src/components/Footer.tsx","./src/components/Header.tsx","./src/components/PasswordInput.tsx","./src/components/PodStatusPanel.tsx","./src/components/PublicLayout.tsx","./src/components/docs/AdminMockup.tsx","./src/components/docs/sections/AdressesSection.tsx","./src/components/docs/sections/AlertesSection.tsx","./src/components/docs/sections/CategoriesSection.tsx","./src/components/docs/sections/CommandesSection.tsx","./src/components/docs/sections/DashboardSection.tsx","./src/components/docs/sections/LivraisonSection.tsx","./src/components/docs/sections/ParametresSection.tsx","./src/components/docs/sections/ProduitsSection.tsx","./src/components/docs/sections/StatistiquesSection.tsx","./src/components/docs/sections/UtilisateursSection.tsx","./src/components/docs/sections/cabine/CabineAlertsSection.tsx","./src/components/docs/sections/cabine/CabineDashboardSection.tsx","./src/components/docs/sections/cabine/CabineDeliverySection.tsx","./src/components/docs/sections/cabine/CabineOrdersSection.tsx","./src/components/docs/sections/cabine/CabineUsersSection.tsx","./src/components/docs/sections/delivery/DeliveryAlertsSection.tsx","./src/components/docs/sections/delivery/DeliveryDashboardSection.tsx","./src/components/docs/sections/delivery/DeliveryRatingsSection.tsx","./src/components/docs/sections/delivery/DeliveryStatsSection.tsx","./src/lib/api.ts","./src/lib/auth.tsx","./src/lib/format.ts","./src/pages/AdminLogin.tsx","./src/pages/Contact.tsx","./src/pages/Documentation.tsx","./src/pages/Landing.tsx","./src/pages/Login.tsx","./src/pages/Pricing.tsx","./src/pages/Register.tsx","./src/pages/backoffice/AppDownloads.tsx","./src/pages/backoffice/Codes.tsx","./src/pages/backoffice/Demos.tsx","./src/pages/backoffice/MyDemoPlat.tsx","./src/pages/backoffice/PremiumDemos.tsx","./src/pages/backoffice/Profile.tsx","./src/pages/backoffice/Subscription.tsx"],"version":"5.9.3"}
|
{"root":["./src/App.tsx","./src/main.tsx","./src/theme.ts","./src/vite-env.d.ts","./src/components/BackofficeLayout.tsx","./src/components/ColorModeToggle.tsx","./src/components/ConfirmDialog.tsx","./src/components/CreateDemoModal.tsx","./src/components/DemoCard.tsx","./src/components/EditDomainModal.tsx","./src/components/Footer.tsx","./src/components/Header.tsx","./src/components/Logo.tsx","./src/components/PasswordInput.tsx","./src/components/PodStatusPanel.tsx","./src/components/PublicLayout.tsx","./src/components/docs/AdminMockup.tsx","./src/components/docs/sections/AdressesSection.tsx","./src/components/docs/sections/AlertesSection.tsx","./src/components/docs/sections/CategoriesSection.tsx","./src/components/docs/sections/CommandesSection.tsx","./src/components/docs/sections/DashboardSection.tsx","./src/components/docs/sections/LivraisonSection.tsx","./src/components/docs/sections/ParametresSection.tsx","./src/components/docs/sections/ProduitsSection.tsx","./src/components/docs/sections/StatistiquesSection.tsx","./src/components/docs/sections/UtilisateursSection.tsx","./src/components/docs/sections/cabine/CabineAlertsSection.tsx","./src/components/docs/sections/cabine/CabineDashboardSection.tsx","./src/components/docs/sections/cabine/CabineDeliverySection.tsx","./src/components/docs/sections/cabine/CabineOrdersSection.tsx","./src/components/docs/sections/cabine/CabineUsersSection.tsx","./src/components/docs/sections/delivery/DeliveryAlertsSection.tsx","./src/components/docs/sections/delivery/DeliveryDashboardSection.tsx","./src/components/docs/sections/delivery/DeliveryRatingsSection.tsx","./src/components/docs/sections/delivery/DeliveryStatsSection.tsx","./src/lib/api.ts","./src/lib/auth.tsx","./src/lib/format.ts","./src/pages/AdminLogin.tsx","./src/pages/Contact.tsx","./src/pages/Documentation.tsx","./src/pages/Landing.tsx","./src/pages/Login.tsx","./src/pages/Pricing.tsx","./src/pages/Register.tsx","./src/pages/backoffice/AppDownloads.tsx","./src/pages/backoffice/Codes.tsx","./src/pages/backoffice/Demos.tsx","./src/pages/backoffice/MyDemoPlat.tsx","./src/pages/backoffice/PremiumDemos.tsx","./src/pages/backoffice/Profile.tsx","./src/pages/backoffice/Subscription.tsx"],"version":"5.9.3"}
|
||||||
Reference in New Issue
Block a user