Skip to content

Commit 8f0d944

Browse files
feat: update <HeroContent> links
1 parent 8468c9a commit 8f0d944

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/app/components/Hero/HeroContent.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Badge } from "@/components/ui/badge";
22
import { Button } from "@/components/ui/button";
3+
import { linksConfig } from "@/configs/links";
34
import { CarrotIcon, TicketIcon } from "lucide-react";
45
import Link from "next/link";
56

@@ -28,7 +29,7 @@ const HeroContent = () => {
2829
حوزه فرانت‌اند
2930
</p>
3031
<div className="relative z-10 flex animate-appear flex-wrap justify-center gap-4 opacity-0 delay-300">
31-
<Link href={"/"}>
32+
<Link href={linksConfig.buyTicket}>
3233
<Button
3334
variant="secondary"
3435
size="default"
@@ -41,7 +42,7 @@ const HeroContent = () => {
4142
</Button>
4243
</Link>
4344
<div className="overflow-hidden rounded-md">
44-
<Link href={"/"}>
45+
<Link href={linksConfig.support}>
4546
<Button variant="glow" size="default">
4647
ارتباط با پشتیبانی
4748
</Button>

src/configs/links.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export const linksConfig = {
2+
buyTicket: "https://frontchapter.ir/product/conf1403/",
3+
support: "https://t.me/FrontChapterSupport",
4+
};

0 commit comments

Comments
 (0)