Update CV, make programming first selected CV and hide others
Deploy with Docker Compose / deploy (push) Has been cancelled

This commit is contained in:
2026-07-07 12:19:23 +01:00
parent 3e25b3d51f
commit 4f16b000bc
4 changed files with 292 additions and 238 deletions
+18 -16
View File
@@ -3,24 +3,24 @@ import { ref, shallowRef } from "vue";
import { RouterLink } from "vue-router"; import { RouterLink } from "vue-router";
import CVGeneral from "./CVGeneral.vue"; import CVGeneral from "./CVGeneral.vue";
import CVProgramming from "./CVProgramming.vue"; import CVProgramming from "./CVProgramming.vue";
import CVSecurity from "./CVSecurity.vue"; // import CVSecurity from "./CVSecurity.vue";
import CVBackend from "./CVBackend.vue"; // import CVBackend from "./CVBackend.vue";
import CVFrontend from "./CVFrontend.vue"; // import CVFrontend from "./CVFrontend.vue";
import CVTemp from "./CVTemp.vue"; // import CVTemp from "./CVTemp.vue";
import CVElectrical from "./CVElectrical.vue"; // import CVElectrical from "./CVElectrical.vue";
import CVHospitality from "./CVHospitality.vue"; // import CVHospitality from "./CVHospitality.vue";
import CVAnalyst from "./CVAnalyst.vue"; // import CVAnalyst from "./CVAnalyst.vue";
const templates = [ const templates = [
{ label: "General", component: CVGeneral },
{ label: "Programming", component: CVProgramming }, { label: "Programming", component: CVProgramming },
{ label: "Security", component: CVSecurity }, { label: "General", component: CVGeneral },
{ label: "Backend", component: CVBackend }, // { label: "Security", component: CVSecurity },
{ label: "Frontend", component: CVFrontend }, // { label: "Backend", component: CVBackend },
{ label: "Temp", component: CVTemp }, // { label: "Frontend", component: CVFrontend },
{ label: "Electrical", component: CVElectrical }, // { label: "Temp", component: CVTemp },
{ label: "Hospitality", component: CVHospitality }, // { label: "Electrical", component: CVElectrical },
{ label: "Analyst", component: CVAnalyst }, // { label: "Hospitality", component: CVHospitality },
// { label: "Analyst", component: CVAnalyst },
]; ];
const selected = ref(0); const selected = ref(0);
@@ -48,7 +48,9 @@ function print() {
{{ t.label }} {{ t.label }}
</button> </button>
<button class="cv-btn cv-print-btn" @click="print()">Print</button> <button class="cv-btn cv-print-btn" @click="print()">Print</button>
<RouterLink to="/cv/jobs" class="cv-btn cv-jobs-btn">Jobs</RouterLink> <RouterLink to="/cv/jobs" class="cv-btn cv-jobs-btn"
>Jobs</RouterLink
>
</div> </div>
<Transition name="cv-fade" mode="out-in"> <Transition name="cv-fade" mode="out-in">
<component :is="currentComponent" :key="selected" /> <component :is="currentComponent" :key="selected" />
+50 -22
View File
@@ -21,24 +21,23 @@ import Project from "./Project.vue";
</div> </div>
</div> </div>
</section> </section>
<section>
<h2>Education</h2> <h2>Education</h2>
<section class="w-full flex flex-col sm:flex-row gap-5"> <div class="w-full flex flex-col sm:flex-row gap-5">
<div class="flex-1"> <div class="flex-1">
<h2>
<a
href="https://www.adam-french.co.uk/pdf/transcript.pdf"
>
University of Leeds
</a>
</h2>
<div <div
class="flex-row flex place-content-between m-auto place-items-center" class="flex-row flex place-content-between m-auto place-items-center"
> >
<small>First Class Honours (81.1%)</small> <h3>
<small>Sep 2021 – Jun 2025</small> <a href="/pdf/transcript.pdf">
University of Leeds
</a>
</h3>
<p>First Class Honours (81.1%)</p>
</div> </div>
<small>BSc Computer Science with Mathematics </small> <p>BSc Computer Science with Mathematics</p>
<ul class="list-disc list-inside"> <ul class="list-disc list-inside pt-1">
<li>Algorithms & Data Structures I & II</li> <li>Algorithms & Data Structures I & II</li>
<li>Compiler Design and Construction</li> <li>Compiler Design and Construction</li>
<li>Formal Languages & Finite Automata</li> <li>Formal Languages & Finite Automata</li>
@@ -49,21 +48,26 @@ import Project from "./Project.vue";
</ul> </ul>
</div> </div>
<div class="flex-1"> <div class="flex-1">
<h2>University of Waterloo</h2>
<div <div
class="flex-row flex place-content-between m-auto place-items-center" class="flex-row flex place-content-between m-auto place-items-center"
> >
<small>Year abroad</small> <h3>
<small>Sep 2023 – Apr 2024</small> <a href="/pdf/transcript2.pdf">
University of Waterloo
</a>
</h3>
</div> </div>
<ul class="list-disc list-inside"> <p>Year abroad</p>
<ul class="list-disc list-inside pt-1">
<li>Applied Cryptography</li> <li>Applied Cryptography</li>
<li>Introduction to Computer Graphics</li> <li>Introduction to Computer Graphics</li>
<li> <li>
Introduction to Rings and Fields with Applications Introduction to Rings and Fields with
Applications
</li> </li>
</ul> </ul>
</div> </div>
</div>
</section> </section>
<section> <section>
@@ -249,7 +253,13 @@ import Project from "./Project.vue";
<Project class="border-b border-dotted"> <Project class="border-b border-dotted">
<template #left> <template #left>
<h4>Daisy Green Holland Park</h4> <h4>
<a
href="https://www.daisygreenfood.com/location-hollandpark"
>
Daisy Green Holland Park
</a>
</h4>
</template> </template>
<template #top> <template #top>
<small>Barista & Front of House</small> <small>Barista & Front of House</small>
@@ -262,7 +272,11 @@ import Project from "./Project.vue";
</Project> </Project>
<Project class="border-b border-dotted"> <Project class="border-b border-dotted">
<template #left> <template #left>
<h4>Belgrave Music Hall</h4> <h4>
<a href="https://www.belgravemusichall.com/">
Belgrave Music Hall
</a>
</h4>
</template> </template>
<template #top> <template #top>
<small>Bartender & Waiter</small> <small>Bartender & Waiter</small>
@@ -277,7 +291,11 @@ import Project from "./Project.vue";
</Project> </Project>
<Project class="border-b border-dotted"> <Project class="border-b border-dotted">
<template #left> <template #left>
<h4>The Crown and Anchor</h4> <h4>
<a href="https://crownandanchoreastbourne.co.uk/">
The Crown and Anchor
</a>
</h4>
</template> </template>
<template #top> <template #top>
<small>Bartender & Waiter</small> <small>Bartender & Waiter</small>
@@ -292,7 +310,11 @@ import Project from "./Project.vue";
</Project> </Project>
<Project class="border-b border-dotted"> <Project class="border-b border-dotted">
<template #left> <template #left>
<h4>To The Rise Bakery</h4> <h4>
<a href="https://www.totherisebakery.com/">
To The Rise Bakery
</a>
</h4>
</template> </template>
<template #top> <template #top>
<small>Barista & Front of House</small> <small>Barista & Front of House</small>
@@ -307,7 +329,13 @@ import Project from "./Project.vue";
</Project> </Project>
<Project> <Project>
<template #left> <template #left>
<h4>BFI Riverfront Kitchen</h4> <h4>
<a
href="https://www.benugo.com/sites/restaurants/bfi-riverfront/"
>
BFI Riverfront Kitchen
</a>
</h4>
</template> </template>
<template #top> <template #top>
<small>Cashier & Waiter</small> <small>Cashier & Waiter</small>
+1 -1
View File
@@ -68,7 +68,6 @@
.cv-template h3, .cv-template h3,
.cv-template h4 { .cv-template h4 {
margin: var(--cv-heading-margin); margin: var(--cv-heading-margin);
border: none;
color: var(--primary); color: var(--primary);
font-family: var(--font-heading); font-family: var(--font-heading);
text-transform: var(--cv-heading-transform); text-transform: var(--cv-heading-transform);
@@ -80,6 +79,7 @@
.cv-template h2 { .cv-template h2 {
border-bottom: 1px solid var(--primary); border-bottom: 1px solid var(--primary);
margin-bottom: 2px;
font-size: var(--cv-subheading-size); font-size: var(--cv-subheading-size);
} }
+35 -11
View File
@@ -1,7 +1,10 @@
<template> <template>
<div class="container"> <div class="menu">
<div class="menu"></div> <div class="header">
<div class="header"></div> <div class="sort-select"></div>
<div class="mix-select"></div>
<div class="levelbar"></div>
</div>
<div class="footer"> <div class="footer">
<div class="footer-difficulty"></div> <div class="footer-difficulty"></div>
<div class="footer-controls"> <div class="footer-controls">
@@ -35,23 +38,26 @@
</template> </template>
<style scoped> <style scoped>
.container { div {
width: 100%; opacity: 80%;
height: 100%;
} }
.menu { .menu {
position: absolute; position: absolute;
inset: 0; inset: 0;
width: 100%; width: 1920px;
height: 100%; height: 1080px;
background-image: url("/img/ss_c523b1c1311d195e10b1a96c70db1b85c20a8bda.1920x1080.jpg"); background-image: url("/img/ss_c523b1c1311d195e10b1a96c70db1b85c20a8bda.1920x1080.jpg");
background-size: cover; background-color: rgba(255, 255, 255, 0.5);
background-blend-mode: lighten;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.header { .header {
display: grid;
grid-template-areas: "sort sort sort sort sort sort sort sort sort mix mix levelbar levelbar levelbar levelbar";
flex-direction: row;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
@@ -60,6 +66,24 @@
background-color: rgba(128, 128, 128, 0.5); background-color: rgba(128, 128, 128, 0.5);
} }
.levelbar {
grid-area: levelbar;
background-color: green;
flex: 1;
}
.mix-select {
grid-area: mix;
flex: 1;
background-color: red;
}
.sort-select {
grid-area: sort;
flex: 1;
background-color: blue;
}
.footer { .footer {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@@ -72,11 +96,11 @@
.footer-difficulty { .footer-difficulty {
height: 58%; height: 58%;
background-color: rgba(200, 128, 128, 0.5); background-color: red;
} }
.footer-controls { .footer-controls {
background-color: rgba(200, 0, 128, 0.5); background-color: blue;
height: 42%; height: 42%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;