Compare commits
40 Commits
ef37e45281
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
|
38edb64728
|
|||
| 1070662164 | |||
|
9a36a46ad1
|
|||
|
558bca7f56
|
|||
|
bc7099d627
|
|||
|
f71b054ae5
|
|||
| 0e09633e83 | |||
|
a83022c46e
|
|||
|
b1944e64d9
|
|||
|
188f4616ea
|
|||
| de33ca3814 | |||
|
e9143bfdf4
|
|||
|
87ff7e5dbd
|
|||
| 8aea5bc94f | |||
| dc00eff17c | |||
|
fe36594189
|
|||
| aa8e55c9a6 | |||
|
e2b276dc0e
|
|||
| 6721dc5eef | |||
| 6c5d16ef7a | |||
| 03b95a6c8c | |||
| 962e3614e3 | |||
| 63c84e1430 | |||
| 3b2a8a6611 | |||
|
9028175ae4
|
|||
|
280c8e15ad
|
|||
|
e081a0cb3e
|
|||
| 41c6964679 | |||
| f25c6ddd68 | |||
|
9b49710556
|
|||
| a0c3b27aab | |||
|
005dfb6929
|
|||
| b96c6d2caf | |||
| 50b8845e6c | |||
| bd689bdb44 | |||
| 8cd763b9d0 | |||
| 7042b2d500 | |||
| ccbaa41cab | |||
| cb1304aaeb | |||
| b9c4ec540a |
15
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "luke-else.co.uk",
|
||||||
|
"image": "git.luke-else.co.uk/luke-else/nodejs-dev:latest",
|
||||||
|
"remoteUser": "dev",
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"extensions": [
|
||||||
|
"ms-azuretools.vscode-docker",
|
||||||
|
"ms-vscode-remote.remote-containers",
|
||||||
|
"svelte.svelte-vscode"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"postCreateCommand": "pnpm install"
|
||||||
|
}
|
||||||
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
|
.pnpm-store
|
||||||
/build
|
/build
|
||||||
/.svelte-kit
|
/.svelte-kit
|
||||||
/package
|
/package
|
||||||
|
|||||||
2
.npmrc
@@ -1,2 +1,4 @@
|
|||||||
engine-strict=true
|
engine-strict=true
|
||||||
resolution-mode=highest
|
resolution-mode=highest
|
||||||
|
|
||||||
|
@luke-else:registry=https://git.luke-else.co.uk/api/packages/luke-else/npm/
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ This site contains information relating to my personal situation, however, you a
|
|||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="assets/images/main_page.png" width="40%">
|
<img src="assets/images/main.png" width="40%">
|
||||||
<img src="assets/images/light_mode.png" width="40%">
|
<img src="assets/images/light_mode.png" width="40%">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -25,17 +25,20 @@ Get starting but installing all of the dependencies of the project.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run dev
|
npm run dev
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# or start the server and open the app in a new browser tab
|
# or start the server and open the app in a new browser tab
|
||||||
npm run dev -- --open
|
npm run dev -- --open
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
@@ -45,6 +48,7 @@ To create a production version of the app:
|
|||||||
```bash
|
```bash
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You can preview the production build with `npm run preview`.
|
You can preview the production build with `npm run preview`.
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 166 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 298 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 85 KiB |
13
dockerfile
@@ -1,4 +1,4 @@
|
|||||||
FROM node:lts-slim as build
|
FROM git.luke-else.co.uk/luke-else/nodejs:latest AS build
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -6,15 +6,16 @@ COPY package*.json ./
|
|||||||
RUN rm -rf node_modules
|
RUN rm -rf node_modules
|
||||||
RUN rm -rf build
|
RUN rm -rf build
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm install
|
RUN pnpm install
|
||||||
RUN npm run build
|
RUN pnpm run build
|
||||||
|
|
||||||
FROM node:lts-slim as run
|
FROM git.luke-else.co.uk/luke-else/nodejs:latest AS run
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/package.json ./package.json
|
COPY --from=build /app/package.json ./package.json
|
||||||
|
COPY --from=build /app/.npmrc ./.npmrc
|
||||||
COPY --from=build /app/build ./build
|
COPY --from=build /app/build ./build
|
||||||
RUN npm install --omit=dev
|
RUN pnpm install --prod
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
ENTRYPOINT [ "npm", "run", "start" ]
|
ENTRYPOINT [ "pnpm", "run", "start" ]
|
||||||
|
|||||||
@@ -13,11 +13,11 @@
|
|||||||
"format": "prettier --plugin-search-dir . --write ."
|
"format": "prettier --plugin-search-dir . --write ."
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-json": "^6.0.0",
|
"@rollup/plugin-json": "^6.1.0",
|
||||||
"@sveltejs/adapter-auto": "6.0.0",
|
"@sveltejs/adapter-auto": "6.0.0",
|
||||||
"@sveltejs/adapter-node": "5.2.12",
|
"@sveltejs/adapter-node": "5.2.12",
|
||||||
"@sveltejs/kit": "2.20.8",
|
"@sveltejs/kit": "2.20.8",
|
||||||
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
"@sveltejs/vite-plugin-svelte": "^5.1.1",
|
||||||
"prettier": "3.5.3",
|
"prettier": "3.5.3",
|
||||||
"prettier-plugin-svelte": "3.3.3",
|
"prettier-plugin-svelte": "3.3.3",
|
||||||
"svelte": "5.28.2",
|
"svelte": "5.28.2",
|
||||||
@@ -28,8 +28,9 @@
|
|||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tailwindcss/vite": "^4.1.6",
|
"@luke-else/component-lib": "^1.1.5",
|
||||||
|
"@tailwindcss/vite": "^4.1.13",
|
||||||
"svelte-toasts": "^1.1.2",
|
"svelte-toasts": "^1.1.2",
|
||||||
"tailwindcss": "^4.1.6"
|
"tailwindcss": "^4.1.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1342
pnpm-lock.yaml
generated
@@ -1 +1 @@
|
|||||||
@import "tailwindcss"
|
@import "tailwindcss";
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
// Allows additional styling to be applied to the Card component's outer wrapping
|
|
||||||
export let containerStyle: string = "";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class={containerStyle}>
|
|
||||||
<div class="bg-slate-100/10 dark:bg-slate-100/10 rounded-2xl shadow-2xl p-6 flex flex-col h-full w-full">
|
|
||||||
<div class="text-red-400 font-bold flex flex-row justify-between items-center mb-4">
|
|
||||||
<slot name="headerLeft" class="text-2xl md:text-3xl truncate"></slot>
|
|
||||||
<slot name="headerRight" class="max-md:hidden text-xl md:text-2xl truncate"></slot>
|
|
||||||
</div>
|
|
||||||
<hr class="mb-4 border-1" />
|
|
||||||
<div class="flex-1 flex flex-col justify-center p-5">
|
|
||||||
<slot name="content"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr class="my-4 border-1" />
|
|
||||||
<div class="flex flex-row justify-between items-center mt-2 text-base opacity-90">
|
|
||||||
<slot name="footerLeft"/>
|
|
||||||
<slot name="footerRight"/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- GridGallery.svelte -->
|
|
||||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 w-full">
|
|
||||||
<slot />
|
|
||||||
</div>
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
<style>
|
|
||||||
.loader {
|
|
||||||
position: absolute;
|
|
||||||
top: calc(50% - 32px);
|
|
||||||
left: calc(50% - 32px);
|
|
||||||
width: 64px;
|
|
||||||
height: 64px;
|
|
||||||
border-radius: 50%;
|
|
||||||
perspective: 800px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inner {
|
|
||||||
position: absolute;
|
|
||||||
box-sizing: border-box;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inner.one {
|
|
||||||
left: 0%;
|
|
||||||
top: 0%;
|
|
||||||
animation: rotate-one 1s linear infinite;
|
|
||||||
border-bottom: 3px solid gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inner.two {
|
|
||||||
right: 0%;
|
|
||||||
top: 0%;
|
|
||||||
animation: rotate-two 1s linear infinite;
|
|
||||||
border-right: 3px solid gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inner.three {
|
|
||||||
right: 0%;
|
|
||||||
bottom: 0%;
|
|
||||||
animation: rotate-three 1s linear infinite;
|
|
||||||
border-top: 3px solid gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes rotate-one {
|
|
||||||
0% {
|
|
||||||
transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes rotate-two {
|
|
||||||
0% {
|
|
||||||
transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes rotate-three {
|
|
||||||
0% {
|
|
||||||
transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div class="loader">
|
|
||||||
<div class="inner one"></div>
|
|
||||||
<div class="inner two"></div>
|
|
||||||
<div class="inner three"></div>
|
|
||||||
</div>
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
export let label: string = "";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id={label} class="relative flex flex-row w-full min-h-[300px] mt-5 mb-25">
|
|
||||||
<!-- Sticky/Sliding Label -->
|
|
||||||
<div class="hidden md:flex flex-col items-center mr-6">
|
|
||||||
<div class="sticky top-24 left-0 z-10">
|
|
||||||
<span class="text-2xl font-bold text-blue-400 tracking-widest"
|
|
||||||
style="writing-mode: vertical-rl; text-orientation: mixed;">
|
|
||||||
{label}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- Main Content -->
|
|
||||||
<div class="flex-1 flex flex-col">
|
|
||||||
<!-- Label for mobile -->
|
|
||||||
<div class="md:hidden mb-2">
|
|
||||||
<span class="text-2xl font-bold text-blue-400">{label}</span>
|
|
||||||
</div>
|
|
||||||
<hr class="border-blue-400 mb-6" />
|
|
||||||
<div>
|
|
||||||
<slot />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
export let value: number = 0; // 0 to 100
|
|
||||||
export let skillColour: string = 'bg-orange-400'; // Default color
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="w-full mt-3">
|
|
||||||
<div class="flex justify-between mb-1">
|
|
||||||
<span class="text-sm font-medium">Competency Level</span>
|
|
||||||
<span class="text-sm font-medium">{value}%</span>
|
|
||||||
</div>
|
|
||||||
<div class="w-full bg-gray-800 rounded-full h-5">
|
|
||||||
<div
|
|
||||||
class="{skillColour} h-5 rounded-full transition-all duration-500"
|
|
||||||
style="width: {value}%"
|
|
||||||
></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
export let timelineData: Array<{
|
|
||||||
title: string;
|
|
||||||
description: string;
|
|
||||||
duration: string;
|
|
||||||
}>;
|
|
||||||
|
|
||||||
// Track open/closed state for each entry
|
|
||||||
let openStates = timelineData.map(() => false);
|
|
||||||
|
|
||||||
function toggle(index: number) {
|
|
||||||
openStates[index] = !openStates[index];
|
|
||||||
}
|
|
||||||
|
|
||||||
toggle(0); // Open the first entry by default
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="flex flex-col items-center justify-center">
|
|
||||||
<div class="max-w-4xl w-full">
|
|
||||||
{#each timelineData as entry, i}
|
|
||||||
<div class="relative border-l border-gray-700 pl-8 pb-12">
|
|
||||||
{#if openStates[i]}
|
|
||||||
<div class="absolute top-0 left-[8px] text-green-400 w-4 h-4">♦</div>
|
|
||||||
{:else}
|
|
||||||
<div class="absolute top-0 left-[8px] text-green-400 w-4 h-4">⋄</div>
|
|
||||||
{/if}
|
|
||||||
<p class="text-sm opacity-70">{entry.duration}</p>
|
|
||||||
<button
|
|
||||||
class="text-2lg font-semibold text-red-400 mt-1 focus:outline-none hover:underline transition"
|
|
||||||
on:click={() => toggle(i)}
|
|
||||||
aria-expanded={openStates[i]}
|
|
||||||
>
|
|
||||||
<h3 class="text-2lg font-semibold text-red-400 mt-1">{entry.title}</h3>
|
|
||||||
</button>
|
|
||||||
{#if openStates[i]}
|
|
||||||
<p class="mt-2 whitespace-pre-line transition-all duration-300">{@html entry.description}</p>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
{/each}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -1,9 +1 @@
|
|||||||
// place files you want to import through the `$lib` alias in this folder.
|
// place files you want to import through the `$lib` alias in this folder.
|
||||||
import Card from '$lib/components/Cards/Card.svelte';
|
|
||||||
import GridGallery from './components/GridGallery.svelte';
|
|
||||||
import Loading from './components/Loading.svelte';
|
|
||||||
import Section from './components/Section.svelte';
|
|
||||||
import SkillProgress from './components/SkillProgress.svelte';
|
|
||||||
import Timeline from './components/Timeline.svelte';
|
|
||||||
|
|
||||||
export { Card, GridGallery, Loading, Section, SkillProgress, Timeline };
|
|
||||||
|
|||||||
0
src/lib/types.d.ts
vendored
@@ -2,12 +2,15 @@
|
|||||||
import { getJson } from '$lib/data';
|
import { getJson } from '$lib/data';
|
||||||
import { toasts } from 'svelte-toasts';
|
import { toasts } from 'svelte-toasts';
|
||||||
|
|
||||||
import Loading from '$lib/components/Loading.svelte';
|
import {
|
||||||
import Section from '$lib/components/Section.svelte';
|
Loading,
|
||||||
import Card from '$lib/components/Cards/Card.svelte';
|
Section,
|
||||||
import GridGallery from "$lib/components/GridGallery.svelte";
|
Card,
|
||||||
import SkillProgress from "$lib/components/SkillProgress.svelte";
|
GridGallery,
|
||||||
import Timeline from '$lib/components/Timeline.svelte';
|
SkillProgress,
|
||||||
|
Timeline,
|
||||||
|
Collapsible
|
||||||
|
} from '@luke-else/component-lib';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#await getJson('/json/me.json')}
|
{#await getJson('/json/me.json')}
|
||||||
@@ -24,7 +27,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Main Card -->
|
<!-- Main Card -->
|
||||||
<Section label="[Experience]">
|
<Section label="[About]">
|
||||||
<Card>
|
<Card>
|
||||||
<h2 slot="headerLeft">{info.name}</h2>
|
<h2 slot="headerLeft">{info.name}</h2>
|
||||||
<h2 slot="headerRight">{info.job_title}</h2>
|
<h2 slot="headerRight">{info.job_title}</h2>
|
||||||
@@ -34,28 +37,39 @@
|
|||||||
alt="Avatar"
|
alt="Avatar"
|
||||||
class="max-md:hidden rounded-full w-32 h-32 md:w-48 md:h-48 mt-2 mb-2 p-2 border-3"
|
class="max-md:hidden rounded-full w-32 h-32 md:w-48 md:h-48 mt-2 mb-2 p-2 border-3"
|
||||||
/>
|
/>
|
||||||
<p>{@html info.about}</p>
|
<p
|
||||||
|
class="[&>*]:underline [&>*]:decoration-2 [&>*]:decoration-transparent [&>*]:hover:decoration-inherit [&>*]:transition-all [&>*]:duration-300 [&>*]:text-green-600"
|
||||||
|
>
|
||||||
|
{@html info.about}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<h3 slot="footerLeft">{@html info.location}</h3>
|
<h3 slot="footerLeft">{@html info.location}</h3>
|
||||||
</Card>
|
</Card>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
<!-- SKills -->
|
<!-- Skills -->
|
||||||
<Section label="[Skills]">
|
<Section label="[Skills]">
|
||||||
<GridGallery>
|
<GridGallery>
|
||||||
{#each info.skills as skill}
|
{#each info.skills as skill}
|
||||||
<Card containerStyle="opacity-100 hover:opacity-100 hover:scale-[105%] md:opacity-70 transition-all duration-300">
|
<Card
|
||||||
|
containerStyle="opacity-100 hover:opacity-100 hover:scale-[105%] md:opacity-70 transition-all duration-300"
|
||||||
|
>
|
||||||
<h2 slot="headerLeft">{skill.name}</h2>
|
<h2 slot="headerLeft">{skill.name}</h2>
|
||||||
|
<i slot="headerRight" class="text-slate-300 text-5xl {skill.logo}"></i>
|
||||||
<div slot="content">
|
<div slot="content">
|
||||||
{skill.about}
|
<Collapsible>
|
||||||
|
<span slot="label" class="text-lg">About {skill.name}</span>
|
||||||
|
<span slot="content">{skill.about}</span>
|
||||||
|
</Collapsible>
|
||||||
<SkillProgress skillColour={skill.colour} value={skill.competency} />
|
<SkillProgress skillColour={skill.colour} value={skill.competency} />
|
||||||
</div>
|
</div>
|
||||||
<h3 slot="footerLeft"><a href="{skill.link}" target="_blank">{skill.link}</a></h3>
|
<h3 slot="footerLeft"><a href={skill.link} target="_blank">{skill.link}</a></h3>
|
||||||
</Card>
|
</Card>
|
||||||
{/each}
|
{/each}
|
||||||
</GridGallery>
|
</GridGallery>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
|
<!-- Experience -->
|
||||||
<Section label="[Experience]">
|
<Section label="[Experience]">
|
||||||
<Timeline timelineData={info.timeline} />
|
<Timeline timelineData={info.timeline} />
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { ToastContainer, FlatToast } from 'svelte-toasts';
|
|
||||||
import '../app.css';
|
import '../app.css';
|
||||||
|
import { ToastContainer, FlatToast } from 'svelte-toasts';
|
||||||
|
import { PageIcon } from '@luke-else/component-lib';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
@@ -14,6 +15,10 @@
|
|||||||
<a href="/contact" class="hover:underline">//Contact</a>
|
<a href="/contact" class="hover:underline">//Contact</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<a href="https://git.luke-else.co.uk" target="_blank">
|
||||||
|
<PageIcon iconClass="devicon-git-plain" />
|
||||||
|
</a>
|
||||||
|
|
||||||
<div class="container mx-auto justify-center items-center flex flex-col">
|
<div class="container mx-auto justify-center items-center flex flex-col">
|
||||||
<slot />
|
<slot />
|
||||||
<ToastContainer let:data>
|
<ToastContainer let:data>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { toasts } from 'svelte-toasts';
|
import { toasts } from 'svelte-toasts';
|
||||||
import Card from '$lib/components/Cards/Card.svelte';
|
import { Card, Section } from '@luke-else/component-lib';
|
||||||
|
|
||||||
import { page } from '$app/state';
|
import { page } from '$app/state';
|
||||||
const sent = page.url.searchParams.get('sent');
|
const sent = page.url.searchParams.get('sent');
|
||||||
@@ -26,16 +26,23 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Card headerLeft="Contact Me">
|
<Section label="[Contact]">
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<Card>
|
||||||
|
<div slot="headerLeft">
|
||||||
|
Contact Me
|
||||||
|
</div>
|
||||||
<!-- Contact Form -->
|
<!-- Contact Form -->
|
||||||
<form class="w-full max-w-3xl mx-auto flex flex-col gap-4 text-lg" action="https://api.staticforms.xyz/submit" method="post">
|
<form slot="content" class="w-full max-w-3xl mx-auto flex flex-col gap-4 text-lg" action="https://api.staticforms.xyz/submit" method="post">
|
||||||
<div class="hidden">
|
<div class="hidden">
|
||||||
<input type="hidden" name="accessKey" value="fbb5ec04-506b-448a-a445-a2e47579a966">
|
<input type="hidden" name="accessKey" value="fbb5ec04-506b-448a-a445-a2e47579a966">
|
||||||
<input type="hidden" name="replyTo" value="@">
|
<input type="hidden" name="replyTo" value="@">
|
||||||
<input type="text" name="honeypot" style="display: none;">
|
<input type="text" name="honeypot" style="display: none;">
|
||||||
<input type="hidden" name="redirectTo" value="https://luke-else.co.uk/contact?sent=true">
|
<input type="hidden" name="redirectTo" value="https://luke-else.co.uk/contact?sent=true">
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col md:flex-row gap-3">
|
<div class="flex flex-row md:flex-row gap-3">
|
||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<label class="block text-xs font-medium mb-1" for="name">Name</label>
|
<label class="block text-xs font-medium mb-1" for="name">Name</label>
|
||||||
<input
|
<input
|
||||||
@@ -92,4 +99,5 @@
|
|||||||
Send Message
|
Send Message
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</Card>
|
</Card>
|
||||||
|
</Section>
|
||||||
|
|||||||
@@ -3,9 +3,7 @@
|
|||||||
import { timeSince, checkImage, IMAGE_URL_SUFFIX } from '$lib/api/git';
|
import { timeSince, checkImage, IMAGE_URL_SUFFIX } from '$lib/api/git';
|
||||||
import { toasts } from 'svelte-toasts';
|
import { toasts } from 'svelte-toasts';
|
||||||
|
|
||||||
import GridGallery from '$lib/components/GridGallery.svelte';
|
import { GridGallery, Card, Loading, Section, Collapsible } from '@luke-else/component-lib';
|
||||||
import Card from '$lib/components/Cards/Card.svelte';
|
|
||||||
import Loading from '$lib/components/Loading.svelte';
|
|
||||||
|
|
||||||
let repoImages: Record<string, string | null> = {};
|
let repoImages: Record<string, string | null> = {};
|
||||||
|
|
||||||
@@ -21,10 +19,10 @@
|
|||||||
})();
|
})();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<Section label="[Repositories]">
|
||||||
{#await loadRepos()}
|
{#await loadRepos()}
|
||||||
<Loading />
|
<Loading />
|
||||||
{:then _}
|
{:then _}
|
||||||
{#if $repos.length == 0}
|
{#if $repos.length == 0}
|
||||||
{console.log('No Repos')}
|
{console.log('No Repos')}
|
||||||
<div style="display: none;">
|
<div style="display: none;">
|
||||||
@@ -37,29 +35,32 @@
|
|||||||
showProgress: true
|
showProgress: true
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
|
<p>Sorry... we can't show you anything here</p>
|
||||||
{/if}
|
{/if}
|
||||||
<!-- Repositories loaded successfully -->
|
<!-- Repositories loaded successfully -->
|
||||||
<GridGallery>
|
<GridGallery>
|
||||||
{#each $repos as repo}
|
{#each $repos as repo}
|
||||||
<!-- <Loading /> -->
|
<!-- <Loading /> -->
|
||||||
<Card
|
<Card
|
||||||
containerStyle="group relative flex-1 min-w-[250px] max-w-full md:min-w-[33%] opacity-100 hover:opacity-100 hover:scale-[105%] md:opacity-70 transition-all duration-300 overflow-hidden"
|
containerStyle="opacity-100 hover:opacity-100 hover:scale-[105%] md:opacity-70 transition-all duration-300"
|
||||||
>
|
>
|
||||||
<h2 slot="headerLeft">{repo.name}</h2>
|
<h2 slot="headerLeft">{repo.name}</h2>
|
||||||
<h2 slot="headerRight" class="text-sm text-gray-500">
|
<h2 slot="headerRight" class="text-sm text-gray-500">
|
||||||
{repo.language}
|
{repo.language}
|
||||||
</h2>
|
</h2>
|
||||||
<div slot="content">
|
<div class="flex flex-col gap-5" slot="content">
|
||||||
<div class="relative z-0">
|
|
||||||
{repo.description}
|
{repo.description}
|
||||||
</div>
|
|
||||||
{#if repoImages[repo.name]}
|
{#if repoImages[repo.name]}
|
||||||
|
<Collapsible>
|
||||||
|
<span slot="label" class="text-lg">See More</span>
|
||||||
<!-- svelte-ignore a11y_img_redundant_alt -->
|
<!-- svelte-ignore a11y_img_redundant_alt -->
|
||||||
<img
|
<img
|
||||||
|
slot="content"
|
||||||
src={repoImages[repo.name]}
|
src={repoImages[repo.name]}
|
||||||
alt="repo image"
|
alt="repo image"
|
||||||
class="absolute left-0 bottom-0 h-full w-full object-cover rounded-2xl transition-transform duration-500 translate-y-full group-hover:translate-y-0 z-10 pointer-events-none"
|
class=""
|
||||||
/>
|
/>
|
||||||
|
</Collapsible>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<h3 slot="footerLeft">
|
<h3 slot="footerLeft">
|
||||||
@@ -68,4 +69,5 @@
|
|||||||
</Card>
|
</Card>
|
||||||
{/each}
|
{/each}
|
||||||
</GridGallery>
|
</GridGallery>
|
||||||
{/await}
|
{/await}
|
||||||
|
</Section>
|
||||||
|
|||||||
@@ -22,12 +22,12 @@
|
|||||||
"competency": 80
|
"competency": 80
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Tailwind CSS",
|
"name" : "Python",
|
||||||
"logo": "devicon-tailwindcss-plain",
|
"logo": "devicon-python-plain",
|
||||||
"colour": "bg-blue-800",
|
"colour": "bg-yellow-400",
|
||||||
"link": "https://tailwindcss.com/",
|
"link": "https://python.org",
|
||||||
"about": "Tailwind CSS is a utility-first CSS framework that enables rapid UI development with a focus on customization and responsiveness.",
|
"about": "Python is a versatile language known for its simplicity and readability, making it ideal for rapid development and data analysis.",
|
||||||
"competency": 60
|
"competency": 70
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Git",
|
"name": "Git",
|
||||||
@@ -45,6 +45,54 @@
|
|||||||
"about": "Docker simplifies deployment by packaging applications in lightweight containers, ensuring consistency across environments.",
|
"about": "Docker simplifies deployment by packaging applications in lightweight containers, ensuring consistency across environments.",
|
||||||
"competency": 100
|
"competency": 100
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Kubernetes",
|
||||||
|
"logo": "devicon-kubernetes-plain",
|
||||||
|
"colour": "bg-blue-600",
|
||||||
|
"link": "https://kubernetes.io",
|
||||||
|
"about": "Kubernetes automates the deployment, scaling, and management of containerized applications, enhancing operational efficiency.",
|
||||||
|
"competency": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PostgreSQL",
|
||||||
|
"logo": "devicon-postgresql-plain",
|
||||||
|
"colour": "bg-blue-700",
|
||||||
|
"link": "https://postgresql.org",
|
||||||
|
"about": "PostgreSQL is a powerful, open-source relational database known for its robustness and advanced features.",
|
||||||
|
"competency": 70
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MongoDB",
|
||||||
|
"logo": "devicon-mongodb-plain",
|
||||||
|
"colour": "bg-green-500",
|
||||||
|
"link": "https://mongodb.com",
|
||||||
|
"about": "MongoDB is a NoSQL database that provides flexibility and scalability for modern applications with unstructured data.",
|
||||||
|
"competency": 70
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Redis",
|
||||||
|
"logo": "devicon-redis-plain",
|
||||||
|
"colour": "bg-red-600",
|
||||||
|
"link": "https://redis.io",
|
||||||
|
"about": "Redis is an in-memory data structure store, used as a database, cache, and message broker for high-performance applications.",
|
||||||
|
"competency": 30
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JavaScript",
|
||||||
|
"logo": "devicon-javascript-plain",
|
||||||
|
"colour": "bg-yellow-500",
|
||||||
|
"link": "https://javascript.com",
|
||||||
|
"about": "JavaScript is a versatile language that powers dynamic web applications and enhances user interactivity.",
|
||||||
|
"competency": 60
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tailwind CSS",
|
||||||
|
"logo": "devicon-tailwindcss-plain",
|
||||||
|
"colour": "bg-blue-800",
|
||||||
|
"link": "https://tailwindcss.com/",
|
||||||
|
"about": "Tailwind CSS is a utility-first CSS framework that enables rapid UI development with a focus on customization and responsiveness.",
|
||||||
|
"competency": 60
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Svelte",
|
"name": "Svelte",
|
||||||
"logo": "devicon-svelte-plain",
|
"logo": "devicon-svelte-plain",
|
||||||
@@ -56,9 +104,14 @@
|
|||||||
],
|
],
|
||||||
"timeline" : [
|
"timeline" : [
|
||||||
{
|
{
|
||||||
"duration" : "September 2022 - Present",
|
"duration" : "April 2025 - Present",
|
||||||
"title" : "Thales UK - Software Engineer",
|
"title" : "Thales UK (DDCC) - Software Engineer",
|
||||||
"description" : "As a software engineering apprentice at Thales UK, I find myself partaking in agile / scrum development methodologies in a strong team of 6 other engineers. The team iterates on a pre-existing system designed for the MOD, written in C++, using internal frameworks to assist."
|
"description" : "As a 3rd year apprentice at Thales UK’s Digital Data Competency Centre, I have taken on responsibility for developing microservices that encapsulate Machine Learning models provided by R&D teams, helping to advance product readiness. These services are primarily written in Python and deployed to Kubernetes clusters for use across the business. Our team also designs and maintains CI/CD pipelines to automate the deployment of both these services and their supporting infrastructure."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"duration" : "September 2022 - April 2025",
|
||||||
|
"title" : "Thales UK (ISR) - Software Engineer",
|
||||||
|
"description" : "As a software engineering apprentice at Thales UK, Intelligence Surveillance and Reconnaissance, I worked within an agile team of six engineers, contributing to the ongoing development of a C++ system for the MOD. My role involved collaborating closely with colleagues, following Scrum methodologies, and leveraging internal frameworks to enhance and maintain the existing platform."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"duration" : "September 2022 - Present",
|
"duration" : "September 2022 - Present",
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
theme: {
|
|
||||||
extend: {
|
|
||||||
colors: {
|
|
||||||
'one-bg': '#282c34',
|
|
||||||
'one-bg-light': '#3a3f4b',
|
|
||||||
'one-fg': '#abb2bf',
|
|
||||||
'one-accent': '#61afef',
|
|
||||||
'one-green': '#98c379',
|
|
||||||
'one-orange': '#d19a66',
|
|
||||||
'one-red': '#e06c75',
|
|
||||||
'one-yellow': '#e5c07b',
|
|
||||||
'one-purple': '#c678dd',
|
|
||||||
'one-cyan': '#56b6c2',
|
|
||||||
'one-comment': '#5c6370',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||