Skip to content

Commit

Permalink
feat: update ticket url
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirHosseinKarimi committed Jan 27, 2024
1 parent 58b78dd commit 10f577a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/app/components/ConferenceTicket/ConferenceTicket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
RiVipDiamondFill,
} from "react-icons/ri";
import TicketPlanCard from "./TicketPlanCard";
import { env } from "process";

export default function ConferenceLocation() {
return (
Expand All @@ -19,10 +20,11 @@ export default function ConferenceLocation() {
<RiCouponLine className="size-12 fill-orange-500 lg:size-16" />
<h3 className="text-2xl font-bold lg:text-3xl">بلیت‌های همایش</h3>
<Link
target="_blank"
href={env.TICKET_URL ?? "#?"}
className={`${buttonVariants({
variant: "primary",
})} mt-4 gap-2 px-2 py-1.5 lg:mt-6 lg:gap-2 lg:px-3 lg:py-2`}
href="#"
>
<RiCouponFill className="size-5" />
<strong>ورود و خرید بلیت</strong>
Expand Down
4 changes: 3 additions & 1 deletion src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { RiCouponFill, RiMenuLine } from "react-icons/ri";
import logo from "../assets/images/home/logo.svg";
import { buttonVariants } from "@/components/ui/Button";
import Link from "next/link";
import { env } from "process";

const Navbar = () => {
return (
Expand All @@ -26,10 +27,11 @@ const Navbar = () => {
</a>
<section className="flex items-center gap-4">
<Link
target="_blank"
href={env.TICKET_URL ?? "#?"}
className={`${buttonVariants({
variant: "primary",
})} gap-1 px-2 py-1.5 lg:gap-2 lg:px-3 lg:py-2`}
href="#?"
>
<RiCouponFill className="size-4 lg:size-5" />
<strong>ثبت نام در همایش</strong>
Expand Down

0 comments on commit 10f577a

Please sign in to comment.