New-site/resources/views/resume/About/Education.vue
Dhaverd bdb9abaca5
Some checks failed
Gitea Actions / Build and deploy (push) Failing after 1m4s
Починил страничку с резюме
2024-03-31 01:55:02 +08:00

64 lines
2.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div>
<p class="text-h5 pb-3">Образование</p>
<v-table class="pb-5 main-sheet-bg">
<tbody>
<tr>
<td>2020</td>
<td>
<p>Братский государственный университет, Братск</p>
<p>Факультет экономики и управления, Прикладная информатика в экономике (бакалавриат)</p>
</td>
</tr>
<tr>
<td>2024</td>
<td>
<p>Братский государственный университет, Братск</p>
<p>Факультет энергетики и автоматики, Веб технологии и информационный анализ данных (магистратура)</p>
</td>
</tr>
</tbody>
</v-table>
</div>
</template>
<script>
export default {
name: "Education",
data: () => ({
windowHeight: document.documentElement.clientHeight,
windowWidth: document.documentElement.clientWidth,
isWide: window.innerWidth > 1000,
tableClass: 'w-25'
}),
created() {
window.addEventListener("resize", this.myEventHandler);
},
mounted() {
this.myEventHandler();
window.addEventListener("resize", this.myEventHandler, { passive: true });
},
methods: {
myEventHandler(e) {
this.windowHeight = document.documentElement.clientHeight;
this.windowWidth = document.documentElement.clientWidth;
if (this.windowWidth < 1000){
this.isWide = false;
this.tableClass = 'w-66';
} else {
this.isWide = true;
this.tableClass = 'w-33';
}
}
}
}
</script>
<style scoped>
.main-sheet-bg {
background-color: #424242;
color: #E0E0E0;
text-decoration-color: #E0E0E0;
}
</style>