MateuszMichalowski cdaca99b04
feat(frontend): migration setup (#3342)
* frontend - moved to vue 2.7 and vite

* frontend - moved to vue 3

* frontend - login page updates

* fix(frontend): WiP migration

* fix(frontend): WiP migration

* fix(frontend): WiP migration

* fix(frontend): WiP migration

* fix(frontend): WiP migration

* fix(frontend): fix eslint/stylelint issues

* fix(frontend): fix eslint/stylelint issues

* feature(frontend): update node in docker frontend

* feature(frontend): move send types out of Send file

* feature(frontend): add entry in package json to fix eslint issue

* feature(frontend): eslint fix

* replace docker-compose with docker compose

* update docker-compose test file

* feature(frontend): Creation fixes

* feature(frontend): Add missing updates for apollo scripts.

---------

Co-authored-by: einhornimmond <silas@einhornimmond.de>
2024-08-08 23:02:15 +02:00

84 lines
1.9 KiB
Vue

<template>
<div class="auth-header position-sticky">
<BNavbar :toggleable="false" :container="false" class="d-flex">
<BNavbarBrand class="d-none d-lg-block">
<BImg class="position-absolute ml--3 mt-lg--2 p-2" :src="logo" width="200" alt="Logo" />
<BImg class="mt--3 ml--3" :src="backgroundHeader" width="230" alt="Background Image"></BImg>
</BNavbarBrand>
<BImg class="sheet-img position-absolute d-block d-lg-none zindex1000" :src="sheet"></BImg>
<BCollapse id="nav-collapse" is-nav>
<BNavbarNav class="ml-auto d-none d-lg-flex" right>
<BNavItem :to="register()" class="auth-navbar ml-lg-5">{{ $t('signup') }}</BNavItem>
<span class="d-none d-lg-block mt-1">{{ $t('math.pipe') }}</span>
<BNavItem :to="login()" class="auth-navbar">{{ $t('signin') }}</BNavItem>
</BNavbarNav>
</BCollapse>
</BNavbar>
</div>
</template>
<script setup>
import { useAuthLinks } from '@/composables/useAuthLinks'
const { login, register } = useAuthLinks()
const backgroundHeader = '/img/template/gradido_background_header.png'
const logo = '/img/brand/gradido-logo.png'
const sheet = '/img/template/Blaetter.png'
</script>
<style scoped lang="scss">
.auth-navbar {
display: flex;
align-content: center;
> * {
text-decoration: none;
}
}
.auth-navbar > :deep(.nav-link) {
color: #0e79bc !important;
}
.auth-navbar > :deep(.router-link-exact-active) {
color: #383838 !important;
}
.auth-header {
font-family: 'Open Sans', sans-serif !important;
height: 150px;
z-index: 1;
}
:deep(#nav-collapse) {
justify-content: flex-end;
}
.sheet-img {
top: -11px;
right: 7%;
max-width: 64%;
}
@media screen and (width <= 1024px) {
.auth-header {
height: 100px;
}
}
@media screen and (width <= 768px) {
.auth-header {
height: 70px;
}
}
@media screen and (width <= 450px) {
.sheet-img {
top: -15px;
right: 0%;
max-width: 61%;
}
}
</style>