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/js/components/Home.jsx b/src/js/components/Home.jsx index 74bc8d768..104aeb01b 100644 --- a/src/js/components/Home.jsx +++ b/src/js/components/Home.jsx @@ -1,28 +1,18 @@ -import React from "react"; +import React from "react"; +import NavbarComponent from "./NavbarComponents"; +import Jumbotron from "./Jumbotron"; //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 +export default Home; + diff --git a/src/js/components/Jumbotron.jsx b/src/js/components/Jumbotron.jsx new file mode 100644 index 000000000..dbbfb4100 --- /dev/null +++ b/src/js/components/Jumbotron.jsx @@ -0,0 +1,13 @@ +function Jumbotron () { + return( +
+
+

A Warm Welcome!

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. A, iste porro inventore voluptatibus veniam, excepturi recusandae dolor aperiam deleniti quisquam sed labore quia? Culpa animi illo, ex distinctio amet explicabo.

+ Call to action! +
+
+ ); +} + +export default Jumbotron; \ No newline at end of file diff --git a/src/js/components/NavbarComponents.jsx b/src/js/components/NavbarComponents.jsx new file mode 100644 index 000000000..1fc2b7832 --- /dev/null +++ b/src/js/components/NavbarComponents.jsx @@ -0,0 +1,38 @@ +function NavbarComponent () { + return ( + + ); + +}; + +export default NavbarComponent; \ No newline at end of file