refact front
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="top-bar flex justify-between bg-gray-600">
|
||||
<div class="top-bar relative z-10 flex justify-between bg-marine h-16">
|
||||
<router-link v-if="authUser" :to="'/profile'" class="flex items-center m-2">
|
||||
<Avatar :avatar="authUser.data.attributes.thumbnail_cover_image.data.attributes.path" size="small" :alt="authUser.data.attributes.name" class="w-10 h-10"/>
|
||||
<span class="ml-2 text-gray-100 hover:text-white">{{ authUser.data.attributes.name }}</span>
|
||||
@@ -11,7 +11,7 @@
|
||||
</button>
|
||||
</form>
|
||||
<router-link to="/dashboard" v-if="authUser" class="text-gray-100 hover:text-white">
|
||||
<svg-vue icon="params" class="w-10 m-2 fill-current" />
|
||||
<svg-vue icon="params" class="w-10 m-3 fill-current" />
|
||||
</router-link>
|
||||
<router-link v-else to="/login">
|
||||
Se connecter
|
||||
|
||||
Reference in New Issue
Block a user