Skip to content

Commit

Permalink
feat(components and a page): chore: prettier issue resolved
Browse files Browse the repository at this point in the history
fix(files): resolve prettier issue

fix #69
  • Loading branch information
darinetag committed Oct 29, 2023
1 parent 9936a87 commit 712e4d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 2 additions & 4 deletions src/components/herosection/HeroSection.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from "next/image";

const HeroSection = ({description}) => {
const HeroSection = ({ description }) => {
return (
<section>
<div className='lg:grid grid-cols-2'>
Expand All @@ -12,9 +12,7 @@ const HeroSection = ({description}) => {
alt='hero image'
/>
<div className='lg:my-28 '>
<p className='m-20 text-xl lg:w-fit'>
{description}
</p>
<p className='m-20 text-xl lg:w-fit'>{description}</p>
<div className='flex justify-center'>
<button className='bg-green text-white border rounded-2xl w-40 py-2.5 font-semibold'>
Donate Now
Expand Down
10 changes: 7 additions & 3 deletions src/components/personalinfo/PersonalInfo.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const PersonalInfo = ({name, surname, location, phone, email}) => {
const PersonalInfo = ({ name, surname, location, phone, email }) => {
return (
<div className='flex lg:flex-cols-2 flex-wrap lg:flex-nowrap lg:ml-8 gap-8'>
<div className='flex flex-wrap justify-center lg:w-64 '>
Expand All @@ -14,14 +14,18 @@ const PersonalInfo = ({name, surname, location, phone, email}) => {
/>
</svg>
<div className='mt-4 text-xl lg:my-2 lg:ml-10'>
<span>{name} {surname}</span>
<span>
{name} {surname}
</span>
<p>{location}</p>
</div>
</div>

<div className='lg:w-2/3 h-64 m-6 bg-neutral-100 rounded-3xl lg:mt-6'>
<div className='m-8 text-xl flex flex-col justify-evenly'>
<span className='my-1'>{name} {surname}</span>
<span className='my-1'>
{name} {surname}
</span>
<span className='my-1'>{location}</span>
<span className='my-1'>Phone: {phone}</span>
<span className='my-1'>Email: {email}</span>
Expand Down

0 comments on commit 712e4d2

Please sign in to comment.