[CLEAR-34] Fix header

This commit is contained in:
Gabriela Pałka 2020-01-19 13:11:40 +01:00
parent 84092c94dd
commit 1624011258
2 changed files with 20 additions and 14 deletions

View File

@ -11,19 +11,25 @@
</NuxtLink> </NuxtLink>
</Col> </Col>
<Col span="8" offset="8"> <Col span="8" offset="8">
<div v-if="!$auth.loggedIn" style="position: relative; float: right"> <div v-if="!$auth.loggedIn">
<NuxtLink to="/login"> <Row style="margin-bottom: 10px;">
<MenuItem name="login"> <Col span="12" style="text-align: right; padding-left: 23%">
<Icon type="ios-log-in" size="20"/> <NuxtLink to="/login">
Zaloguj <MenuItem name="login">
</MenuItem> <Icon type="ios-log-in" size="20"/>
</NuxtLink> Zaloguj
<NuxtLink to="/register"> </MenuItem>
<MenuItem name="register"> </NuxtLink>
<Icon type="ios-person-add" size="20"/> </Col>
Zarejestruj <Col span="12">
</MenuItem> <NuxtLink to="/register">
</NuxtLink> <MenuItem name="register">
<Icon type="ios-person-add" size="20"/>
Zarejestruj
</MenuItem>
</NuxtLink>
</Col>
</Row>
</div> </div>
<div v-else> <div v-else>
<Row style="margin-bottom: 10px;"> <Row style="margin-bottom: 10px;">

View File

@ -27,7 +27,7 @@
key: 'carbohydrates' key: 'carbohydrates'
}, },
{ {
title: 'Białk (g)', title: 'Białka (g)',
key: 'protein' key: 'protein'
}, },
{ {