diff --git a/assets/app.js b/assets/app.js new file mode 100644 index 0000000..d0a9493 --- /dev/null +++ b/assets/app.js @@ -0,0 +1,24 @@ +const carousel = document.getElementById("carousel"); +const projects = [ + { + "name": "Pogo", + "description": "Self hosted podcast blah blah" + }, + { + "name": "Database Janitor", + "description": "Customized MySQL database dumps" + } +] + +function carouselProjectPicker() { + let pointer = Math.round(Math.random() * 10 % projects.length) - 1; + if (pointer < 0) pointer = 1; + console.log(pointer); + let project = projects[pointer]; + + carousel.innerHTML = "

" + project.name + "" + project.description + "

"; +} + +window.onload = carouselProjectPicker(); + +setInterval(carouselProjectPicker, 10000); \ No newline at end of file diff --git a/assets/project-tiles/alexanders.jpg b/assets/project-tiles/alexanders.jpg new file mode 100644 index 0000000..966ca0e Binary files /dev/null and b/assets/project-tiles/alexanders.jpg differ diff --git a/assets/project-tiles/approve.jpg b/assets/project-tiles/approve.jpg new file mode 100644 index 0000000..332a0a0 Binary files /dev/null and b/assets/project-tiles/approve.jpg differ diff --git a/assets/project-tiles/gitgalaxy.png b/assets/project-tiles/gitgalaxy.png new file mode 100644 index 0000000..2a7742b Binary files /dev/null and b/assets/project-tiles/gitgalaxy.png differ diff --git a/assets/project-tiles/nodemc.png b/assets/project-tiles/nodemc.png new file mode 100644 index 0000000..1867e31 Binary files /dev/null and b/assets/project-tiles/nodemc.png differ diff --git a/assets/project-tiles/other.png b/assets/project-tiles/other.png new file mode 100644 index 0000000..af09993 Binary files /dev/null and b/assets/project-tiles/other.png differ diff --git a/assets/project-tiles/platypus.png b/assets/project-tiles/platypus.png new file mode 100644 index 0000000..b487709 Binary files /dev/null and b/assets/project-tiles/platypus.png differ diff --git a/assets/project-tiles/pogo.png b/assets/project-tiles/pogo.png new file mode 100644 index 0000000..72e1b2f Binary files /dev/null and b/assets/project-tiles/pogo.png differ diff --git a/assets/project-tiles/quantity-pricing.jpg b/assets/project-tiles/quantity-pricing.jpg new file mode 100644 index 0000000..5d4da51 Binary files /dev/null and b/assets/project-tiles/quantity-pricing.jpg differ diff --git a/assets/project-tiles/quicklook.jpg b/assets/project-tiles/quicklook.jpg new file mode 100644 index 0000000..f30b6b6 Binary files /dev/null and b/assets/project-tiles/quicklook.jpg differ diff --git a/assets/project-tiles/vado.jpg b/assets/project-tiles/vado.jpg new file mode 100644 index 0000000..14ba83e Binary files /dev/null and b/assets/project-tiles/vado.jpg differ