page home responsive & change component element & page blog item

This commit is contained in:
Ehsan
2024-08-15 10:10:57 +03:30
parent 1341253384
commit fd3b82143b
44 changed files with 4149 additions and 103 deletions
@@ -0,0 +1,18 @@
import { Button } from '@mui/material'
import React from 'react'
function AddComment() {
return (
<div className='flex items-center justify-start gap-[16px] my-[24px]'>
<p className='text-[#616161] text-[16px] font-normal'>شما هم نظر خود را به اشتراک بگذارید:</p>
<Button
variant='outlined'
className='!border !border-[#5559CE] !rounded-[4px] !px-[38px] !py-[9px]'
>
ثبت نظر
</Button>
</div>
)
}
export default AddComment
@@ -0,0 +1,19 @@
import AnimationTextHead from '@/app/component/AnimationTextHead'
import Comment from '@/app/component/comment'
import Underline from '@/components/icons/Underline'
import React from 'react'
import AddComment from './AddComment'
function CommentUser({ data }) {
return (
<div className='mt-[24px]'>
<AnimationTextHead name='zoom-in-up' text='نظرات'>
<Underline />
</AnimationTextHead>
<AddComment />
<Comment data={data} />
</div>
)
}
export default CommentUser