diff --git a/ui/public/images/image_1.jpg b/ui/public/images/image_1.jpg new file mode 100644 index 0000000..ab8e9d2 Binary files /dev/null and b/ui/public/images/image_1.jpg differ diff --git a/ui/public/images/image_2.jpg b/ui/public/images/image_2.jpg new file mode 100644 index 0000000..65a7cba Binary files /dev/null and b/ui/public/images/image_2.jpg differ diff --git a/ui/public/images/image_3.jpg b/ui/public/images/image_3.jpg new file mode 100644 index 0000000..59778f7 Binary files /dev/null and b/ui/public/images/image_3.jpg differ diff --git a/ui/public/images/image_4.jpg b/ui/public/images/image_4.jpg new file mode 100644 index 0000000..789c7ba Binary files /dev/null and b/ui/public/images/image_4.jpg differ diff --git a/ui/public/images/showcase.jpg b/ui/public/images/showcase.jpg new file mode 100644 index 0000000..f23d4fc Binary files /dev/null and b/ui/public/images/showcase.jpg differ diff --git a/ui/src/components/Bootcamp.jsx b/ui/src/components/Bootcamp.jsx new file mode 100644 index 0000000..f35fbec --- /dev/null +++ b/ui/src/components/Bootcamp.jsx @@ -0,0 +1,30 @@ +import { Link } from 'react-router-dom'; +import { Image } from 'react-bootstrap'; + +const Bootcamp = (props) => { + const { image, name, rating, location, careers, id } = props.bootcamp; + + return ( +
+
+
+ {name} +
+
+
+
+ + {name} + {rating} + +
+ {location} +

{careers.join(', ')}

+
+
+
+
+ ); +}; + +export default Bootcamp; diff --git a/ui/src/pages/bootcamps/BootcampsPage.jsx b/ui/src/pages/bootcamps/BootcampsPage.jsx index d3ac1bb..7b2cf0d 100644 --- a/ui/src/pages/bootcamps/BootcampsPage.jsx +++ b/ui/src/pages/bootcamps/BootcampsPage.jsx @@ -1,3 +1,25 @@ +import Bootcamp from '../../components/Bootcamp'; + +const bootcamps = [ + { + id: 1, + image: '/images/image_1.jpg', + name: 'Bootcamp 1', + rating: 4.5, + location: 'Location 1', + careers: ['Web Development', 'Data Science'], + }, + { + id: 2, + image: '/images/image_2.jpg', + name: 'Bootcamp 2', + rating: 4.0, + location: 'Location 2', + careers: ['Web Development', 'UI/UX'], + }, + // Add more bootcamp data as needed +]; + const BootcampsPage = () => { return (
@@ -74,87 +96,12 @@ const BootcampsPage = () => { + {/* */}
- {/* */} -
-
-
- ... -
-
-
-
- - Devworks Bootcamp - 8.8 - -
- Boston, MA -

Web Development, UI/UX, Mobile Development

-
-
-
-
- -
-
-
- ... -
-
-
-
- - ModernTech Bootcamp - 7.5 - -
- Boston, MA -

Web Development, UI/UX, Mobile Development

-
-
-
-
-
-
-
- ... -
-
-
-
- - Codemasters - 9.2 - -
- Burlington, VT -

Web Development, Data Science, Marketing

-
-
-
-
- -
-
-
- ... -
-
-
-
- - DevCentral Bootcamp - 6.4 - -
- Kingston, RI -

Web Development, UI/UX, Mobile Development, Marketing

-
-
-
-
+ {bootcamps.map((bootcamp) => ( + + ))} {/* */}