Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d342c8b54b | |||
| 6a99abed97 | |||
| dbd12a503d | |||
| 366104467a |
@@ -6,8 +6,11 @@ import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloating
|
|||||||
import ContactText from "@/components/sections/contact/ContactText";
|
import ContactText from "@/components/sections/contact/ContactText";
|
||||||
import FooterBase from "@/components/sections/footer/FooterBase";
|
import FooterBase from "@/components/sections/footer/FooterBase";
|
||||||
import { Award } from "lucide-react";
|
import { Award } from "lucide-react";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
export default function ContactPage() {
|
export default function ContactPage() {
|
||||||
|
const [showPhoneNumber, setShowPhoneNumber] = useState(false);
|
||||||
|
|
||||||
const navItems = [
|
const navItems = [
|
||||||
{ name: "Home", id: "/" },
|
{ name: "Home", id: "/" },
|
||||||
{ name: "About", id: "about" },
|
{ name: "About", id: "about" },
|
||||||
@@ -42,6 +45,10 @@ export default function ContactPage() {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const handleConsultationClick = () => {
|
||||||
|
setShowPhoneNumber(!showPhoneNumber);
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="shift-hover"
|
defaultButtonVariant="shift-hover"
|
||||||
@@ -60,7 +67,8 @@ export default function ContactPage() {
|
|||||||
brandName="Bhawanshilp Architects"
|
brandName="Bhawanshilp Architects"
|
||||||
navItems={navItems}
|
navItems={navItems}
|
||||||
button={{
|
button={{
|
||||||
text: "Get Free Consultation", href: "contact"}}
|
text: showPhoneNumber ? "+91 72753 18871" : "Get Free Consultation", onClick: handleConsultationClick,
|
||||||
|
}}
|
||||||
animateOnLoad={true}
|
animateOnLoad={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -11,8 +11,11 @@ import FooterBase from "@/components/sections/footer/FooterBase";
|
|||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import { Award, Briefcase, Home, Building2, Palette, Shield, UtensilsCrossed } from "lucide-react";
|
import { Award, Briefcase, Home, Building2, Palette, Shield, UtensilsCrossed } from "lucide-react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
export default function HomePage() {
|
export default function HomePage() {
|
||||||
|
const [showPhoneNumber, setShowPhoneNumber] = useState(false);
|
||||||
|
|
||||||
const navItems = [
|
const navItems = [
|
||||||
{ name: "Home", id: "/" },
|
{ name: "Home", id: "/" },
|
||||||
{ name: "About", id: "about" },
|
{ name: "About", id: "about" },
|
||||||
@@ -47,6 +50,10 @@ export default function HomePage() {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const handleConsultationClick = () => {
|
||||||
|
setShowPhoneNumber(!showPhoneNumber);
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="shift-hover"
|
defaultButtonVariant="shift-hover"
|
||||||
@@ -69,7 +76,8 @@ export default function HomePage() {
|
|||||||
id: item.id,
|
id: item.id,
|
||||||
}))}
|
}))}
|
||||||
button={{
|
button={{
|
||||||
text: "Get Free Consultation", href: "contact"}}
|
text: showPhoneNumber ? "+91 72753 18871" : "Get Free Consultation", onClick: handleConsultationClick,
|
||||||
|
}}
|
||||||
animateOnLoad={true}
|
animateOnLoad={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -84,7 +92,8 @@ export default function HomePage() {
|
|||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Get Free Consultation", href: "contact"},
|
text: "Get Free Consultation", onClick: handleConsultationClick,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: "View Projects", href: "projects"},
|
text: "View Projects", href: "projects"},
|
||||||
]}
|
]}
|
||||||
|
|||||||
@@ -8,8 +8,11 @@ import FooterBase from "@/components/sections/footer/FooterBase";
|
|||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import { Images, Home, Building2, Briefcase } from "lucide-react";
|
import { Images, Home, Building2, Briefcase } from "lucide-react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
export default function ProjectsPage() {
|
export default function ProjectsPage() {
|
||||||
|
const [showPhoneNumber, setShowPhoneNumber] = useState(false);
|
||||||
|
|
||||||
const navItems = [
|
const navItems = [
|
||||||
{ name: "Home", id: "/" },
|
{ name: "Home", id: "/" },
|
||||||
{ name: "About", id: "about" },
|
{ name: "About", id: "about" },
|
||||||
@@ -44,6 +47,10 @@ export default function ProjectsPage() {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const handleConsultationClick = () => {
|
||||||
|
setShowPhoneNumber(!showPhoneNumber);
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="shift-hover"
|
defaultButtonVariant="shift-hover"
|
||||||
@@ -66,7 +73,8 @@ export default function ProjectsPage() {
|
|||||||
id: item.id,
|
id: item.id,
|
||||||
}))}
|
}))}
|
||||||
button={{
|
button={{
|
||||||
text: "Get Free Consultation", href: "/contact"}}
|
text: showPhoneNumber ? "+91 72753 18871" : "Get Free Consultation", onClick: handleConsultationClick,
|
||||||
|
}}
|
||||||
animateOnLoad={true}
|
animateOnLoad={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -129,7 +137,8 @@ export default function ProjectsPage() {
|
|||||||
animationType="background-highlight"
|
animationType="background-highlight"
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Get Free Consultation", href: "/contact"},
|
text: "Get Free Consultation", onClick: handleConsultationClick,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: "View Services", href: "/services"},
|
text: "View Services", href: "/services"},
|
||||||
]}
|
]}
|
||||||
|
|||||||
@@ -8,8 +8,11 @@ import FooterBase from "@/components/sections/footer/FooterBase";
|
|||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import { Briefcase } from "lucide-react";
|
import { Briefcase } from "lucide-react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
export default function ServicesPage() {
|
export default function ServicesPage() {
|
||||||
|
const [showPhoneNumber, setShowPhoneNumber] = useState(false);
|
||||||
|
|
||||||
const navItems = [
|
const navItems = [
|
||||||
{ name: "Home", id: "/" },
|
{ name: "Home", id: "/" },
|
||||||
{ name: "About", id: "about" },
|
{ name: "About", id: "about" },
|
||||||
@@ -44,6 +47,10 @@ export default function ServicesPage() {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const handleConsultationClick = () => {
|
||||||
|
setShowPhoneNumber(!showPhoneNumber);
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="shift-hover"
|
defaultButtonVariant="shift-hover"
|
||||||
@@ -66,7 +73,8 @@ export default function ServicesPage() {
|
|||||||
id: item.id,
|
id: item.id,
|
||||||
}))}
|
}))}
|
||||||
button={{
|
button={{
|
||||||
text: "Get Free Consultation", href: "/contact"}}
|
text: showPhoneNumber ? "+91 72753 18871" : "Get Free Consultation", onClick: handleConsultationClick,
|
||||||
|
}}
|
||||||
animateOnLoad={true}
|
animateOnLoad={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -120,7 +128,8 @@ export default function ServicesPage() {
|
|||||||
animationType="background-highlight"
|
animationType="background-highlight"
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Book Consultation", href: "/contact"},
|
text: "Book Consultation", onClick: handleConsultationClick,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: "View Portfolio", href: "/projects"},
|
text: "View Portfolio", href: "/projects"},
|
||||||
]}
|
]}
|
||||||
|
|||||||
Reference in New Issue
Block a user