Skip to content

Commit 0fb98bb

Browse files
committed
refactor(webapp): remove extra mobile menu implementation from landing page component
- Removed the mobile menu button and its associated functionality from the landing page component. - Cleaned up the code to enhance maintainability and readability. - This change simplifies the component by eliminating unused features.
1 parent 8f255a1 commit 0fb98bb

File tree

1 file changed

+0
-66
lines changed

1 file changed

+0
-66
lines changed

webapp/src/app/components/landing-page.component.ts

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -131,72 +131,6 @@ import { AnalyticsService } from '../services/analytics.service'
131131
<span class="ml-1 bg-blue-500 text-white text-xs px-1.5 py-0.5 rounded-full">BETA</span>
132132
</a>
133133
</div>
134-
135-
<!-- Mobile Menu Button -->
136-
<button
137-
class="md:hidden text-gray-600 focus:outline-none hover:text-blue-600 transition duration-300"
138-
(click)="toggleMobileMenu()"
139-
aria-label="Toggle menu"
140-
>
141-
<svg
142-
xmlns="http://www.w3.org/2000/svg"
143-
class="h-6 w-6"
144-
fill="none"
145-
viewBox="0 0 24 24"
146-
stroke="currentColor"
147-
>
148-
<path
149-
*ngIf="!isMobileMenuOpen()"
150-
stroke-linecap="round"
151-
stroke-linejoin="round"
152-
stroke-width="2"
153-
d="M4 6h16M4 12h16M4 18h16"
154-
/>
155-
<path
156-
*ngIf="isMobileMenuOpen()"
157-
stroke-linecap="round"
158-
stroke-linejoin="round"
159-
stroke-width="2"
160-
d="M6 18L18 6M6 6l12 12"
161-
/>
162-
</svg>
163-
</button>
164-
</div>
165-
166-
<!-- Mobile Menu -->
167-
<div
168-
*ngIf="isMobileMenuOpen()"
169-
[@mobileMenuAnimation]
170-
class="md:hidden mt-3 border-t border-gray-200 pt-3"
171-
>
172-
<div class="flex flex-col space-y-3">
173-
<a
174-
href="#features"
175-
class="text-gray-600 hover:text-blue-600 transition duration-300 py-1"
176-
(click)="closeMobileMenu()"
177-
>Features</a
178-
>
179-
<a
180-
href="#about"
181-
class="text-gray-600 hover:text-blue-600 transition duration-300 py-1"
182-
(click)="closeMobileMenu()"
183-
>About</a
184-
>
185-
<a
186-
href="#contact"
187-
class="text-gray-600 hover:text-blue-600 transition duration-300 py-1"
188-
(click)="closeMobileMenu()"
189-
>Contact</a
190-
>
191-
<a
192-
routerLink="chat"
193-
class="text-blue-600 hover:text-blue-800 transition duration-300 flex items-center py-1"
194-
(click)="closeMobileMenu()"
195-
>
196-
<span>Chat</span>
197-
<span class="ml-1 bg-blue-500 text-white text-xs px-1.5 py-0.5 rounded-full">BETA</span>
198-
</a>
199-
</div>
200134
</div>
201135
</nav>
202136

0 commit comments

Comments
 (0)