Skip to content

Commit

Permalink
feat(src/components/BaseCard/index.tsx src/components/CardVideo/index…
Browse files Browse the repository at this point in the history
….tsx src/components/PageElements/PageElements/Content/DetailingExerciseContent/index.tsx src/components/PageElements/PageElements/Content/pageThemesContent/index.tsx) trocamos as tags Title que ficaram faltando
  • Loading branch information
Lip29bm committed Oct 28, 2024
1 parent 36fcbdf commit 85d45ba
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/BaseCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const BaseCard: React.FC<CardProps> = ({title, description, textImage, im
/>
)}
<CardContent sx={theme.customStyles.cardContent}>
<Typography gutterBottom variant="h2" sx={theme.customStyles.cardTitle}>
<Typography gutterBottom variant="h3" sx={theme.customStyles.cardTitle}>
{title}
</Typography>
<Typography variant="body1" sx={cardStyles}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/CardVideo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ReactMarkdown from "react-markdown";

const components = {
h1: (props: React.HTMLAttributes<HTMLHeadingElement>) => (
<Typography variant="h2" {...props} />
<Typography variant="caption" {...props} />
),
p: (props: React.HTMLAttributes<HTMLHeadingElement>) => (
<Typography variant="body1" sx={{ color: theme.palette.textColor?.light }} {...props} />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from "react";
import { Grid} from "@mui/material";
import { BreadCrumb } from "@/components/BreadCrumb";
import { Title } from "@/components/title";
import { ApiResponse, DataItem, ExercisesField } from "@/types/type";
import { DescriptionFull } from "@/components/Description/DescriptionFull";
import { AdvanceExercises } from "@/components/AdvanceExercises";
import { ContainerButtonsExercise } from "../../Container/ContainerButtonsExercise";
import { Heading } from "@/components/Heading";

interface DetailingContentProps {
dataTopic:ApiResponse
Expand Down Expand Up @@ -39,7 +39,7 @@ const ExerciseContent: React.FC<{
}}
>
<Grid item>
<Title text={field.title} />
<Heading variant="h1" text={field.title} />
</Grid>
<Grid item >
<AdvanceExercises idExercises={idExercise} data={dataTopic}/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from "react";
import { Grid } from "@mui/material";
import { Title } from "@/components/title";
import { ContainerCardTheme } from "../../Container/ContainerCardsThemes";
import { ApiResponse } from "@/types/type";
import { Heading } from "@/components/Heading";

interface PageThemesContentProps {
data: ApiResponse;
Expand All @@ -14,7 +14,7 @@ export const PageThemesContent: React.FC<PageThemesContentProps> = ({ data, cate
return (
<>
<Grid item xl={12} lg={9} md={6} sm={3} textAlign={{ xs: 'left', sm: 'center' }}>
<Title text={`Bem vindo ao ${category}`} />
<Heading variant="h1" text={`Bem vindo ao ${category}`} />
</Grid>
<ContainerCardTheme data={data} category={category}/>
</>
Expand Down

0 comments on commit 85d45ba

Please sign in to comment.