fix: css updating for better lisibilty
This commit is contained in:
@ -23,14 +23,24 @@ onMounted(() => {
|
||||
|
||||
if (roles.includes("MyINPulse-admin")) {
|
||||
router.push("/");
|
||||
} else if (roles.includes("entrepreneur")) {
|
||||
router.push("/entrepreneur");
|
||||
} else if (roles.includes("MyINPulse-entrepreneur")) {
|
||||
router.push("/leanCanva");
|
||||
}
|
||||
} catch (err) {
|
||||
console.error("Failed to decode token", err);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
const loading = ref(false);
|
||||
|
||||
const callApiWithLoading = async (path: string) => {
|
||||
loading.value = true;
|
||||
await callApi(path);
|
||||
loading.value = false;
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
@ -170,4 +180,19 @@ h1 {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 6px;
|
||||
}
|
||||
/*
|
||||
.status {
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 8px;
|
||||
display: inline-block;
|
||||
background-color: #e0f7e9;
|
||||
color: #2e7d32;
|
||||
}
|
||||
*/
|
||||
.status.error {
|
||||
background-color: #ffe2e2;
|
||||
color: #c62828;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user