diff --git a/package-lock.json b/package-lock.json index d6b5fd56a..a87d148a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,6 +21,9 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", "vite": "^5.2.0" + }, + "engines": { + "node": ">=20.0.0" } }, "node_modules/@eslint-community/eslint-utils": { diff --git a/src/img/Captura de pantalla 2025-05-05 a las 15.14.05.png b/src/img/Captura de pantalla 2025-05-05 a las 15.14.05.png new file mode 100644 index 000000000..340e61ccb Binary files /dev/null and b/src/img/Captura de pantalla 2025-05-05 a las 15.14.05.png differ diff --git a/src/img/brand-logo.png b/src/img/brand-logo.png new file mode 100644 index 000000000..8c78d4da3 Binary files /dev/null and b/src/img/brand-logo.png differ diff --git a/src/img/corazon.png b/src/img/corazon.png new file mode 100644 index 000000000..92b8c082d Binary files /dev/null and b/src/img/corazon.png differ diff --git a/src/img/libro.png b/src/img/libro.png new file mode 100644 index 000000000..39b3d4db7 Binary files /dev/null and b/src/img/libro.png differ diff --git a/src/img/maletin.png b/src/img/maletin.png new file mode 100644 index 000000000..01fb80433 Binary files /dev/null and b/src/img/maletin.png differ diff --git a/src/js/components/Botonera.jsx b/src/js/components/Botonera.jsx new file mode 100644 index 000000000..c4f084224 --- /dev/null +++ b/src/js/components/Botonera.jsx @@ -0,0 +1,23 @@ +function Botonera() { + return ( + <> +
+
+ +
+
+ + ); +} + +export default Botonera; diff --git a/src/js/components/Calendario.jsx b/src/js/components/Calendario.jsx new file mode 100644 index 000000000..3c32f8e31 --- /dev/null +++ b/src/js/components/Calendario.jsx @@ -0,0 +1,110 @@ +const Calendar = () => { + return ( + <> +
+
+
+

Mon

+

20

+ +
+
+

Tue

+

21

+ +
+
+

Wed

+

22

+ +
+
+

Thu

+

23

+ ✔️ +
+
+

Fri

+

24

+ ✔️ +
+
+ +
+ +
+ +
+
📍
+ +
56 min
+ +
+
+ +
+ +
+ +
+
48° F
+
Cloudy
+
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+
+
+ +
+ +
+
Life Quality
+
...
+
+
Week
+
...
+
+
+
+
1
+
2
+
+
3
+ +
+
+ + ); +}; + +export default Calendar; \ No newline at end of file diff --git a/src/js/components/Header.jsx b/src/js/components/Header.jsx new file mode 100644 index 000000000..68d10e401 --- /dev/null +++ b/src/js/components/Header.jsx @@ -0,0 +1,28 @@ +function Header() { + return ( + <> + + + ); +} + +export default Header; diff --git a/src/js/components/Home.jsx b/src/js/components/Home.jsx deleted file mode 100644 index 74bc8d768..000000000 --- a/src/js/components/Home.jsx +++ /dev/null @@ -1,28 +0,0 @@ -import React from "react"; - -//include images into your bundle -import rigoImage from "../../img/rigo-baby.jpg"; - -//create your first component -const Home = () => { - return ( -
- - -

Hello Rigo!

-

- -

- - If you see this green button... bootstrap is working... - -

- Made by{" "} - 4Geeks Academy, with - love! -

-
- ); -}; - -export default Home; \ No newline at end of file diff --git a/src/js/components/Layout.jsx b/src/js/components/Layout.jsx new file mode 100644 index 000000000..5a786681a --- /dev/null +++ b/src/js/components/Layout.jsx @@ -0,0 +1,31 @@ +import React from "react"; +import Sidebar from "./Sidebar"; +import Header from "./Header"; + +function Layout({ children }) { + return ( + <> +
+
+
+ {children} +
+
+ {children}Componente NAvBAr +
+ {children}ComponenteTOOLS +
+
{children}componente 1
+
{children}componente 2
+
{children}Componente 3
+
+
+
+
+
+
+ + ); +} + +export default Layout; diff --git a/src/js/components/Sidebar.jsx b/src/js/components/Sidebar.jsx new file mode 100644 index 000000000..434584549 --- /dev/null +++ b/src/js/components/Sidebar.jsx @@ -0,0 +1,18 @@ +import Botonera from "./Botonera"; + +function Sidebar() { + return ( + <> +
+ + + +
+ +
+
+ + ); +} + +export default Sidebar; diff --git a/src/js/main.jsx b/src/js/main.jsx index 14662105b..8827376d2 100644 --- a/src/js/main.jsx +++ b/src/js/main.jsx @@ -1,18 +1,20 @@ -import React from 'react' -import ReactDOM from 'react-dom/client' +import React from "react"; +import ReactDOM from "react-dom/client"; //Bootstrap import "bootstrap/dist/css/bootstrap.min.css"; -import "bootstrap" +import "bootstrap"; // index.css' -import '../styles/index.css' +import "../styles/index.css"; // components -import Home from './components/Home'; +// import Home from "./components/Home"; +import Sidebar from "./components/Sidebar"; +import Layout from "./components/Layout"; -ReactDOM.createRoot(document.getElementById('root')).render( +ReactDOM.createRoot(document.getElementById("root")).render( - + , -) +); diff --git a/src/styles/calendar.css b/src/styles/calendar.css new file mode 100644 index 000000000..902d16f31 --- /dev/null +++ b/src/styles/calendar.css @@ -0,0 +1,51 @@ +.All { + height: 100vh; + background-color: rgb(167, 196, 216); +} + +.h-10 { + height: 10%; +} + +.h-30 { + height: 30%; +} + +.h-40 { + height: 40%; +} + +.h-60 { + height: 60%; +} + +.h-70 { + height: 70% +} + +.location-top-right { + background-color: rgba(128, 128, 128, 0.3); + +} + +.location-top-left { + background: url(https://www.shutterstock.com/image-vector/fictitious-generic-street-map-urban-600nw-2312834423.jpg); + object-fit:scale-down; +} + +.car-right { + background-color: white; +} + +.car-left { + background-color: rgb(255, 255, 101); +} + +.car-middle { + background-color: midnightblue; + color: white; +} + +.weather-left { + background-color: white; +} \ No newline at end of file diff --git a/src/styles/index.css b/src/styles/index.css index 50716eb70..7f724714e 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -9,3 +9,7 @@ import 'relative/path/to/stylesheet.scss'; */ + +.bg-custom { + background-color: #b1daf5 !important; +}