Skip to content

Commit

Permalink
fix incorrect nesting of div
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbarnum4 committed Jun 13, 2024
1 parent 812fa31 commit bcc3c58
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pages/contact/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Contact: NextPage<IContact> = ({ address, city, state, zip, phone, gMapUrl
<Content>
<div className='contact-top'>
<Section className='contact-info'>
<p>
<div className='contact-item'>
<span className='contact-icon'>
<FiMapPin size={28} className='primary-secondary' />
</span>
Expand All @@ -41,15 +41,15 @@ const Contact: NextPage<IContact> = ({ address, city, state, zip, phone, gMapUrl
{city}, {state} {zip}
</div>
</a>
</p>
<p>
</div>
<div className='contact-item'>
<span className='contact-icon'>
<FiPhone size={28} className='primary-secondary' />
</span>
<a className='anchor' href={`tel:${phone}`} target='_blank' rel='noreferrer'>
{phone}
</a>
</p>
</div>
</Section>
</div>
<ContactForm />
Expand Down Expand Up @@ -94,7 +94,7 @@ const ContactStyles = styled.div`
text-align: center;
margin-bottom: 1rem;
}
p {
.contact-item {
display: flex;
flex-flow: column;
align-items: center;
Expand Down

0 comments on commit bcc3c58

Please sign in to comment.