Skip to content

Commit b1c7edb

Browse files
committed
Definition of the IntBox component and its use
1 parent 0c8e5b3 commit b1c7edb

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

src/Components/Main/Course/Course.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let valuesCardCourse = [
1616

1717
function Course() {
1818
return (
19-
<div className='mt-5 pb_items_box'>
19+
<div className='py-5'>
2020
<TitlesMain title="دوره های آکادمی"></TitlesMain>
2121
<div className='py-3 mt-4 d-flex justify-content-center align-items-center flex-column row-gap-3'>
2222
{/* <CardCourse {...valuesCardCourse[0]}></CardCourse> */}

src/Components/Main/Introduction/Introduction.jsx

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
import React from 'react'
22
import TitlesMain from '../TitlesMain/TitlesMain';
3+
import IntBox from './IntBox/IntBox';
34

45
function Introduction() {
56
return (
6-
<div>
7+
<div className='bg-danger w-100 h-100 py-5 px-1'>
78
<TitlesMain title="معرفی دوره ها"></TitlesMain>
9+
<div className='w-100 h-100 mt-5'>
10+
<div className="row row-gap-4">
11+
<div className="col-6">
12+
<IntBox></IntBox>
13+
</div>
14+
<div className="col-6">
15+
<IntBox></IntBox>
16+
</div>
17+
<div className="col-6">
18+
<IntBox></IntBox>
19+
</div>
20+
<div className="col-6">
21+
<IntBox></IntBox>
22+
</div>
23+
</div>
24+
</div>
825
</div>
926
)
1027
}

0 commit comments

Comments
 (0)