-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathlink.tsx
More file actions
41 lines (36 loc) · 1.1 KB
/
link.tsx
File metadata and controls
41 lines (36 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import Link from "next/link"
import { Stack, SvgIcon } from "@mui/material"
import { styled } from "@mui/system"
import LinkSvg from "@/assets/svgs/common/external-link.svg"
import { isMainnet } from "@/utils"
const FAQsLink = styled(Link)(() => ({
color: "#6D6D6D",
fontSize: "1.4rem",
fontWeight: 600,
textDecoration: "underline",
svg: {
marginLeft: "0.2rem",
fontSize: "0.8rem",
},
}))
const BridgeLinks = () => {
return (
<Stack direction="row" justifyContent="center" alignItems="center" spacing="2rem" sx={{ width: "100%", marginTop: "1rem" }}>
<FAQsLink href="/bridge/faq">
FAQs
<SvgIcon component={LinkSvg} inheritViewBox></SvgIcon>
</FAQsLink>
{isMainnet && (
<FAQsLink target="_blank" href="https://sepolia.scroll.io/bridge">
Testnet Bridge
<SvgIcon component={LinkSvg} inheritViewBox></SvgIcon>
</FAQsLink>
)}
<FAQsLink href="/terms-of-service">
Terms of Service
<SvgIcon component={LinkSvg} inheritViewBox></SvgIcon>
</FAQsLink>
</Stack>
)
}
export default BridgeLinks