Skip to content

Commit

Permalink
fix(front/auth): persist full width
Browse files Browse the repository at this point in the history
  • Loading branch information
1Mateus committed Jan 22, 2024
1 parent fef8391 commit a6abb1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions front/components/Auth/steps/Connect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const emits = defineEmits(['changeStep'])
<template>
<div
class="
w-full
flex flex-col
lg:flex-row lg:items-start
bg-dark-blue
Expand Down
14 changes: 5 additions & 9 deletions front/components/layout/Bottombar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,18 @@ const data = reactive({
const routes = [
{
disabled: false,
path: 'home',
path: '',
key: 'index',
label: 'Home',
icon: 'wallet'
},
{
disabled: false,
path: 'history',
key: 'history',
label: 'History',
icon: 'chart'
}
// {
// disabled: false,
// path: 'settings',
// label: 'Settings',
// icon: 'iconSettings'
// }
]
const redirect = (path: string, skip: boolean) => {
Expand Down Expand Up @@ -62,10 +58,10 @@ const redirect = (path: string, skip: boolean) => {
"
>
<button
v-for="{ label, icon, path, disabled } in routes"
v-for="{ label, icon, path, key, disabled } in routes"
:key="'mobile:' + label"
:class="[
route.name === path
route.name === key
? 'text-blue-400'
: 'text-font-2 hover:bg-gray-800 cursor-pointer',
disabled && '!cursor-not-allowed opacity-50',
Expand Down

0 comments on commit a6abb1b

Please sign in to comment.