This commit is contained in:
Emily
2024-07-24 17:28:29 +02:00
parent 895ebb197d
commit 7ae4766771
2 changed files with 7 additions and 55 deletions

View File

@@ -96,13 +96,7 @@ async function deleteAccount() {
{{ projects?.length ?? '-' }} / {{ maxProjects || 3 }} {{ projects?.length ?? '-' }} / {{ maxProjects || 3 }}
</div> </div>
</div> </div>
<NuxtLink v-if="(projects?.length || 0) < (maxProjects || 3)" to="/project_creation"
<LyxUiButton type="primary">
<NuxtLink v-if="(projects?.length || 0) < (maxProjects || 3)" to="/project_creation">
Create new project
</NuxtLink>
</LyxUiButton>
<!-- <NuxtLink v-if="(projects?.length || 0) < (maxProjects || 3)" to="/project_creation"
class="bg-blue-500/20 hover:bg-blue-500/30 px-4 py-1 flex items-center gap-4 rounded-xl cursor-pointer"> class="bg-blue-500/20 hover:bg-blue-500/30 px-4 py-1 flex items-center gap-4 rounded-xl cursor-pointer">
<div class="h-full aspect-[1/1] flex items-center justify-center"> <div class="h-full aspect-[1/1] flex items-center justify-center">
<i class="fas fa-plus text-[1rem] text-text-sub/80"></i> <i class="fas fa-plus text-[1rem] text-text-sub/80"></i>
@@ -112,7 +106,7 @@ async function deleteAccount() {
Create new project Create new project
</div> </div>
</div> </div>
</NuxtLink> --> </NuxtLink>
</div> </div>
@@ -124,9 +118,6 @@ async function deleteAccount() {
<div class="flex gap-12 flex-wrap" v-if="pid"> <div class="flex gap-12 flex-wrap" v-if="pid">
<div v-for="e of projects"> <div v-for="e of projects">
<LyxUiProjectSelector>
</LyxUiProjectSelector>
<DashboardProjectSelectionCard @click="onProjectClick(e._id.toString())" <DashboardProjectSelectionCard @click="onProjectClick(e._id.toString())"
:active="pid == e._id.toString()" :title="e.name" :active="pid == e._id.toString()" :title="e.name"
:subtitle="pid == e._id.toString() ? 'ATTIVO' : ''" :subtitle="pid == e._id.toString() ? 'ATTIVO' : ''"

View File

@@ -19,55 +19,16 @@ module.exports = {
menu: { menu: {
DEFAULT: '#1d1d1f' DEFAULT: '#1d1d1f'
}, },
text: {
DEFAULT: '#FFFFFF',
sub: '#909aa1',
dirty: '#dadde0'
},
accent: { accent: {
DEFAULT: '#5680F8', DEFAULT: '#5680F8',
light: '#2c91ed', light: '#2c91ed',
sub: '#99A7F1', sub: '#99A7F1',
}, },
"lyx-primary": {
DEFAULT: '#5680F8',
dark: '#222A42',
hover: '#2A3450'
},
"lyx-text": {
DEFAULT: '#FFFFFF',
dark: '#D4D4D4',
darker: '#6A6A6A'
},
"lyx-widget": {
DEFAULT: '#151515',
light: '#1E1E1E',
lighter: '#262626'
},
"lyx-background": {
DEFAULT: '#0A0A0A',
light: '#121212',
lighter: '#212121'
},
"lyx-danger": {
DEFAULT: '#F86956',
dark: '#4A2D29'
},
"lyx-chart": {
purple: {
DEFAULT: '#5655D7',
dark: '#282844'
},
green: {
DEFAULT: '#1D9B86',
dark: '#213734'
},
cyan: {
DEFAULT: '#4ABDE8',
dark: '#273D48'
},
orange: {
DEFAULT: '#F56524',
dark: '#492C22'
}
}
} }
}, },
}, },