diff --git a/src/App.js b/src/App.js index 007cafc..ab22e69 100644 --- a/src/App.js +++ b/src/App.js @@ -5,6 +5,7 @@ import Connexion from './pages/Connexion'; import Admin from './pages/Admin.js'; import Admin_modif from './pages/Admin_modif.js'; import Admin_supp from './pages/Admin_supp.js'; +import Dashboard from './pages/Dashboard'; const App = () => { return ( @@ -15,6 +16,7 @@ const App = () => { } /> } /> } /> + } /> ); diff --git a/src/pages/Dashboard.js b/src/pages/Dashboard.js new file mode 100644 index 0000000..b3bb2cc --- /dev/null +++ b/src/pages/Dashboard.js @@ -0,0 +1,29 @@ +import React from 'react'; + + +const Dashboard = () => { + return ( + + + + +
+ {/* Create a principal page */} +
+

Dashboard

+
+
+ + + + +
+
+ +
+
+ + ); +}; + +export default Dashboard; \ No newline at end of file diff --git a/src/styles/components/_dashboard.scss b/src/styles/components/_dashboard.scss new file mode 100644 index 0000000..50ff578 --- /dev/null +++ b/src/styles/components/_dashboard.scss @@ -0,0 +1,88 @@ +.corps_page_dashboard{ + background-image: url("../../../public/fond_page_connexion.png"); + + + .page_principale { + display: flex; + flex-direction: column; + justify-content: space-evenly; + width: auto; + height: 100vh; + + .haut_de_page { + display: flex; + flex-direction: row; + justify-content: space-between; + padding: 50px; + width: auto; + height: 10%; + align-items: center; + margin: 10px 10px 5px 10px; + + background: rgba(255, 255, 255, 0.3); + border-radius: 15px; + box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); + backdrop-filter: blur(3px); + -webkit-backdrop-filter: blur(15px); + + .titre { + font-size: 40px; + } + + .rechLogo { + display: flex; + flex-direction: row; + justify-content: space-between; + + .input_box { + display: flex; + justify-content: center; + align-items: center; + position: relative; + height: 40px; + max-width: 350px; + width: 100%; + margin: 30px 30px; + border-radius: 25px; + box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); + + input { + position: relative; + width: 100%; + height: 100%; + padding: 0 15px 0 65px; + outline: none; + border: none; + border-radius: 25px; + font-size: 16px; + font-weight: 400; + color: #333; + } + + .search { + display: flex; + align-items: center; + justify-content: center; + position: absolute; + left: 0; + top: 0; + height: 100%; + width: 60px; + border-radius: 25px 0 0 25px; + + .search-icon { + font-size: 30px; + color: black; + } + } + } + + .logo { + display: flex; + width: 100px; + height: 100px; + } + } + } + } +} \ No newline at end of file