Added YtVideo, set enables on site layout for first prod deploy
This commit is contained in:
9
src/components/YtVideo.astro
Normal file
9
src/components/YtVideo.astro
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
import type {videoConfig} from "@interfaces/video.ts";
|
||||||
|
|
||||||
|
const config: videoConfig = Astro.props.videoConfig;
|
||||||
|
---
|
||||||
|
<iframe class="h-128 w-full max-w-1/2" src={config.videoPath}
|
||||||
|
title={config.videoTitle ?? ""}
|
||||||
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||||
|
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
||||||
@@ -4,28 +4,34 @@ export const siteLayout: navLink[] = [
|
|||||||
{navText: "About", path: ""},
|
{navText: "About", path: ""},
|
||||||
{navText: "Education", path: "education"},
|
{navText: "Education", path: "education"},
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "Experiences",
|
navText: "Experiences",
|
||||||
path: "experience",
|
path: "experience",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "SpaceX",
|
navText: "SpaceX",
|
||||||
path: "spacex",
|
path: "spacex",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "Hardware Test Engineer I/II",
|
navText: "Hardware Test Engineer I/II",
|
||||||
path: "hardware-test-engineer-i-ii"
|
path: "hardware-test-engineer-i-ii"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "Avionics Test Engineering Internship",
|
navText: "Avionics Test Engineering Internship",
|
||||||
path: "avionics-test-engineering-internship"
|
path: "avionics-test-engineering-internship"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "OSU CEOAS",
|
navText: "OSU CEOAS",
|
||||||
path: "osu-ceoas-ocean-mixing-group",
|
path: "osu-ceoas-ocean-mixing-group",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "Robotics Oceanographic Surface Sampler",
|
navText: "Robotics Oceanographic Surface Sampler",
|
||||||
path: "robotic-oceanographic-surface-sampler",
|
path: "robotic-oceanographic-surface-sampler",
|
||||||
},
|
},
|
||||||
@@ -37,6 +43,7 @@ export const siteLayout: navLink[] = [
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "OSU SARL",
|
navText: "OSU SARL",
|
||||||
path: "osu-sinnhuber-aquatic-research-laboratory",
|
path: "osu-sinnhuber-aquatic-research-laboratory",
|
||||||
children: [
|
children: [
|
||||||
@@ -46,6 +53,7 @@ export const siteLayout: navLink[] = [
|
|||||||
path: "team-lead",
|
path: "team-lead",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "Zebrafish Embryo Pick and Plate",
|
navText: "Zebrafish Embryo Pick and Plate",
|
||||||
path: "zebrafish-embryo-pick-and-plate",
|
path: "zebrafish-embryo-pick-and-plate",
|
||||||
},
|
},
|
||||||
@@ -72,10 +80,12 @@ export const siteLayout: navLink[] = [
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "OSU Robotics Club",
|
navText: "OSU Robotics Club",
|
||||||
path: "osu-robotics-club",
|
path: "osu-robotics-club",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
enabled: false,
|
||||||
navText: "Mars Rover Software Team Lead",
|
navText: "Mars Rover Software Team Lead",
|
||||||
path: "mars-rover-software-team-lead",
|
path: "mars-rover-software-team-lead",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user