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 },
+171 -62
View File
@@ -1,70 +1,179 @@
<template> <script setup>
<main> import { ref } from "vue";
<table id="cover-nav" class="cover-nav no-print">
<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> const name = ref("Adam French");
<div id="LloydsBank" class="a5page"> const phone = ref("+447563266931");
<div class="contact"> const email = ref("[email protected]");
<h1>Adam French</h1> const role = ref("Job title / role");
<!-- <a href="index.html"><img width=25 height=50 src="img/rune.png"></a> --> const paragraphs = ref([
<div class="contact-details"> "Why I'm interested in the company...",
<p>+447563266931</p> "Why I'm a strong fit for the role...",
<p>adam.a.french@outlook.com</p> "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>
<main>
<div class="a5page">
<div class="contact">
<h1
contenteditable="true"
@blur="name = $event.target.innerText"
>
{{ name }}
</h1>
<div class="contact-details">
<p
contenteditable="true"
@blur="phone = $event.target.innerText"
>
{{ phone }}
</p>
<p
contenteditable="true"
@blur="email = $event.target.innerText"
>
{{ email }}
</p>
</div>
</div>
<h2 contenteditable="true" @blur="role = $event.target.innerText">
{{ role }}
</h2>
<div
v-for="(p, i) in paragraphs"
:key="i"
class="paragraph-wrapper"
>
<p contenteditable="true" @blur="updateParagraph(i, $event)">
{{ p }}
</p>
<button
class="no-print remove-btn"
title="Remove paragraph"
@click="removeParagraph(i)"
>
×
</button>
</div>
<p
contenteditable="true"
@blur="signoff = $event.target.innerText"
>
{{ signoff }}
</p>
<button class="no-print add-btn" @click="addParagraph()">
+ Add paragraph
</button>
</div> </div>
</div> </main>
<h2>BAE graduate digital intelligence software engineer</h2>
<p>
I am writing to express my interest in your software engineering
position. BAE Systems has hosted multiple stools at the University of
Leeds and have always exhibited their development of leading-edge
software and technology. This is where the origin of my interest in BAE
systems emerged and I'm hopeful that this interest shall continue.
</p>
<p>
I'm confidient im a strong fit for this role. My technical background
includes extensive experience with frontend frameworks such as React. My
devotion however lies more in backend development as has more potential
to graple problems related to optimisation and designing coherent
interfaces.
</p>
<p>
<em> The C# Programming Yellow Book </em> was my first introduction to
C# during A-Level, Java was our vessel for teaching object-orientated
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>
</main>
</template> </template>
<style scoped> <style scoped>
@import "@/assets/css/cv_styles.css"; .a5page {
@media print { max-width: 210mm;
@page { min-height: 148mm;
size: A5 landscape; 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; 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 {
@page {
size: A5 landscape;
margin: 0;
}
.no-print {
display: none !important;
}
} }
</style> </style>