add bg-primary classes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="flex bg-orange-200 h-screen overflow-y-hidden">
|
||||
<div class="flex bg-gray-200 h-screen overflow-y-hidden">
|
||||
<Nav />
|
||||
<div v-if="authUser" class="w-full overflow-y-auto">
|
||||
<TopBar />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="flex justify-center items-center rounded-full bg-orange-600 hover:bg-orange-800">
|
||||
<div class="flex justify-center items-center rounded-full bg-primary-600 hover:bg-primary-800">
|
||||
<img v-if="avatar" src="avatar" alt="alt" class="avatar" v-bind:class="'avatar' + size">
|
||||
<span v-else class="text-2xl font-bold" v-bind:class="'text-' + size">{{ alt[0] }}</span>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<nav v-bind:class="{ small: !toggleNav }" class="h-screen bg-orange-400 flex flex-col justify-between">
|
||||
<nav v-bind:class="{ small: !toggleNav }" class="h-screen bg-primary-400 flex flex-col justify-between">
|
||||
<div class="">
|
||||
<router-link to="/" class="logo" v-bind:class="{ small: !toggleNav }">
|
||||
<svg-vue icon="logo" />
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="top-bar flex justify-between bg-orange-300">
|
||||
<div class="top-bar flex justify-between bg-primary-300">
|
||||
<router-link v-if="authUser" :to="'/profile'" class="flex items-center m-2">
|
||||
<Avatar :avatar="authUser.data.attributes.avatar" size="small" :alt="authUser.data.attributes.name" class="w-10 h-10"/>
|
||||
<span class="ml-2 hover:text-orange-900">{{ authUser.data.attributes.name }}</span>
|
||||
<span class="ml-2 hover:text-primary-900">{{ authUser.data.attributes.name }}</span>
|
||||
</router-link>
|
||||
<form v-if="authUser && search" class="m-2">
|
||||
<input type="search" name="search" placeholder="Search">
|
||||
@@ -10,7 +10,7 @@
|
||||
<svg-vue icon="search" />
|
||||
</button>
|
||||
</form>
|
||||
<router-link to="/dashboard" v-if="authUser" class="text-orange-600 hover:text-orange-800">
|
||||
<router-link to="/dashboard" v-if="authUser" class="text-primary-600 hover:text-primary-800">
|
||||
<svg-vue icon="params" class="w-10 m-2 fill-current" />
|
||||
</router-link>
|
||||
<router-link v-else to="/login">
|
||||
|
||||
Reference in New Issue
Block a user