Skip to content

Commit

Permalink
FEAT: side bar title
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelilahOu committed Jun 1, 2024
1 parent 52da60a commit 85df7d0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mahalli",
"version": "1.4.5",
"version": "1.4.6",
"private": true,
"author": "abdelilah ouaadouch",
"description": "inventory & invoicing management app",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mahalli"
version = "1.4.5"
version = "1.4.6"
description = "Inventory & invoicing management app"
authors = ["AbdelilahOu"]
license = ""
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "mahalli",
"version": "1.4.5"
"version": "1.4.6"
},
"tauri": {
"allowlist": {
Expand Down
8 changes: 5 additions & 3 deletions src/components/SideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
Truck,
Contact,
Quote,
Store,
} from "lucide-vue-next";
const collapse = defineModel<boolean>("collapse", { required: true });
Expand All @@ -30,7 +31,7 @@ const openTranslationModal = () => {

<template>
<aside class="w-full h-screen sticky top-0 z-50 flex flex-col gap-3 bg-white">
<div class="w-full h-[50px]">
<div class="w-full min-h-[51px] border-b border-slate-100">
<div
:class="
cn(
Expand All @@ -41,9 +42,10 @@ const openTranslationModal = () => {
>
<span
v-if="!collapse"
class="whitespace-nowrap pl-2 text-gray-800 overflow-hidden"
class="whitespace-nowrap flex items-center gap-2 pl-2 font-semibold text-base text-primary overflow-hidden"
>
The Inventoryer
<Store :size="20" class="text-primary inline shrink-0 m-auto" />
Mahalli
</span>
<ChevronsLeft
@click="collapse = !collapse"
Expand Down

0 comments on commit 85df7d0

Please sign in to comment.