first view links
This commit is contained in:
parent
2383730d0f
commit
e9594a754a
|
|
@ -1,4 +1,5 @@
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
|
import { URL_WHITEPAPER, URL_TELEGRAM } from "../shared/constants";
|
||||||
|
|
||||||
interface FirstVisitModalProps {
|
interface FirstVisitModalProps {
|
||||||
isOpen: boolean;
|
isOpen: boolean;
|
||||||
|
|
@ -43,14 +44,14 @@ export function FirstVisitModal({ isOpen, onClose }: FirstVisitModalProps) {
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{[
|
{[
|
||||||
{ step: "New here? Check out our", desc: "Whitepaper to understand how everything works." },
|
{ step: "New here? Check out our", desc: "Whitepaper to understand how everything works.", link: URL_WHITEPAPER },
|
||||||
{ step: "Got questions or just wanna vibe with the squad?", desc: "Join our Telegram." },
|
{ step: "Got questions or just wanna vibe with the squad?", desc: "Join our Telegram.", link: URL_TELEGRAM },
|
||||||
].map(({ step, desc }, index) => (
|
].map(({ step, desc, link }, index) => (
|
||||||
<div key={index}>
|
<div key={index} onClick={() => window.open(link, "_blank")}>
|
||||||
<h3 className="text-[rgb(248,144,22)] font-bold text-lg">
|
<h3 className="text-[rgb(248,144,22)] font-bold text-lg">
|
||||||
{step}
|
{step}
|
||||||
</h3>
|
</h3>
|
||||||
<p className="text-s text-gray-400">{desc}</p>
|
<p className="text-s text-white font-bold ">{desc}</p>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user