From 3d3c4cdde50d60052c18687f7b78f10b8319bc61 Mon Sep 17 00:00:00 2001 From: maximus Date: Thu, 11 Jun 2026 22:39:45 +0200 Subject: [PATCH] add connexions --- api-keys.txt | 4 +- src/App.jsx | 2 + src/layouts/PublicLayout.jsx | 23 +++++-- src/pages/app/Dashboard.jsx | 1 + src/pages/public/Home.jsx | 15 +++-- src/pages/public/Register.jsx | 122 ++++++++++++++++++++++++++++++++++ src/services/api.js | 33 +++++++-- vite.config.js | 5 ++ 8 files changed, 189 insertions(+), 16 deletions(-) create mode 100644 src/pages/public/Register.jsx diff --git a/api-keys.txt b/api-keys.txt index 2b76093..77e8b33 100644 --- a/api-keys.txt +++ b/api-keys.txt @@ -2,5 +2,5 @@ FossBilling : fpBTefVk568S4VP36feE6i7XKcqNmvi4 Hestiacp : -id : EpIQTIAJVlYGRerVfiNo -secret : PMzs_nKYFelMfa3T9Vu9NgNZDtDFenxjeFCo-7Eq \ No newline at end of file +id : s8UXxCnsZTTCDJzCfY4I +secret : Qgax08BFStr2P3aEu-cRvJPbEUAh7CM5SVSZ5oQn \ No newline at end of file diff --git a/src/App.jsx b/src/App.jsx index 64f6f0e..a79ea88 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -4,6 +4,7 @@ import PublicLayout from './layouts/PublicLayout'; import Home from './pages/public/Home'; import Login from './pages/public/Login'; import Dashboard from './pages/app/Dashboard'; +import Register from './pages/public/Register'; function App() { return ( @@ -13,6 +14,7 @@ function App() { }> } /> } /> + } /> {/* Tu pourras ajouter /offres, /register ici plus tard */} diff --git a/src/layouts/PublicLayout.jsx b/src/layouts/PublicLayout.jsx index 69c3f7d..5b6d521 100644 --- a/src/layouts/PublicLayout.jsx +++ b/src/layouts/PublicLayout.jsx @@ -4,12 +4,27 @@ import { Outlet, Link } from 'react-router-dom'; export default function PublicLayout() { return (
-