Compare commits

..

No commits in common. "96f0dac4140190dc63b1c8f36c254bd8a15ead41" and "d6750d7c16edbcb821c37c8e21486696150b1042" have entirely different histories.

4 changed files with 59 additions and 72 deletions

View File

@ -637,7 +637,7 @@ export default function BookNowPage() {
Submitting...
</>
) : (
"Request Appointment"
"Submit Booking Request"
)}
</Button>
<p className={`text-xs text-center mt-4 ${isDark ? 'text-gray-400' : 'text-gray-500'}`}>

View File

@ -19,7 +19,6 @@ export function Finances() {
"Visa"
];
return (
<section
id="finances"

View File

@ -133,7 +133,7 @@ export function HeroSection() {
>
<a href="/book-now">
<Calendar className="mr-2 h-5 w-5" />
Request Appointment
Book Appointment
<ArrowRight className="ml-2 h-5 w-5 group-hover:translate-x-1 transition-transform" />
</a>
</Button>

View File

@ -6,7 +6,7 @@ import { Heart, Menu, X } from "lucide-react";
import { ThemeToggle } from "@/components/ThemeToggle";
import { useEffect, useState } from "react";
import { LoginDialog } from "@/components/LoginDialog";
import { useRouter, usePathname } from "next/navigation";
import { useRouter } from "next/navigation";
import Link from "next/link";
import { useAppTheme } from "@/components/ThemeProvider";
@ -16,8 +16,6 @@ export function Navbar() {
const [loginDialogOpen, setLoginDialogOpen] = useState(false);
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
const router = useRouter();
const pathname = usePathname();
const isUserDashboard = pathname?.startsWith("/user/dashboard");
const scrollToSection = (id: string) => {
const element = document.getElementById(id);
@ -73,7 +71,6 @@ export function Navbar() {
</motion.div>
{/* Desktop Navigation */}
{!isUserDashboard && (
<div className="hidden lg:flex items-center gap-4 xl:gap-6">
<button
onClick={() => scrollToSection("about")}
@ -94,11 +91,9 @@ export function Navbar() {
Contact
</button>
</div>
)}
{/* Desktop Actions */}
<div className="hidden lg:flex items-center gap-2">
{!isUserDashboard && (
<Button
size="sm"
variant="outline"
@ -107,7 +102,6 @@ export function Navbar() {
>
Sign In
</Button>
)}
<ThemeToggle />
<Button size="sm" className="hover:opacity-90 hover:scale-105 transition-all text-xs sm:text-sm" asChild>
<a href="/book-now">Book Now</a>
@ -161,8 +155,6 @@ export function Navbar() {
>
<div className="flex flex-col p-4 sm:p-6 space-y-3 sm:space-y-4">
{/* Mobile Navigation Links */}
{!isUserDashboard && (
<>
<button
onClick={() => scrollToSection("about")}
className={`text-left text-sm sm:text-base font-medium py-2.5 sm:py-3 px-3 sm:px-4 rounded-lg transition-colors ${isDark ? 'text-gray-300 hover:bg-gray-800' : 'text-gray-700 hover:bg-gray-100'}`}
@ -181,11 +173,8 @@ export function Navbar() {
>
Contact
</button>
</>
)}
<div className={`border-t pt-3 sm:pt-4 mt-3 sm:mt-4 space-y-2 sm:space-y-3 ${isDark ? 'border-gray-700' : 'border-gray-200'}`}>
{!isUserDashboard && (
<Button
variant="outline"
className={`w-full justify-start text-sm sm:text-base ${isDark ? 'border-gray-700 text-gray-300 hover:bg-gray-800' : ''}`}
@ -196,7 +185,6 @@ export function Navbar() {
>
Sign In
</Button>
)}
<Button
className="w-full justify-start bg-gradient-to-r from-rose-500 to-pink-600 hover:from-rose-600 hover:to-pink-700 text-white text-sm sm:text-base"
asChild