parent
def42e1ec3
commit
42f7b255f8
4 changed files with 54 additions and 3 deletions
@ -1,11 +1,26 @@ |
|||||||
import React from "react"; |
import React from "react"; |
||||||
|
import Grades from "../components/grade"; |
||||||
|
|
||||||
|
|
||||||
const SideAP = () => { |
const SideAP = () => { |
||||||
return( |
return ( |
||||||
<div className=" w-full bg-green-200"> |
<div className=" flex flex-col pl-4 w-full items-center"> |
||||||
|
<div className="bg-white border w-full mx-2 mb-4 rounded-lg border-grayE0 flex flex-col py-6"> |
||||||
|
<h1 className="text-blue3A text-lg font-bold w-full text-right px-4 mb-6 border-r-4 border-blue65"> |
||||||
|
انتشار محصول |
||||||
|
</h1> |
||||||
|
<div className="w-full px-6 flex rtl justify-between"> |
||||||
|
<button className="w-1/2 border border-blueED rounded-lg font-bold text-blueED py-4 ml-2" style={{background: 'rgba(16, 100, 205, 0.24)'}}> |
||||||
|
ذخیره در پیشنویس |
||||||
|
</button> |
||||||
|
<button className="w-1/2 border border-blueCD rounded-lg font-bold text-white py-4 mr-2 bg-blueCD"> |
||||||
|
انشتار محصول |
||||||
|
</button> |
||||||
|
</div> |
||||||
|
|
||||||
</div> |
</div> |
||||||
|
<Grades /> |
||||||
|
</div> |
||||||
) |
) |
||||||
} |
} |
||||||
|
|
||||||
|
@ -0,0 +1,35 @@ |
|||||||
|
import React, {useState, useEffect} from "react"; |
||||||
|
import Checkbox from "../../../components/Checkbox"; |
||||||
|
|
||||||
|
const Grades = () => { |
||||||
|
const inputs = [ |
||||||
|
'اول', |
||||||
|
'دوم', |
||||||
|
'سوم', |
||||||
|
'هفتم', |
||||||
|
'هشتم', |
||||||
|
'نهم', |
||||||
|
] |
||||||
|
return( |
||||||
|
<div className="w-full rtl bg-white border mx-2 my-4 rounded-lg border-grayE0 flex flex-col py-6"> |
||||||
|
<h1 className="text-blue3A text-lg font-bold w-full text-right px-4 mb-6 border-r-4 border-blue65"> |
||||||
|
پایه تحصیلی |
||||||
|
</h1> |
||||||
|
<div className="flex flex-wrap px-4"> |
||||||
|
{ |
||||||
|
inputs.map( |
||||||
|
(item, index) => ( |
||||||
|
<div className="w-1/2 p-2 my-1 flex items-center text-lg font-bold" style={{color: '#707070'}}> |
||||||
|
<Checkbox name={'paymentCheckBox' + index}/> |
||||||
|
<p className="mr-2">{item}</p> |
||||||
|
</div> |
||||||
|
) |
||||||
|
) |
||||||
|
} |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
) |
||||||
|
} |
||||||
|
|
||||||
|
export default Grades; |
Loading…
Reference in new issue