feat: redesign trail + add quit course button

This commit is contained in:
swve 2023-06-25 17:30:04 +02:00
parent 6b0df500ef
commit bfd3f07837
8 changed files with 133 additions and 106 deletions

View file

@ -7,13 +7,14 @@ import React from 'react'
interface Props {
course: any
orgslug: string
course_id: string
current_activity?: any
}
function ActivityIndicators(props: Props) {
const course = props.course
const orgslug = props.orgslug
const courseid = course.course.course_id.replace("course_", "")
const courseid = props.course_id.replace("course_", "")
const done_activity_style = 'bg-teal-600 hover:bg-teal-700'
const black_activity_style = 'bg-black hover:bg-gray-700'