tfn change
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { CONTACT_EMAIL } from "@/lib/constants";
|
||||
import { getContactLink } from "@/lib/constants";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface CallButtonProps {
|
||||
@@ -21,14 +21,14 @@ export default function CallButton({
|
||||
page,
|
||||
}: CallButtonProps) {
|
||||
return (
|
||||
<a href={`mailto:${CONTACT_EMAIL}`}>
|
||||
<a href={getContactLink(page)}>
|
||||
<Button
|
||||
size="lg"
|
||||
variant={variant}
|
||||
className={cn(fullWidth ? "w-full" : "")}
|
||||
rounded={rounded ? "full" : "default"}
|
||||
>
|
||||
<p>{text ? text : "Get Started"}</p>
|
||||
<p>{text ? text : "Call Now"}</p>
|
||||
</Button>
|
||||
</a>
|
||||
);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import * as Sheet from "@/components/ui/sheet";
|
||||
import { CONTACT_EMAIL, navLinks, TRANSITION_COLORS } from "@/lib/constants";
|
||||
import { getContactLink, navLinks, TRANSITION_COLORS } from "@/lib/constants";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { Menu } from "lucide-react";
|
||||
import React from "react";
|
||||
@@ -101,7 +101,7 @@ function Navbar({
|
||||
</li>
|
||||
))}
|
||||
|
||||
<a href={`mailto:${CONTACT_EMAIL}`}>
|
||||
<a href={getContactLink(page)}>
|
||||
<Button
|
||||
variant={variant}
|
||||
className="w-full"
|
||||
@@ -109,7 +109,7 @@ function Navbar({
|
||||
setOpen(false);
|
||||
}}
|
||||
>
|
||||
Get Started
|
||||
Call Now
|
||||
</Button>
|
||||
</a>
|
||||
</ul>
|
||||
|
||||
@@ -11,7 +11,7 @@ export const navLinks = [
|
||||
export const ADDRESS = "30 N Gould St Ste N Sheridan, WY 82801";
|
||||
|
||||
// Default phone number
|
||||
export const DEFAULT_PHONE_NO = "+1 (800) 555-0199";
|
||||
export const DEFAULT_PHONE_NO = "+1 (844) 392-4558";
|
||||
|
||||
export const CONTACT_EMAIL = "hello@superrevive.com";
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import Stats from "@/components/Stats.astro";
|
||||
import Testimonials from "@/components/Testimonials.astro";
|
||||
import Packages from "@/components/Packages.astro";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { CONTACT_EMAIL } from "@/lib/constants";
|
||||
import { CONTACT_EMAIL, getContactLink } from "@/lib/constants";
|
||||
import {
|
||||
Wifi,
|
||||
Tv,
|
||||
@@ -87,13 +87,13 @@ const page = "default";
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex flex-col sm:flex-row gap-4">
|
||||
<a href={`mailto:${CONTACT_EMAIL}`}>
|
||||
<a href={getContactLink(page)}>
|
||||
<Button
|
||||
size={"lg"}
|
||||
className="w-full sm:w-max"
|
||||
variant="blue"
|
||||
>
|
||||
Get Your Deal
|
||||
Call for Your Deal
|
||||
</Button>
|
||||
</a>
|
||||
<a href={"#packages"}>
|
||||
@@ -275,9 +275,9 @@ const page = "default";
|
||||
</div>
|
||||
|
||||
<div class="text-center mt-12">
|
||||
<a href={`mailto:${CONTACT_EMAIL}`}>
|
||||
<a href={getContactLink(page)}>
|
||||
<Button variant="blue" size="lg">
|
||||
Get Started Today
|
||||
Call Us Today
|
||||
</Button>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user