diff --git a/src/components/YouTubeEmbed.astro b/src/components/YouTubeEmbed.astro index 3f2aeff..bab82e1 100644 --- a/src/components/YouTubeEmbed.astro +++ b/src/components/YouTubeEmbed.astro @@ -1,6 +1,6 @@ ---- -const {videoId} = Astro.props; -const videoUrl = `https://www.youtube-nocookie.com/embed/${videoId}`; +--- +const { videoId } = Astro.props; +const videoUrl = `https://www.youtube-nocookie.com/embed/${videoId}`; ---
diff --git a/src/content/portfolio/airport-sim.mdx b/src/content/portfolio/airport-sim.mdx index 633267f..0b90a20 100644 --- a/src/content/portfolio/airport-sim.mdx +++ b/src/content/portfolio/airport-sim.mdx @@ -13,7 +13,7 @@ headerImage: "/images/airport-sim/planecover.webp" --- import { Icon } from "astro-icon/components"; -import YouTubeEmbed from "@/components/YouTubeEmbed.astro" +import YouTubeEmbed from "@/components/YouTubeEmbed.astro"; For my final year dissertation project for my bachelors degree in [Games Computing](https://www.lincoln.ac.uk/course/cgpcmpub/), I created a [serious game](https://en.wikipedia.org/wiki/Serious_game). I made use of a Meta Quest 2 VR headset and a game I created with Unity engine, to create a simulated world to allow a person to simulate the effects of international travel to provide training and reassurance. The goal was to create an immersive experience that would help users prepare for the challenges they may face when travelling abroad. diff --git a/src/content/portfolio/aquanaut.mdx b/src/content/portfolio/aquanaut.mdx index 80be3ba..d10ec5e 100644 --- a/src/content/portfolio/aquanaut.mdx +++ b/src/content/portfolio/aquanaut.mdx @@ -9,7 +9,8 @@ tags: - unity - c-sharp --- -import YouTubeEmbed from "@/components/YouTubeEmbed.astro" + +import YouTubeEmbed from "@/components/YouTubeEmbed.astro"; Aquanaut is a classic shooter inspired by game, set in the depths of the ocean. @@ -22,14 +23,18 @@ This game was made by: - Josh Cooper (me) - Team Lead & the Weapons Systems - [Vanta](https://vantasia.dev) - Design Lead & the Texturing - Artur Wojcik - AI Lead & Game Flow Design -- [Matt Silverwood](https://silverwood.dev) - Input & Interaction Systems +- [Matt Silverwood](https://silverwood.dev) - Input & + Interaction Systems We also used resources from other places
Enemies Sprites from Doom (Id Software, 1993) -Sprites have been used as a placeholder, with the understanding that they will be replaced at a later, and are being used only for educational purposes. + + Sprites have been used as a placeholder, with the understanding that they will + be replaced at a later, and are being used only for educational purposes. + - Various Sound Effects from [freesound](https://freesound.org). - Tile Set from [Tileable.co](https://tileable.co/). diff --git a/src/content/portfolio/my-recipes-ar.mdx b/src/content/portfolio/my-recipes-ar.mdx index 5a1ea87..41fac54 100644 --- a/src/content/portfolio/my-recipes-ar.mdx +++ b/src/content/portfolio/my-recipes-ar.mdx @@ -13,7 +13,7 @@ tags: - android --- -import YouTubeEmbed from "@/components/YouTubeEmbed.astro" +import YouTubeEmbed from "@/components/YouTubeEmbed.astro"; Similar to the [VR City Simulation](/portfolio/vr-city) (it was created as a part of the same module), this is my first deep dive into augmented reality development. diff --git a/src/content/portfolio/undercooked.mdx b/src/content/portfolio/undercooked.mdx index 5e17e5a..457be5d 100644 --- a/src/content/portfolio/undercooked.mdx +++ b/src/content/portfolio/undercooked.mdx @@ -7,7 +7,8 @@ tags: - gamedev - c++ --- -import YouTubeEmbed from "@/components/YouTubeEmbed.astro" + +import YouTubeEmbed from "@/components/YouTubeEmbed.astro"; This is an implementation of the core mechanics from [Overcooked](https://www.team17.com/games/overcooked/) implemented in SDL and C++. diff --git a/src/content/portfolio/vr-city.mdx b/src/content/portfolio/vr-city.mdx index e04dfc8..b9c8c8e 100644 --- a/src/content/portfolio/vr-city.mdx +++ b/src/content/portfolio/vr-city.mdx @@ -9,7 +9,8 @@ tags: - unity - c-sharp --- -import YouTubeEmbed from "@/components/YouTubeEmbed.astro" + +import YouTubeEmbed from "@/components/YouTubeEmbed.astro"; This is a VR experience to simulate the effects of being in a city while being inside a VR headset. This was the first time I created anything for VR and I enjoyed doing so - so expect me to see more stuff from me! diff --git a/src/pages/index.astro b/src/pages/index.astro index 7b71fe9..1041edf 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -130,7 +130,7 @@ const latestContent = content.slice(0, 6); href={`${item.collection}/${item.slug}`} class="print:hidden mt-2 self-end justify-self-end text-black-500 dark:text-white-500 no-underline hover:text-black-800 dark:hover:text-white-800 flex items-center hover:underline" > - Read More + Read More
diff --git a/src/styles/global.css b/src/styles/global.css index 04e53be..bddcf18 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -10,15 +10,15 @@ } main a { - @apply underline + @apply underline; } main a::after { - content: ' (' attr(href) ')'; + content: " (" attr(href) ")"; } abbr::after { - content: ' (' attr(title) ')'; + content: " (" attr(title) ")"; } .youtube::after { @@ -34,7 +34,6 @@ .button { @apply border-2 border-green-900 rounded-xl no-underline flex items-center justify-center text-xl mt-5 w-full !important; } - } html { @@ -108,4 +107,4 @@ .button { @apply text-green-900 dark:text-white-500 bg-green-300 border-2 border-green-900 dark:bg-green-700 mr-4 mb-2 px-8 py-2 rounded-xl no-underline hover:bg-green-200 dark:hover:bg-green-800 flex items-center justify-center text-xl mt-5 tablet:w-1/3 !important; } -} \ No newline at end of file +}