Merge remote-tracking branch 'origin/dev'

This commit is contained in:
Sewmina 2025-06-08 16:45:45 +00:00
commit b4da91fff3
2 changed files with 21 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import Image from "next/image";
import { FaTelegram, FaXTwitter } from "react-icons/fa6";
import { useState } from "react";
import PrivyButton from "./PrivyButton";
import { URL_TELEGRAM, URL_TWITTER, URL_WHITEPAPER } from "@/shared/constants";
import { URL_TELEGRAM, URL_TWITTER, URL_WHITEPAPER, URL_BUY_DUELFI } from "@/shared/constants";
import SupportModal from "./SupportModal";
export default function Header() {
@ -32,7 +32,7 @@ export default function Header() {
</div>
{/* Navigation Links (hidden on mobile, visible on md+) */}
<nav className="hidden md:flex gap-6 ml-6">
<nav className="hidden md:flex gap-6 ml-6 items-center">
<a
href={URL_WHITEPAPER}
target="_blank"
@ -47,6 +47,14 @@ export default function Header() {
>
Support
</button>
<a
href={URL_BUY_DUELFI}
target="_blank"
rel="noopener noreferrer"
className="text-white transition-colors duration-[500ms] hover:text-[rgb(248,144,22)] border border-[rgb(248,144,22)] rounded-full px-4 py-1"
>
Buy $DuelFi
</a>
</nav>
{/* Spacer (for centering) */}
@ -157,6 +165,15 @@ export default function Header() {
>
Support
</button>
<a
href={URL_BUY_DUELFI}
target="_blank"
rel="noopener noreferrer"
className="text-white transition-colors duration-[500ms] hover:text-[rgb(248,144,22)] border border-[rgb(248,144,22)] rounded-full px-4 py-1 inline-block"
onClick={() => setIsDrawerOpen(false)}
>
Buy $DuelFi
</a>
{/* Socials */}
<a

View File

@ -7,4 +7,5 @@ export const CONFIRMATION_THRESHOLD:Commitment = 'finalized';
export const URL_TELEGRAM = "https://t.me/duelfidotio";
export const URL_TWITTER = "https://x.com/duelfidotio";
export const URL_WHITEPAPER = "https://duelfi-io.gitbook.io/whitepaper";
export const URL_WHITEPAPER = "https://duelfi-io.gitbook.io/whitepaper";
export const URL_BUY_DUELFI = "https://game.com/en/FiQBQdASK3AJVZfE7Nc5KwHvQiTd8YepsHAexopPF1eS?code=E2YC2";