= (props) => {
{fullName}
-
+ {rating && }
{coursesInfo && {coursesInfo}}
{!mobile && {description}}
diff --git a/src/components/organisms/CourseProgram/CourseProgram.tsx b/src/components/organisms/CourseProgram/CourseProgram.tsx
index 7fb248dc..ef742186 100644
--- a/src/components/organisms/CourseProgram/CourseProgram.tsx
+++ b/src/components/organisms/CourseProgram/CourseProgram.tsx
@@ -2,9 +2,8 @@ import React from "react";
import { useTranslation } from "react-i18next";
import styled, { withTheme } from "styled-components";
import type { API } from "@escolalms/sdk/lib";
-
import type { ExtendableStyledComponent } from "types/component";
-import { IconTitle, Icon } from "../../../index";
+import { Text } from "../../../index";
import { RecursiveLessons } from "./_components/RecursiveLessons";
import { StyledSection } from "./_components/styles";
import type { SharedComponentProps } from "./_components/types";
@@ -23,16 +22,7 @@ export const CourseProgram: React.FC = ({
return (
- {!mobile && (
-
- }
- title={t("Course.Agenda")}
- />
-
- )}
+ {t("Course.Agenda")}
`
width: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-
+ > p {
+ margin-bottom: 0px;
+ font-weight: 700;
+ }
& > header {
display: flex;
flex-direction: row;
@@ -54,7 +57,6 @@ export const StyledSection = styled("section")<{ $mobile: boolean }>`
padding: 10px;
margin: 10px 0;
overflow: hidden;
- border-radius: ${(props) => props.theme.cardRadius}px;
.duration {
margin: 1px 0;
@@ -95,7 +97,7 @@ export const StyledSection = styled("section")<{ $mobile: boolean }>`
}
.lesson__title {
- font-size: 14px;
+ font-size: 16px;
color: ${(props) => props.theme.gray1};
margin: 0;
font-weight: bold;
diff --git a/src/components/skeletons/Banner/index.tsx b/src/components/skeletons/Banner/index.tsx
deleted file mode 100644
index f947ba24..00000000
--- a/src/components/skeletons/Banner/index.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-import Skeleton from "react-loading-skeleton";
-import "react-loading-skeleton/dist/skeleton.css";
-import styled from "styled-components";
-
-const SkeletonWrapper = styled.div`
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- .banner-skeleton__content {
- width: 40%;
- }
- .banner-skeleton__image {
- width: 50%;
- }
-`;
-
-export const BannerSkeleton = () => {
- return (
-
-
-
-
-
-
-
- );
-};
diff --git a/src/components/skeletons/CourseCard/CourseCard.tsx b/src/components/skeletons/CourseCard/CourseCard.tsx
deleted file mode 100644
index da03136c..00000000
--- a/src/components/skeletons/CourseCard/CourseCard.tsx
+++ /dev/null
@@ -1,59 +0,0 @@
-import Skeleton from "react-loading-skeleton";
-import styled from "styled-components";
-import "react-loading-skeleton/dist/skeleton.css";
-import { useId } from "react";
-import { Col, ScreenClass } from "react-grid-system";
-
-const CardSkeleton = styled.div`
- max-width: 278px;
- min-height: 414px;
-
- @media (max-width: 768px) {
- max-width: 100%;
- min-height: auto;
- }
-`;
-
-type ColProps = React.ComponentProps;
-
-type Props = {
- count?: number;
- colProps?: Partial>;
-};
-
-export const CourseCardSkeleton: React.FC = ({
- count = 1,
- colProps,
-}) => {
- return (
- <>
- {Array.from({ length: count }).map(() =>
- colProps ? (
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- // @ts-ignore
-
-
-
-
-
-
-
- ) : (
-
-
-
-
-
- )
- )}
- >
- );
-};
diff --git a/src/index.ts b/src/index.ts
index 968fa869..213a93cc 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -71,6 +71,3 @@ export { default as BookmarkNotes } from "./components/organisms/BookmarkNotes";
export { default as ModalNote } from "./components/organisms/ModalNote";
//ADVANCED
-
-//SKELETONS
-export { CourseCardSkeleton } from "./components/skeletons/CourseCard/CourseCard";