tfn change

This commit is contained in:
user
2025-12-08 15:04:36 +02:00
parent d7c1a738f4
commit be22228d5d
4 changed files with 12 additions and 12 deletions

View File

@@ -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>
);

View File

@@ -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>

View File

@@ -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";

View File

@@ -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>