+
Connect Your Lightning Wallet
diff --git a/src/components/profile/progress/UserProgress.js b/src/components/profile/progress/UserProgress.js
index 1e2fe13..422bb42 100644
--- a/src/components/profile/progress/UserProgress.js
+++ b/src/components/profile/progress/UserProgress.js
@@ -6,7 +6,7 @@ import { useSession } from 'next-auth/react';
const allTasks = [
{ status: 'Create Account', completed: true, tier: 'Pleb', courseId: null },
{
- status: 'PlebDevs Starter (Coming Soon)',
+ status: 'PlebDevs Starter',
completed: false,
tier: 'New Dev',
courseId: null,
@@ -16,8 +16,26 @@ const allTasks = [
{ status: 'Push Commit', completed: false }
]
},
- { status: 'PlebDevs Course 1', completed: false, tier: 'Junior Dev', courseId: 'd20e2e9b-5123-4a91-b27f-d75ea1d5811e' },
- { status: 'PlebDevs Course 2', completed: false, tier: 'Plebdev', courseId: 'aa3b1641-ad2b-4ef4-9f0f-38951ae307b7' },
+ {
+ status: 'PlebDevs Course 1',
+ completed: false,
+ tier: 'Junior Dev',
+ courseId: 'd20e2e9b-5123-4a91-b27f-d75ea1d5811e',
+ subTasks: [
+ { status: 'Complete the course', completed: false },
+ { status: 'Submit Link to completed project', completed: false },
+ ]
+ },
+ {
+ status: 'PlebDevs Course 2',
+ completed: false,
+ tier: 'Plebdev',
+ courseId: 'aa3b1641-ad2b-4ef4-9f0f-38951ae307b7',
+ subTasks: [
+ {status: 'Complete the course', completed: false},
+ { status: 'Submit Link to completed project', completed: false },
+ ]
+ },
];
const UserProgress = () => {
@@ -74,7 +92,7 @@ const UserProgress = () => {
}, []);
return (
-
+
Dev Journey (Coming Soon)
Track your progress from Pleb to Plebdev
@@ -121,8 +139,9 @@ const UserProgress = () => {
}
- >
-
+ >
+
+ (Coming Soon)
{task.subTasks.map((subTask, subIndex) => (
-
{subTask.completed ? (
diff --git a/src/components/profile/subscription/CalendlyEmbed.js b/src/components/profile/subscription/CalendlyEmbed.js
index 6e0dce3..ae5262c 100644
--- a/src/components/profile/subscription/CalendlyEmbed.js
+++ b/src/components/profile/subscription/CalendlyEmbed.js
@@ -1,8 +1,10 @@
import React, { useState, useEffect } from 'react';
import { Dialog } from 'primereact/dialog';
import { Button } from 'primereact/button';
+import useWindowWidth from '@/hooks/useWindowWidth';
const CalendlyEmbed = ({ visible, onHide }) => {
+ const windowWidth = useWindowWidth();
useEffect(() => {
if (visible) {
const script = document.createElement('script');
@@ -26,7 +28,7 @@ const CalendlyEmbed = ({ visible, onHide }) => {