feat: content added

This commit is contained in:
Mike 2023-12-19 11:32:06 -05:00
parent e65acd8723
commit c104a1b905

View file

@ -1,5 +1,7 @@
import { contactComponent } from "./components/contact";
import { carousel } from "./components/carousel" import { carousel } from "./components/carousel"
import { menuBar as navbar } from "./components/navbar"; import { menuBar as navbar } from "./components/navbar";
import { menuComponent } from "./components/menu";
import './style.css' import './style.css'
function nav(){ function nav(){
@ -28,3 +30,5 @@ function content(data) {
let carouselComponent = carousel.createComponent(); let carouselComponent = carousel.createComponent();
document.body.appendChild(nav()); document.body.appendChild(nav());
document.body.appendChild(carouselComponent); document.body.appendChild(carouselComponent);
document.body.appendChild(menuComponent());
document.body.appendChild(contactComponent());