fix: header and subheader
Subheader claim always in now
This commit is contained in:
parent
cc54cb8112
commit
5e70236eac
4 changed files with 23 additions and 10 deletions
|
@ -24,9 +24,25 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
& .header-text {
|
& .header-text {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
|
||||||
|
& > div {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
& .big {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& .small {
|
||||||
|
font-size: .8em;
|
||||||
|
font-weight: 100;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
& input[type="checkbox"] {
|
& input[type="checkbox"] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,4 +68,5 @@
|
||||||
|
|
||||||
.Legal {
|
.Legal {
|
||||||
padding: var(--padding-large) var(--padding-default);
|
padding: var(--padding-large) var(--padding-default);
|
||||||
|
color: var(--color-darkest);
|
||||||
}
|
}
|
|
@ -1,12 +1,13 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="Header">
|
<div class="Header">
|
||||||
<NuxtLink class="header-text" to="/">
|
|
||||||
<img class="logo" src="/img/propapier.svg" alt="ProPapier logo" />
|
|
||||||
</NuxtLink>
|
|
||||||
<div>
|
<div>
|
||||||
<header class="roboto-condensed">
|
<header class="roboto-condensed">
|
||||||
<NuxtLink class="header-text" to="/">
|
<NuxtLink class="header-text" to="/">
|
||||||
ProPapier
|
<img class="logo" src="/img/propapier.svg" alt="ProPapier logo" />
|
||||||
|
<div>
|
||||||
|
<span class="big">ProPapier</span>
|
||||||
|
<span class="small">Vergleichen. Schnell. Unkompliziert.</span>
|
||||||
|
</div>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<label for="burger_nav_toggle" v-if="available">
|
<label for="burger_nav_toggle" v-if="available">
|
||||||
<Icon name="solar:hamburger-menu-broken" size="2em" />
|
<Icon name="solar:hamburger-menu-broken" size="2em" />
|
||||||
|
|
|
@ -12,11 +12,6 @@
|
||||||
:current-card-index="currentCardIndex"
|
:current-card-index="currentCardIndex"
|
||||||
@update="updateCard()"
|
@update="updateCard()"
|
||||||
/>
|
/>
|
||||||
<Teleport to="#subheader">
|
|
||||||
<div class="search-bar">
|
|
||||||
<p class="roboto-condensed">Vergleichen. Schnell. Unkompliziert.</p>
|
|
||||||
</div>
|
|
||||||
</Teleport>
|
|
||||||
<section class="content flex-col">
|
<section class="content flex-col">
|
||||||
<div class="content-text">
|
<div class="content-text">
|
||||||
<h1>Mit ProPapier Preise vergleichen und sparen</h1>
|
<h1>Mit ProPapier Preise vergleichen und sparen</h1>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue