knowyt/client/src/components/InfoModal.vue

95 lines
2.2 KiB
Vue
Raw Normal View History

2022-09-30 16:03:34 +00:00
<template>
2022-09-30 18:37:00 +00:00
<ModalDialog @close="$emit('close')">
2022-09-30 16:03:34 +00:00
<h1 class="info__title">Know Your Teammates</h1>
<h2 class="info__subtitle">{{ $t('credits') }}</h2>
<table class="info__table">
<tr>
<td class="info__table-key">Settel</td>
2022-09-30 18:37:00 +00:00
<td>{{ $t('idea') }}</td>
2022-09-30 16:03:34 +00:00
</tr>
<tr>
<td class="info__table-key">Denis</td>
2022-09-30 18:37:00 +00:00
<td>{{ $t('design') }}</td>
2022-09-30 16:03:34 +00:00
</tr>
</table>
<h2 class="info__subtitle">{{ $t('technologies') }}</h2>
<table class="info__table">
<tr>
<td class="info__table-key">Frontend</td>
<td>Vue3 + Nuxt3</td>
</tr>
<tr>
<td class="info__table-key">Backend</td>
<td>Go</td>
</tr>
<tr>
<td class="info__table-key">Tools</td>
<td>Podman/Docker, GNU Make, VS Code, Figma</td>
</tr>
</table>
2022-09-30 18:37:00 +00:00
<template v-slot:footer>
<Button :border="true" @click="$emit('close')">{{ $t('back') }}</Button>
</template>
</ModalDialog>
2022-09-30 16:03:34 +00:00
</template>
<script setup lang="ts">
import useI18n from '@/composables/useI18n'
2022-09-30 18:37:00 +00:00
import ModalDialog from '../components/ModalDialog.vue';
const $emit = defineEmits(['close'])
2022-09-30 16:03:34 +00:00
const { $t } = useI18n({
back: { en: 'back', de: 'zurück' },
2022-09-30 18:37:00 +00:00
idea: { en: 'concept, code, add. design', de: 'Konzept, Code, zusätzl. Design' },
design: { en: 'design', de: 'Design' },
2022-09-30 16:03:34 +00:00
credits: { en: 'Credits', de: 'Mitwirkende' },
technologies: { en: 'Technologies used', de: 'verwendete Technologien' },
})
2022-09-30 18:37:00 +00:00
const close = () => { window.location.href = '/' }
2022-09-30 16:03:34 +00:00
</script>
<style lang="scss">
@import '~/assets/css/components';
.info {
&__container {
display: flex;
width: 100%;
height: 100%;
color: $text-primary-color;
}
&__box {
display: flex;
flex-direction: column;
min-width: 600px;
margin: auto;
padding: 32px;
border: 1px solid white;
border-radius: 16px;
}
&__title {
2022-09-30 18:50:48 +00:00
font-family: $font-primary;
2022-09-30 16:03:34 +00:00
margin: 0 32px 32px 0;
font-size: 48px;
}
&__subtitle {
margin: 32px 0 8px 0;
font-size: 24px;
font-family: $font-secondary;
}
&__table {
font-family: $font-secondary;
&-key {
width: 6em;
}
}
}
2022-09-30 18:37:00 +00:00
</style>