diff --git a/astro.config.mjs b/astro.config.mjs index 7e73f35..c0fb8ba 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,6 +10,9 @@ const disabledPaths = getPaths(siteLayout, [], true) // https://astro.build/config export default defineConfig({ site: "https://caperren.com", + prefetch: { + prefetchAll: true + }, integrations: [ sitemap({ filter: (pagePath) => diff --git a/src/components/Video.astro b/src/components/Video.astro new file mode 100644 index 0000000..0f218f5 --- /dev/null +++ b/src/components/Video.astro @@ -0,0 +1,12 @@ +--- +import {type videoConfig} from "@interfaces/video.ts"; + +const config: videoConfig = Astro.props.videoConfig; +console.log(config); +--- + + + diff --git a/src/interfaces/video.ts b/src/interfaces/video.ts new file mode 100644 index 0000000..7af5779 --- /dev/null +++ b/src/interfaces/video.ts @@ -0,0 +1,5 @@ +export interface videoConfig { + videoTitle?: string + videoPath: string; + videoType?: string; +} \ No newline at end of file diff --git a/src/pages/experience/osu-robotics-club/mars-rover-software-team-lead.astro b/src/pages/experience/osu-robotics-club/mars-rover-software-team-lead.astro index 9440caa..a7fc4c5 100644 --- a/src/pages/experience/osu-robotics-club/mars-rover-software-team-lead.astro +++ b/src/pages/experience/osu-robotics-club/mars-rover-software-team-lead.astro @@ -1,6 +1,245 @@ --- import ExperienceLayout from "@layouts/ExperienceLayout.astro"; +import Carousel from "@components/CustomCarousel/CustomCarousel.astro"; +import type {carouselGroup} from "@interfaces/image-carousel.ts"; +import YtVideo from "@components/YtVideo.astro"; +import type {videoConfig} from "@interfaces/video.ts"; + + + +const headerCarouselGroup: carouselGroup = { + animation: "slide", + images: [] +} + + +const videoList: videoConfig[] = [ + { + videoTitle: "Ground Station Software Quick Overview", + videoPath: "https://www.youtube-nocookie.com/embed/ZjGW-HWapVA" + }, + { + videoTitle: "Rover Software Environment And Full Code Overview", + videoPath: "https://www.youtube-nocookie.com/embed/sceA2ZbEV8Y" + } +] --- + + +

Ground Station Readouts & Features

+ +

Rover Demos and Software Overviews

+ {videoList.map((video) => ( +

{video.videoTitle}

+ + ))} +
\ No newline at end of file