diff --git a/bun.lockb b/bun.lockb index d27139a..48c11f8 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index eba75f6..c65763d 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,26 @@ { - "name": "dev-portfolio", - "type": "module", - "version": "3.0.1", - "scripts": { - "dev": "astro dev", - "start": "astro dev", - "build": "astro build", - "preview": "astro preview", - "astro": "astro" - }, - "dependencies": { - "@astrojs/svelte": "^4.0.2", - "@astrojs/tailwind": "^5.0.0", - "astro": "^3.2.0", - "svelte": "^4.2.1", - "tailwindcss": "^3.3.3" - }, - "devDependencies": { - "prettier": "^3.0.3", - "prettier-plugin-astro": "^0.12.0", - "prettier-plugin-svelte": "^3.0.3" - } + "name": "dev-portfolio", + "type": "module", + "version": "3.0.1", + "scripts": { + "dev": "astro dev", + "start": "astro dev", + "build": "astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/svelte": "^4.0.2", + "@astrojs/tailwind": "^5.0.0", + "astro": "^3.2.0", + "moment": "^2.30.1", + "moment-timezone": "^0.5.45", + "svelte": "^4.2.1", + "tailwindcss": "^3.3.3" + }, + "devDependencies": { + "prettier": "^3.0.3", + "prettier-plugin-astro": "^0.12.0", + "prettier-plugin-svelte": "^3.0.3" + } } diff --git a/src/components/sections/IntroComponent.svelte b/src/components/sections/IntroComponent.svelte index be26d24..b301000 100644 --- a/src/components/sections/IntroComponent.svelte +++ b/src/components/sections/IntroComponent.svelte @@ -146,7 +146,8 @@ >,
I'm Ryan!

- I was born and raised in Malaysia, and fluent in Mandarin Chinese + I was born and raised in Malaysia, currently studying my Bachelor's + in Computer Science in Australia! I speak fluent in Mandarin Chinese and English.

I'm passionate about developing open source projects that benefit others, diff --git a/src/components/sections/StreamSchedule.svelte b/src/components/sections/StreamSchedule.svelte new file mode 100644 index 0000000..1544177 --- /dev/null +++ b/src/components/sections/StreamSchedule.svelte @@ -0,0 +1,157 @@ + + + +

+ + +
+
+ + + + + + {#if adjusted} + {#each formattedLocalisedSchedule as localTime} + + + + + {/each} + {:else} + {#each formattedSchedule as devTime} + + + + + {/each} + {/if} +
DayTime
{localTime.day}{localTime.start} - {localTime.end}
{devTime.day}{devTime.start} - {devTime.end}
+
diff --git a/src/pages/socials.astro b/src/pages/socials.astro index b025103..2dddb84 100644 --- a/src/pages/socials.astro +++ b/src/pages/socials.astro @@ -1,5 +1,6 @@ --- import Layout from "../layouts/Layout.astro"; +import StreamScheduleComponent from "../components/sections/StreamSchedule.svelte"; --- @@ -421,8 +422,17 @@ import Layout from "../layouts/Layout.astro"; + +
+ +
-
+
+ +