diff --git a/package-lock.json b/package-lock.json index 6452429..a9095f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "@astrojs/svelte": "^4.0.2", "@astrojs/tailwind": "^5.0.0", "astro": "^3.2.0", - "astro-spa": "^1.3.9", "svelte": "^4.2.1", "tailwindcss": "^3.3.3" }, @@ -1222,11 +1221,6 @@ "sharp": "^0.32.5" } }, - "node_modules/astro-spa": { - "version": "1.3.9", - "resolved": "https://registry.npmjs.org/astro-spa/-/astro-spa-1.3.9.tgz", - "integrity": "sha512-VmXMUsKNHA1gjJYq/SO5EqRAmqifOhBOpOAaXnlH5skgTy0tq9fwANJhh1LJpaahPBGqXAaoIw6Gdq/SBRz9Ww==" - }, "node_modules/autoprefixer": { "version": "10.4.16", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.16.tgz", diff --git a/package.json b/package.json index bc134a8..7ef64f0 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "@astrojs/svelte": "^4.0.2", "@astrojs/tailwind": "^5.0.0", "astro": "^3.2.0", - "astro-spa": "^1.3.9", "svelte": "^4.2.1", "tailwindcss": "^3.3.3" }, diff --git a/src/components/elements/Card.astro b/src/components/elements/Card.astro index 6e7efe3..3574c79 100644 --- a/src/components/elements/Card.astro +++ b/src/components/elements/Card.astro @@ -1,8 +1,8 @@ --- interface Props { primaryColor: string; - bgColor: string; - scaleOnHover: boolean; + bgColor?: string | undefined; + scaleOnHover?: boolean | undefined; } const { primaryColor, bgColor = "#282828", scaleOnHover = false } = Astro.props; diff --git a/src/components/sections/Contact.astro b/src/components/sections/ContactComponent.astro similarity index 100% rename from src/components/sections/Contact.astro rename to src/components/sections/ContactComponent.astro diff --git a/src/components/sections/Education.astro b/src/components/sections/EducationComponent.astro similarity index 89% rename from src/components/sections/Education.astro rename to src/components/sections/EducationComponent.astro index 64c2e17..5dac213 100644 --- a/src/components/sections/Education.astro +++ b/src/components/sections/EducationComponent.astro @@ -7,7 +7,7 @@ import Line from "../elements/NetworkLine.astro";

Education

- +

@@ -26,8 +26,8 @@ import Line from "../elements/NetworkLine.astro";

- - + +

Cambridge IGCSE

@@ -38,7 +38,7 @@ import Line from "../elements/NetworkLine.astro";

Achievements

  • IGCSE 5 A*s, 3 A's
  • -
  • President of Technology Society
  • +
  • President of Magnus Technology Society
  • Technology Manager of Prefects' Board
diff --git a/src/components/sections/Intro.svelte b/src/components/sections/IntroComponent.svelte similarity index 92% rename from src/components/sections/Intro.svelte rename to src/components/sections/IntroComponent.svelte index 92fa76a..3a8b24f 100644 --- a/src/components/sections/Intro.svelte +++ b/src/components/sections/IntroComponent.svelte @@ -94,7 +94,7 @@ text-white flex flex-col" > -
+
I'm Ryan!

- I am born and raised in Malaysia, fluent in Mandarin and English. + I was born and raised in Malaysia, and fluent in Mandarin and + English.

- I'm passionate in developing open source projects to benefit others, - with vast experience in leadership roles. + I'm passionate about developing open source projects that benefit others, + and I have extensive experience in leadership roles.

I'm also well networked with various Twitch streamers and content + >well-connected with various Twitch streamers and content creators, with prominent projects that positively impacted the streaming - community. I'm strongly motivated in the fields of + >, thanks to prominent projects that have had a positive impact on + the streaming community. I'm strongly motivated in the fields of web development, computer vision and data science.

diff --git a/src/components/sections/NavBar.astro b/src/components/sections/NavBar.astro index cccf28b..d98b349 100644 --- a/src/components/sections/NavBar.astro +++ b/src/components/sections/NavBar.astro @@ -2,6 +2,8 @@
@@ -90,6 +93,8 @@ .hamburger-menu { --x-width: calc(var(--hamburger-height) * 1.41421356237); + display: none; + translate: 0 -20px; flex-direction: column; @@ -172,6 +177,12 @@ max-width: 10rem; min-height: 100vh; } + + @media (max-width: 767px) { + .hamburger-menu { + display: flex; + } + }