added way to write cover letters
Deploy with Docker Compose / deploy (push) Successful in 29s
Weekly Maintenance / maintenance (push) Successful in 15m15s

This commit is contained in:
2026-08-18 17:45:16 +01:00
parent 64672dfdc8
commit fb6b4799b9
2 changed files with 173 additions and 62 deletions
+2
View File
@@ -3,6 +3,7 @@ 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 CoverLetters from "../unused/CoverLetters.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";
@@ -13,6 +14,7 @@ import CVProgramming from "./CVProgramming.vue";
const templates = [ const templates = [
{ label: "Programming", component: CVProgramming }, { label: "Programming", component: CVProgramming },
{ label: "Cover Letter", component: CoverLetters },
// { label: "General", component: CVGeneral }, // { label: "General", component: CVGeneral },
// { label: "Security", component: CVSecurity }, // { label: "Security", component: CVSecurity },
// { label: "Backend", component: CVBackend }, // { label: "Backend", component: CVBackend },
+159 -50
View File
@@ -1,70 +1,179 @@
<script setup>
import { ref } from "vue";
const name = ref("Adam French");
const phone = ref("+447563266931");
const email = ref("[email protected]");
const role = ref("Job title / role");
const paragraphs = ref([
"Why I'm interested in the company...",
"Why I'm a strong fit for the role...",
"Relevant experience and background...",
]);
const signoff = ref("Thank you for reading - Adam F");
function addParagraph() {
paragraphs.value.push("New paragraph...");
}
function removeParagraph(index) {
paragraphs.value.splice(index, 1);
}
function updateParagraph(index, event) {
paragraphs.value[index] = event.target.innerText;
}
</script>
<template> <template>
<main> <main>
<table id="cover-nav" class="cover-nav no-print"> <div class="a5page">
<thead>
<tr>
<th>Companies</th>
<th>Completed</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#LloydsBank">Lloyds</a></td>
<td>YES</td>
</tr>
</tbody>
</table>
<div class="no-print m-1 w-full text-center"></div>
<div id="LloydsBank" class="a5page">
<div class="contact"> <div class="contact">
<h1>Adam French</h1> <h1
<!-- <a href="index.html"><img width=25 height=50 src="img/rune.png"></a> --> contenteditable="true"
@blur="name = $event.target.innerText"
>
{{ name }}
</h1>
<div class="contact-details"> <div class="contact-details">
<p>+447563266931</p> <p
<p>adam.a.french@outlook.com</p> contenteditable="true"
@blur="phone = $event.target.innerText"
>
{{ phone }}
</p>
<p
contenteditable="true"
@blur="email = $event.target.innerText"
>
{{ email }}
</p>
</div> </div>
</div> </div>
<h2>BAE graduate digital intelligence software engineer</h2> <h2 contenteditable="true" @blur="role = $event.target.innerText">
<p> {{ role }}
I am writing to express my interest in your software engineering </h2>
position. BAE Systems has hosted multiple stools at the University of <div
Leeds and have always exhibited their development of leading-edge v-for="(p, i) in paragraphs"
software and technology. This is where the origin of my interest in BAE :key="i"
systems emerged and I'm hopeful that this interest shall continue. class="paragraph-wrapper"
>
<p contenteditable="true" @blur="updateParagraph(i, $event)">
{{ p }}
</p> </p>
<p> <button
I'm confidient im a strong fit for this role. My technical background class="no-print remove-btn"
includes extensive experience with frontend frameworks such as React. My title="Remove paragraph"
devotion however lies more in backend development as has more potential @click="removeParagraph(i)"
to graple problems related to optimisation and designing coherent >
interfaces. ×
</button>
</div>
<p
contenteditable="true"
@blur="signoff = $event.target.innerText"
>
{{ signoff }}
</p> </p>
<p> <button class="no-print add-btn" @click="addParagraph()">
<em> The C# Programming Yellow Book </em> was my first introduction to + Add paragraph
C# during A-Level, Java was our vessel for teaching object-orientated </button>
programming at university. I am confident I have the relevant experience
to grasp the languages stated for the role I am applying for.
</p>
<p>
My academic background in Computer Science and Mathematics has honed my
ability to translate abstract concepts into structured, logical
solutions. Just as I have transformed theoretical hypotheses into formal
proofs, I aim to transform business requirements into robust,
maintainable software systems through collaboration and rigorous
reasoning.
</p>
<p>Thank you for reading - Adam F</p>
</div> </div>
</main> </main>
</template> </template>
<style scoped> <style scoped>
@import "@/assets/css/cv_styles.css"; .a5page {
max-width: 210mm;
min-height: 148mm;
margin: 1rem auto;
padding: 2rem 3rem;
background: white;
color: #222;
line-height: 1.5;
}
.a5page h1 {
font-size: 1.6rem;
font-weight: 700;
}
.a5page h2 {
font-size: 1.1rem;
font-weight: 600;
margin: 0.75rem 0;
}
.a5page p {
margin-bottom: 0.75rem;
}
.contact {
display: flex;
justify-content: space-between;
align-items: baseline;
border-bottom: 1px solid #333;
padding-bottom: 0.5rem;
margin-bottom: 0.75rem;
}
.contact-details {
text-align: right;
font-size: 0.85rem;
}
.contact-details p {
margin: 0;
}
[contenteditable="true"]:hover,
[contenteditable="true"]:focus {
outline: 1px dashed #999;
outline-offset: 2px;
}
.paragraph-wrapper {
position: relative;
}
.paragraph-wrapper .remove-btn {
position: absolute;
top: 0;
right: -1.5rem;
border: none;
background: none;
color: #c00;
cursor: pointer;
font-size: 1rem;
opacity: 0;
}
.paragraph-wrapper:hover .remove-btn {
opacity: 1;
}
.add-btn {
margin-top: 0.5rem;
padding: 0.3rem 0.8rem;
border: 1px solid #333;
border-radius: 4px;
background: white;
color: #333;
cursor: pointer;
font-size: 0.85rem;
}
.add-btn:hover {
background: #eee;
}
@media print { @media print {
@page { @page {
size: A5 landscape; size: A5 landscape;
margin: 0; margin: 0;
} }
.no-print {
display: none !important;
}
} }
</style> </style>