[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">
<Row style="margin-bottom: 10px;">
<Col span="12" style="text-align: right; padding-left: 23%">
<NuxtLink to="/login"> <NuxtLink to="/login">
<MenuItem name="login"> <MenuItem name="login">
<Icon type="ios-log-in" size="20"/> <Icon type="ios-log-in" size="20"/>
Zaloguj Zaloguj
</MenuItem> </MenuItem>
</NuxtLink> </NuxtLink>
</Col>
<Col span="12">
<NuxtLink to="/register"> <NuxtLink to="/register">
<MenuItem name="register"> <MenuItem name="register">
<Icon type="ios-person-add" size="20"/> <Icon type="ios-person-add" size="20"/>
Zarejestruj Zarejestruj
</MenuItem> </MenuItem>
</NuxtLink> </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'
}, },
{ {