added way to write cover letters
This commit is contained in:
@@ -3,6 +3,7 @@ import { ref, shallowRef } from "vue";
|
||||
import { RouterLink } from "vue-router";
|
||||
// import CVGeneral from "./CVGeneral.vue";
|
||||
import CVProgramming from "./CVProgramming.vue";
|
||||
import CoverLetters from "../unused/CoverLetters.vue";
|
||||
// import CVSecurity from "./CVSecurity.vue";
|
||||
// import CVBackend from "./CVBackend.vue";
|
||||
// import CVFrontend from "./CVFrontend.vue";
|
||||
@@ -13,6 +14,7 @@ import CVProgramming from "./CVProgramming.vue";
|
||||
|
||||
const templates = [
|
||||
{ label: "Programming", component: CVProgramming },
|
||||
{ label: "Cover Letter", component: CoverLetters },
|
||||
// { label: "General", component: CVGeneral },
|
||||
// { label: "Security", component: CVSecurity },
|
||||
// { label: "Backend", component: CVBackend },
|
||||
|
||||
@@ -1,70 +1,179 @@
|
||||
<template>
|
||||
<main>
|
||||
<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>
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
|
||||
<div class="no-print m-1 w-full text-center"></div>
|
||||
<div id="LloydsBank" class="a5page">
|
||||
<div class="contact">
|
||||
<h1>Adam French</h1>
|
||||
<!-- <a href="index.html"><img width=25 height=50 src="img/rune.png"></a> -->
|
||||
<div class="contact-details">
|
||||
<p>+447563266931</p>
|
||||
<p>adam.a.french@outlook.com</p>
|
||||
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>
|
||||
<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>
|
||||
<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>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
@import "@/assets/css/cv_styles.css";
|
||||
@media print {
|
||||
@page {
|
||||
size: A5 landscape;
|
||||
.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 {
|
||||
@page {
|
||||
size: A5 landscape;
|
||||
margin: 0;
|
||||
}
|
||||
.no-print {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user