ui improvements

This commit is contained in:
Rotimi Best
2023-11-04 17:53:59 +00:00
parent 2c5700f67c
commit b4587483fb
4 changed files with 6 additions and 8 deletions
+2 -3
View File
@@ -15,7 +15,7 @@
let totalLessons = 0;
let totalComPleted = 0;
async function getCourses(userId: string | null, orgId: string) {
async function getCourses(userId: string | undefined, orgId: string) {
if (hasFetched || !userId || !orgId) {
return;
}
@@ -48,7 +48,7 @@
<section class="max-w-6xl gap-5 mx-auto">
<div class="m-5">
<h1 class="dark:text-white text-2xl md:text-3xl font-bold">
<h1 class="dark:text-white text-2xl md:text-3xl font-bold mb-3">
{getGreeting()}
{$profile.fullname}!
</h1>
@@ -63,7 +63,6 @@
<PrimaryButton
label="Don't give up"
variant={VARIANTS.CONTAINED_WHITE}
className="bg-white text-primary-800"
onClick={() => goto('/lms/mylearning')}
/>
</span>
+1 -2
View File
@@ -186,7 +186,7 @@
<div class="py-10 px-5 w-full max-w-7xl mx-auto">
<div class="flex items-center justify-between mb-10">
<h1 class="dark:text-white text-2xl md:text-3xl font-bold">
<h1 class="dark:text-white text-2xl md:text-3xl font-bold mb-3">
{getGreeting()}
{$profile.fullname}!
</h1>
@@ -219,7 +219,6 @@
<PrimaryButton
label="Keep Building 🚀"
variant={VARIANTS.CONTAINED_WHITE}
className="bg-white text-primary-800"
onClick={() => goto(`${$currentOrgPath}/courses`)}
/>
</span>