Compare commits

..

No commits in common. "a330f7caf5cc7d2ec3660254d060e91a61c2aa5c" and "86035dc9e509e901273db1db5c3089605081d852" have entirely different histories.

8 changed files with 29 additions and 47 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -16,19 +16,19 @@
"@sveltejs/adapter-auto": "^3.2.5", "@sveltejs/adapter-auto": "^3.2.5",
"@sveltejs/adapter-cloudflare": "^4.7.3", "@sveltejs/adapter-cloudflare": "^4.7.3",
"@sveltejs/kit": "^2.7.1", "@sveltejs/kit": "^2.7.1",
"@sveltejs/vite-plugin-svelte": "^4", "@sveltejs/vite-plugin-svelte": "^3.1.2",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"daisyui": "^4.12.13", "daisyui": "^4.12.13",
"eslint": "^9.12.0", "eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.45.1", "eslint-plugin-svelte": "^2.44.1",
"globals": "^15.11.0", "globals": "^15.11.0",
"postcss": "^8.4.47", "postcss": "^8.4.47",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7", "prettier-plugin-svelte": "^3.2.7",
"svelte": "^5", "svelte": "^4.2.19",
"svelte-check": "^4.0.5", "svelte-check": "^4.0.5",
"svelte-eslint-parser": "^0.43", "svelte-eslint-parser": "^0.41.1",
"svelte-preprocess": "^6.0.3", "svelte-preprocess": "^6.0.3",
"tailwindcss": "^3.4.13", "tailwindcss": "^3.4.13",
"tslib": "^2.7.0", "tslib": "^2.7.0",

View File

@ -1,21 +1,21 @@
<script lang="ts"> <script lang="ts">
import { onMount } from "svelte"; import { onMount } from "svelte";
let w: number = $state(0); // Width of the screen, using the svelte binding let w: number = 0; // Width of the screen, using the svelte binding
const GRADUATION = new Date(1753797600000).valueOf(); const GRADUATION = new Date(1753797600000).valueOf();
const FORMATTED = new Date(1753797600000).toDateString(); const FORMATTED = new Date(1753797600000).toDateString();
let interval: ReturnType<typeof setInterval>; let interval: ReturnType<typeof setInterval>;
let timeTo = $state(Math.abs(GRADUATION - Date.now().valueOf()) / 1000); let timeTo = Math.abs(GRADUATION - Date.now().valueOf()) / 1000;
// Calculate time remaining from milliseconds to graduation (30 Jul, 2025) // Calculate time remaining from milliseconds to graduation (30 Jul, 2025)
let years = $derived(Math.floor(timeTo / 31556926)); $: years = Math.floor(timeTo / 31556926);
let months = $derived(Math.floor(timeTo / 2629743) % 12); $: months = Math.floor(timeTo / 2629743) % 12;
let days = $derived(Math.floor(timeTo / 86400) % 30); $: days = Math.floor(timeTo / 86400) % 30;
let hours = $derived(Math.floor(timeTo / 3600) % 24); $: hours = Math.floor(timeTo / 3600) % 24;
let minutes = $derived(Math.floor(timeTo / 60) % 60); $: minutes = Math.floor(timeTo / 60) % 60;
let seconds = $derived(Math.floor(timeTo % 60)); $: seconds = Math.floor(timeTo % 60);
// Update the timeTo variable every 1000 milliseconds // Update the timeTo variable every 1000 milliseconds
// Don't go past 0 though! Stop the updates afterwards // Don't go past 0 though! Stop the updates afterwards

View File

@ -1,13 +1,9 @@
<script lang="ts"> <script lang="ts">
import { onMount } from "svelte"; import { onMount } from "svelte";
interface Props { export let src: string;
src: string; export let altText: string = "";
altText?: string;
}
let { src, altText = "" }: Props = $props(); let loaded = false;
let loaded = $state(false);
onMount(() => { onMount(() => {
const img = new Image(); const img = new Image();
@ -22,5 +18,5 @@
{#if loaded} {#if loaded}
<img {src} class="w-48 h-64 shadow-2xl max-w-sm rounded-2xl" alt={altText} /> <img {src} class="w-48 h-64 shadow-2xl max-w-sm rounded-2xl" alt={altText} />
{:else} {:else}
<div class="skeleton w-48 h-64 shadow-2xl max-w-sm rounded-2xl"></div> <div class="skeleton w-48 h-64 shadow-2xl max-w-sm rounded-2xl" />
{/if} {/if}

View File

@ -2,12 +2,8 @@
import Star from "lucide-svelte/icons/star"; import Star from "lucide-svelte/icons/star";
import HalfStar from "lucide-svelte/icons/star-half"; import HalfStar from "lucide-svelte/icons/star-half";
interface Props { export let count: number = 5;
count?: number; export let half: boolean = false;
half?: boolean;
}
let { count = 5, half = false }: Props = $props();
</script> </script>
<div class="flex"> <div class="flex">

View File

@ -1,11 +1,6 @@
<script lang="ts"> <script lang="ts">
interface Props { export let middle: boolean = false;
middle?: boolean; export let classes: string = ""; // Further classes to pass through
classes?: string;
children?: import('svelte').Snippet;
}
let { middle = false, classes = "", children }: Props = $props();
</script> </script>
<!-- If the text is between some other text, adjust padding to not seperate it out too much --> <!-- If the text is between some other text, adjust padding to not seperate it out too much -->
@ -14,11 +9,11 @@
<div> <div>
{#if middle} {#if middle}
<p class="px-5 mx-auto text-xl max-w-3xl {classes}"> <p class="px-5 mx-auto text-xl max-w-3xl {classes}">
{@render children?.()} <slot />
</p> </p>
{:else} {:else}
<p class="p-5 mx-auto text-xl max-w-3xl {classes}"> <p class="p-5 mx-auto text-xl max-w-3xl {classes}">
{@render children?.()} <slot />
</p> </p>
{/if} {/if}
</div> </div>

View File

@ -12,7 +12,7 @@
<time class="font-mono" datetime="2020-3">Mar 2020 - Jul 2020</time> <time class="font-mono" datetime="2020-3">Mar 2020 - Jul 2020</time>
<div class="text-xl">Villanova College</div> <div class="text-xl">Villanova College</div>
<div class="text-sm">Information Technology Officer</div> <div class="text-sm">Information Technology Officer</div>
<div class="divider my-1"></div> <div class="divider my-1" />
Help Desk Role: Help Desk Role:
<ul class="list-disc list-inside mt-2"> <ul class="list-disc list-inside mt-2">
<li>Performed repairs and troubleshooting for both students and teachers.</li> <li>Performed repairs and troubleshooting for both students and teachers.</li>
@ -29,7 +29,7 @@
configuration throughout school. configuration throughout school.
</li> </li>
</ul> </ul>
<div class="divider my-1"></div> <div class="divider my-1" />
Key Experiences and Takeaways: Key Experiences and Takeaways:
<ul class="list-disc list-inside mt-2"> <ul class="list-disc list-inside mt-2">
<li>Became more comfortable and confident in an end-user facing role.</li> <li>Became more comfortable and confident in an end-user facing role.</li>
@ -56,7 +56,7 @@
<div class="text-xl">St Pauls School</div> <div class="text-xl">St Pauls School</div>
<div class="text-sm pb-2">Information Technology Officer</div> <div class="text-sm pb-2">Information Technology Officer</div>
</div> </div>
<div class="divider my-1"></div> <div class="divider my-1" />
Help Desk Role: Help Desk Role:
<ul class="list-disc list-inside mt-2"> <ul class="list-disc list-inside mt-2">
<li> <li>
@ -71,7 +71,7 @@
Gained more experience in Azure ecosystem, SCCM deployment, and networking. Gained more experience in Azure ecosystem, SCCM deployment, and networking.
</li> </li>
</ul> </ul>
<div class="divider my-1"></div> <div class="divider my-1" />
Key Experiences and Takeaways: Key Experiences and Takeaways:
<ul class="list-disc list-inside mt-2"> <ul class="list-disc list-inside mt-2">
<li>Working in a larger group to cover more ground</li> <li>Working in a larger group to cover more ground</li>
@ -96,7 +96,7 @@
<time class="font-mono" datetime="2022-10">Oct 2022 - Feb 2023</time> <time class="font-mono" datetime="2022-10">Oct 2022 - Feb 2023</time>
<div class="text-xl">St Pauls School</div> <div class="text-xl">St Pauls School</div>
<div class="text-sm pb-2">System Administrator</div> <div class="text-sm pb-2">System Administrator</div>
<div class="divider my-1"></div> <div class="divider my-1" />
System Administrator Role: System Administrator Role:
<ul class="list-disc list-inside mt-2"> <ul class="list-disc list-inside mt-2">
<li> <li>
@ -112,7 +112,7 @@
importing new users into TASS and AD. importing new users into TASS and AD.
</li> </li>
</ul> </ul>
<div class="divider my-1"></div> <div class="divider my-1" />
Key Experiences and Takeaways: Key Experiences and Takeaways:
<ul class="list-disc list-inside mt-2"> <ul class="list-disc list-inside mt-2">
<li>There is always something to be improved upon if you look hard enough.</li> <li>There is always something to be improved upon if you look hard enough.</li>

View File

@ -2,15 +2,10 @@
import "../app.css"; import "../app.css";
import Navbar from "$lib/components/navbar/navbar.svelte"; import Navbar from "$lib/components/navbar/navbar.svelte";
import Footer from "$lib/components/footer.svelte"; import Footer from "$lib/components/footer.svelte";
interface Props {
children?: import('svelte').Snippet;
}
let { children }: Props = $props();
</script> </script>
<Navbar /> <Navbar />
{@render children?.()} <slot />
<Footer /> <Footer />