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