Skip to content

Commit

Permalink
Restructure Practice Areas in-page menu nav (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoward38 committed Jan 19, 2025
1 parent 38b9d24 commit e579c59
Show file tree
Hide file tree
Showing 9 changed files with 572 additions and 538 deletions.
55 changes: 24 additions & 31 deletions app/app/components/DefaultPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,46 +104,39 @@ export default function DefaultPage(props: DefaultPageProps) {
>
<li className='menu-item current-menu-item menu-item--depth-0'>
<a
href='nursing-home-abuse'
href='serious-injury'
aria-current='page'
tabIndex={0}
>
Nursing Home Abuse
Medical Malpractice
</a>
</li>
<li className='menu-item menu-item-has-children menu-item--depth-0'>
<li className='menu-item menu-item--depth-0'>
<a
href='other-practice-areas'
href='criminal-law-defense'
aria-current='page'
tabIndex={0}
>
Criminal Law Defense
</a>
</li>
<li className='menu-item menu-item--depth-0'>
<a
href='business-general-counsel-business-transactions'
aria-current='page'
tabIndex={0}
>
Other Practice Areas
Business General Counsel / Business Transactions
</a>
</li>
<li className='menu-item menu-item--depth-0'>
<a
href='nursing-home-abuse'
aria-current='page'
tabIndex={0}
>
Nursing Home Abuse
</a>
<ul className='sub-menu'>
<li className='menu-item menu-item--depth-1'>
<a
href='business-general-counsel-business-transactions'
tabIndex={0}
>
Business General Counsel / Business Transactions
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='criminal-law-defense'
tabIndex={0}
>
Criminal Law Defense
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='serious-injury'
tabIndex={0}
>
Serious Injury
</a>
</li>
</ul>
</li>
</ul>
</div>
Expand Down
35 changes: 15 additions & 20 deletions app/app/routes/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,29 +149,24 @@ export default function About() {
<div className="menu-practice-areas-container">
<ul id="menu-practice-areas" className="menu">
<li className="menu-item menu-item--depth-0">
<a href="../nursing-home-abuse" tabIndex={0}>
Nursing Home Abuse
<a href="../serious-injury" tabIndex={0}>
Medical Malpractice
</a>
</li>
<li className="menu-item menu-item--depth-0">
<a href="../criminal-law-defense" tabIndex={0}>
Criminal Law Defense
</a>
</li>
<li className="menu-item menu-item-has-children menu-item--depth-0">
<a href="../other-practice-areas" tabIndex={0}>
Other Practice Areas
<li className="menu-item menu-item--depth-0">
<a href="../business-general-counsel-business-transactions" tabIndex={0}>
Business General Counsel / Business Transactions
</a>
</li>
<li className="menu-item menu-item--depth-0">
<a href="../nursing-home-abuse" tabIndex={0}>
Nursing Home Abuse
</a>
<ul className="sub-menu">
<li className="menu-item menu-item--depth-1"><a
href="../business-general-counsel-business-transactions"
tabIndex={0}>Business
General Counsel/ Business Transactions</a></li>
<li className="menu-item menu-item--depth-1"><a
href="../criminal-law-defense"
tabIndex={0}>Criminal
Law Defense</a></li>
<li className="menu-item menu-item--depth-1"><a
href="../serious-injury" tabIndex={0}>
Serious Injury
</a>
</li>
</ul>
</li>
</ul>
</div>
Expand Down
57 changes: 25 additions & 32 deletions app/app/routes/atlanta-medical-malpractice-law-office.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,47 +133,40 @@ export default function AtlantaMedicalMalpracticeLawOffice() {
>
<li className='menu-item current-menu-item menu-item--depth-0'>
<a
href='nursing-home-abuse'
href='serious-injury'
aria-current='page'
tabIndex={0}
>
Nursing Home Abuse
Medical Malpractice
</a>
</li>
<li className='menu-item menu-item-has-children menu-item--depth-0'>
<li className='menu-item menu-item--depth-0'>
<a
href='other-practice-areas'
href='criminal-law-defense'
aria-current='page'
tabIndex={0}
>
Criminal Law Defense
</a>
</li>
<li className='menu-item menu-item--depth-0'>
<a
href='business-general-counsel-business-transactions'
aria-current='page'
tabIndex={0}
>
Other Practice Areas
Business General Counsel / Business
Transactions
</a>
</li>
<li className='menu-item menu-item--depth-0'>
<a
href='nursing-home-abuse'
aria-current='page'
tabIndex={0}
>
Nursing Home Abuse
</a>
<ul className='sub-menu'>
<li className='menu-item menu-item--depth-1'>
<a
href='business-general-counsel-business-transactions'
tabIndex={0}
>
Business General Counsel/ Business
Transactions
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='criminal-law-defense'
tabIndex={0}
>
Criminal Law Defense
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='serious-injury'
tabIndex={0}
>
Serious Injury
</a>
</li>
</ul>
</li>
</ul>
</div>
Expand Down
62 changes: 27 additions & 35 deletions app/app/routes/business-general-counsel-business-transactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ export default function BusinessGeneralCounselBusinessTransactions() {
<ol className='dcsbcm_divi_breadcrumbs'>
<li className='dcsbcm_divi_breadcrumb'>
<a href='/'>
<span>
Home
</span>
<span>Home</span>
</a>
<meta
property='position'
Expand Down Expand Up @@ -136,48 +134,42 @@ export default function BusinessGeneralCounselBusinessTransactions() {
id='menu-practice-areas'
className='menu'
>
<li className='menu-item current-menu-item menu-item--depth-0'>
<a
href='serious-injury'
aria-current='page'
tabIndex={0}
>
Medical Malpractice
</a>
</li>
<li className='menu-item menu-item--depth-0'>
<a
href='/nursing-home-abuse'
href='criminal-law-defense'
aria-current='page'
tabIndex={0}
>
Nursing Home Abuse
Criminal Law Defense
</a>
</li>
<li className='menu-item menu-item--depth-0'>
<a
href='business-general-counsel-business-transactions'
aria-current='page'
tabIndex={0}
>
Business General Counsel / Business
Transactions
</a>
</li>
<li className='menu-item menu-item-has-children current-menu-parent menu-item--depth-0'>
<li className='menu-item menu-item--depth-0'>
<a
href='other-practice-areas'
href='nursing-home-abuse'
aria-current='page'
tabIndex={0}
>
Other Practice Areas
Nursing Home Abuse
</a>
<ul className='sub-menu'>
<li className='menu-item current-menu-item menu-item--depth-1'>
<a
href='business-general-counsel-business-transactions'
aria-current='page'
tabIndex={0}
>
Business General Counsel / Business Transactions
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='criminal-law-defense'
tabIndex={0}
>
Criminal Law Defense
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='serious-injury'
tabIndex={0}
>
Serious Injury
</a>
</li>
</ul>
</li>
</ul>
</div>
Expand Down
61 changes: 26 additions & 35 deletions app/app/routes/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ export default function Contact() {
// typeof="ListItem"
>
<a href='/'>
<span>
Home
</span>
<span>Home</span>
</a>
<meta
property='position'
Expand Down Expand Up @@ -119,47 +117,40 @@ export default function Contact() {
>
<li className='menu-item current-menu-item menu-item--depth-0'>
<a
href='nursing-home-abuse'
href='serious-injury'
aria-current='page'
tabIndex={0}
>
Nursing Home Abuse
Medical Malpractice
</a>
</li>
<li className='menu-item menu-item-has-children menu-item--depth-0'>
<li className='menu-item menu-item--depth-0'>
<a
href='other-practice-areas'
href='criminal-law-defense'
aria-current='page'
tabIndex={0}
>
Criminal Law Defense
</a>
</li>
<li className='menu-item menu-item--depth-0'>
<a
href='business-general-counsel-business-transactions'
aria-current='page'
tabIndex={0}
>
Other Practice Areas
Business General Counsel / Business
Transactions
</a>
</li>
<li className='menu-item menu-item--depth-0'>
<a
href='nursing-home-abuse'
aria-current='page'
tabIndex={0}
>
Nursing Home Abuse
</a>
<ul className='sub-menu'>
<li className='menu-item menu-item--depth-1'>
<a
href='business-general-counsel-business-transactions'
tabIndex={0}
>
Business General Counsel/ Business
Transactions
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='criminal-law-defense'
tabIndex={0}
>
Criminal Law Defense
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='serious-injury'
tabIndex={0}
>
Serious Injury
</a>
</li>
</ul>
</li>
</ul>
</div>
Expand Down
Loading

0 comments on commit e579c59

Please sign in to comment.