Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
- MobileNav
- Form desc
  • Loading branch information
seelentov committed Jul 11, 2024
1 parent faa7c11 commit df2b029
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/app/[category]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ interface ICategoryPage {
params: { category: string }
}


export default async function Category({ params }: ICategoryPage) {

const category: ICategory = await getItemByFilter('categories', ['href'], params.category)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const Form = ({ type = 'default' }) => {
{type === 'default' &&
<>
<h2 className='text-header'>Закажите звонок</h2>
<p>..и свяжусь с Вами в ближайшее время</p>
<p>..и я свяжусь с Вами в ближайшее время</p>
</>}
<input
type="text"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/MobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const MobileNav = ({ serviceLinks }: { serviceLinks: MenuLink[] }) => {
<ul className={styles.navMobileList}>
{navItems && navItems.links.map(({ id, href: mainHref, name }) =>
<li key={id} className={styles.navMobileListItem} onClick={() => closeAll()}>
<Link href={mainHref}>{name}</Link>
<Link href={"/"+mainHref}>{name}</Link>
</li>
)}
</ul>
Expand Down

0 comments on commit df2b029

Please sign in to comment.