Skip to content

Commit 70886d2

Browse files
committed
Definition of the title component for the courses and introduction component
1 parent 7f9d7f9 commit 70886d2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/Components/Main/Course/Course.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react'
22
import CardCourse from './CardCourse/CardCourse';
3+
import TitlesMain from '../TitlesMain/TitlesMain';
34
import './Course.css'
45

56
let valuesCardCourse = [
@@ -16,9 +17,7 @@ let valuesCardCourse = [
1617
function Course() {
1718
return (
1819
<div className='mt-5 pb_items_box'>
19-
<div className='d-flex justify-content-center align-items-center'>
20-
<span className='fs-1 text_color_basic fw-bold'>دوره های آکادمی</span>
21-
</div>
20+
<TitlesMain title="دوره های آکادمی"></TitlesMain>
2221
<div className='py-3 mt-4 d-flex justify-content-center align-items-center flex-column row-gap-3'>
2322
{/* <CardCourse {...valuesCardCourse[0]}></CardCourse> */}
2423
<div className="row">

src/Components/Main/MainBox.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import React from 'react'
2-
import Course from './Course/Course';
2+
import Course from './Course/Course'
3+
import Introduction from './Introduction/Introduction';
34

45
function MainBox() {
56
return (
67
<div className='container'>
78
<Course></Course>
9+
<Introduction></Introduction>
810
</div>
911
)
1012
}

0 commit comments

Comments
 (0)