Skip to content

Commit 8450906

Browse files
authored
Merge pull request #769 from iron-fish/bridge-launch
Bridge launch
2 parents 0306146 + 9af9760 commit 8450906

File tree

15 files changed

+599
-77
lines changed

15 files changed

+599
-77
lines changed

components/BridgeDropdown/BridgeDropdown.tsx

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,14 @@ export function BridgeDropdown() {
2828
return (
2929
<Box position="relative">
3030
<ButtonContents hidden />
31-
<ButtonContents
32-
disabled
33-
position="absolute"
34-
top={0}
35-
left={0}
36-
zIndex={1}
37-
/>
31+
<ButtonContents position="absolute" top={0} left={0} zIndex={1} />
3832
</Box>
3933
);
4034
}
4135

4236
function ButtonContents({
4337
hidden,
4438
children,
45-
disabled,
4639
...rest
4740
}: BoxProps & {
4841
hidden?: boolean;
@@ -61,36 +54,11 @@ function ButtonContents({
6154
borderRadius={28}
6255
onClick={toggleIsOpen}
6356
w="100%"
64-
disabled={disabled}
65-
_disabled={{
66-
cursor: "not-allowed",
67-
bg: "#F3F3F4",
68-
}}
6957
{...rest}
7058
>
71-
<Flex
72-
flexDir="column"
73-
px={10}
74-
h={14}
75-
alignItems="center"
76-
gap={disabled ? 0 : 2}
77-
justifyContent="center"
78-
>
79-
{disabled ? (
80-
<>
81-
<Text lineHeight="1.2" fontSize="sm" color="#686868">
82-
{formatMessage(messages.bridge)}
83-
</Text>
84-
<Text whiteSpace="nowrap" fontSize="xs" color="#686868">
85-
{formatMessage(messages.comingSoon)}
86-
</Text>
87-
</>
88-
) : (
89-
<>
90-
<Text fontSize="xl">Bridge</Text>
91-
{isOpen ? <IoChevronUp size={20} /> : <IoChevronDown size={20} />}
92-
</>
93-
)}
59+
<Flex px={10} h={14} alignItems="center" gap={2} justifyContent="center">
60+
<Text fontSize="xl">Bridge</Text>
61+
{isOpen ? <IoChevronUp size={20} /> : <IoChevronDown size={20} />}
9462
</Flex>
9563
{!hidden && isOpen && (
9664
<>

components/Footer/Footer.tsx

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,20 +153,20 @@ export function Footer() {
153153
<Flex
154154
alignItems={{
155155
base: "flex-start",
156-
lg: "center",
156+
xl: "center",
157157
}}
158158
w="100%"
159159
flexDirection={{
160160
base: "column",
161-
lg: "row",
161+
xl: "row",
162162
}}
163163
>
164164
<Flex
165165
alignItems="center"
166166
w="100%"
167167
mb={{
168168
base: 16,
169-
lg: 0,
169+
xl: 0,
170170
}}
171171
>
172172
<Circle />
@@ -181,6 +181,24 @@ export function Footer() {
181181
md: "row",
182182
}}
183183
>
184+
<Text
185+
as={Link}
186+
href="/terms-and-conditions"
187+
_hover={{
188+
textDecoration: "underline",
189+
}}
190+
>
191+
Terms and Conditions
192+
</Text>
193+
<Text
194+
mx={2}
195+
display={{
196+
base: "none",
197+
md: "block",
198+
}}
199+
>
200+
|
201+
</Text>
184202
<Text
185203
as={Link}
186204
href="/privacy-policy"

components/HomePage/Hero/Hero.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ export function Hero() {
117117
>
118118
<Box width="100%">
119119
<AspectRatio position="relative" ratio={657 / 424}>
120-
{/* <VideoPopup videoUrl="https://x3mk3ilmgdzxy3rj.public.blob.vercel-storage.com/hero-video-vGWSDl6a97OlvBkJuv3tXnzqGJOwDD.mp4"> */}
121-
<Image
122-
priority
123-
src="/images/home/hero-video.png"
124-
alt=""
125-
style={{ objectFit: "contain" }}
126-
fill
127-
/>
128-
{/* </VideoPopup> */}
120+
<VideoPopup videoUrl="https://x3mk3ilmgdzxy3rj.public.blob.vercel-storage.com/hero-video-vGWSDl6a97OlvBkJuv3tXnzqGJOwDD.mp4">
121+
<Image
122+
priority
123+
src="/images/home/hero-video.png"
124+
alt=""
125+
style={{ objectFit: "contain" }}
126+
fill
127+
/>
128+
</VideoPopup>
129129
</AspectRatio>
130130
</Box>
131131
</GridItem>

components/HomePage/Safety/Safety.tsx

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -276,18 +276,12 @@ function ItemCard({
276276
comingSoon,
277277
...rest
278278
}: ItemCardProps) {
279-
const linkProps = comingSoon
280-
? null
281-
: {
282-
as: Link,
283-
href,
284-
target: href.startsWith("http") ? "_blank" : undefined,
285-
rel: href.startsWith("http") ? "noreferrer" : undefined,
286-
};
287-
288279
return (
289280
<ShadowBox
290-
{...linkProps}
281+
as={Link}
282+
href={href}
283+
target={href.startsWith("http") ? "_blank" : undefined}
284+
rel={href.startsWith("http") ? "noreferrer" : undefined}
291285
bg="#242424"
292286
borderColor="#3B3B3B"
293287
shadowColor="#242424"
@@ -321,15 +315,7 @@ function ItemCard({
321315
<Text color="white" textStyle="md" mb={8}>
322316
{description}
323317
</Text>
324-
{comingSoon ? (
325-
<Box mb={8} bg="#2F3A1F" borderRadius="4px">
326-
<Text px={6} py={2} color="#C7F182">
327-
Coming Soon
328-
</Text>
329-
</Box>
330-
) : (
331-
<FancyLink color="pink.400">{linkText}</FancyLink>
332-
)}
318+
<FancyLink color="pink.400">{linkText}</FancyLink>
333319

334320
<HStack flexGrow={1} alignItems="flex-end" {...imageContainerProps}>
335321
<Image src={imageSrc} alt={name} />

content/get-started/sidebar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { SidebarDefinition } from "@/lib/markdown";
22

33
export const sidebar: SidebarDefinition = [
4-
"get-started",
54
"mining",
65
// "ledger", // TODO: Uncomment after Ledger Live launch
76
"glossary",
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
title: Terms and Conditions
3+
description: Terms and Conditions | Iron Fish
4+
---
5+
6+
## Legal Disclaimer
7+
8+
**Last updated on January 2025**
9+
10+
Please read this disclaimer carefully before using [https://ironfish.network](https://ironfish.network/) (hereinafter referred to as the "Website," and the services offered therein as "Our Services").
11+
12+
The terms of use of the Website contained herein (the "Terms of Use") are entered into by and between the Website user ("You") and Iron Fish Inc. (hereinafter referred to as "We," "Us," or "Our").
13+
14+
By accessing or utilizing the Website, you acknowledge and agree to these Terms of Use, as well as any additional terms referenced herein. If you do not agree, you must cease using the Website and its services immediately.
15+
16+
You further represent and warrant that you:
17+
18+
(a) are of legal age to enter into a binding agreement;
19+
20+
(b) have not been previously banned, suspended, or otherwise prohibited from using Our Services; and
21+
22+
(c) have full legal authority to enter into this agreement and, in doing so, do not violate any applicable laws or agreements to which you are a party.
23+
24+
If you are using the Website on behalf of a legal entity, you also represent and warrant that:
25+
26+
(a) the entity is validly registered and operating under the applicable laws of its jurisdiction, and
27+
28+
(b) you are duly authorized to act on behalf of the entity and bind it to these Terms of Use.
29+
30+
### Purpose and Nature of the Service
31+
32+
Iron Fish provides a decentralized platform and protocol for private and secure blockchain transactions. The protocol consists of open-source or source-available software, including smart contracts deployed on blockchain networks. By interacting with the protocol and its associated user interface, you acknowledge the experimental nature of the technology and the inherent risks that come with its use.
33+
34+
Your use of the Iron Fish Website and protocol is entirely voluntary and based on your own understanding of the associated risks. It is your responsibility to review all relevant documentation, terms, and risk disclosures to ensure you fully understand the functionalities, limitations, and potential outcomes of using the protocol.
35+
36+
Additionally, just as email protocols (e.g., SMTP) may be accessed through various clients, the Iron Fish protocol may be accessed through multiple web or mobile interfaces. You are responsible for conducting due diligence on any third-party interfaces you use and understanding the associated risks and costs.
37+
38+
### Risks Associated with Use
39+
40+
Your participation in the Iron Fish ecosystem, including but not limited to interacting with the protocol or conducting transactions via the Website, involves significant risks. These risks may include, but are not limited to:
41+
42+
- Loss of funds due to user error (e.g., sending tokens to incorrect addresses).
43+
- Bugs or vulnerabilities in smart contracts or the protocol.
44+
- Fluctuations in the value of cryptocurrencies or other digital assets.
45+
- Temporary or permanent unavailability of blockchain infrastructure.
46+
- Failures caused by hardware, software, or network issues.
47+
- Security breaches, including the introduction of malicious software or unauthorized access to your wallet.
48+
49+
The Company does not own or control the protocol, which operates via deployed smart contracts. By using the protocol, you accept that the Company is not responsible for any losses, damages, or disruptions resulting from your interaction with the protocol or other users.
50+
51+
**The Website, protocol, and all associated services are provided on an "AS IS" and "AS AVAILABLE" basis, without warranties of any kind, either express or implied.**
52+
53+
### Experimental Technology
54+
55+
The Iron Fish protocol is an experimental project. By using it, you acknowledge and accept the risks inherent in interacting with novel blockchain technologies. These risks include, but are not limited to, potential bugs, errors, or failures in the code, as well as the possibility of permanent loss of funds.
56+
57+
Your use of the protocol is entirely at your own risk. Iron Fish Inc. and its contributors disclaim all liability for losses, damages, or claims arising from your use of the protocol, including but not limited to:
58+
59+
- Direct, indirect, or incidental damages.
60+
- Loss of profits or digital assets.
61+
- Security breaches or unauthorized access.
62+
- Any other consequential damages arising from your inability to interact with the protocol or its services.
63+
64+
### No Liability
65+
66+
By using the Iron Fish protocol, you agree that no entity or individual involved in its creation, maintenance, or development will be held liable for any claims, damages, or losses related to your use of the protocol. This includes, but is not limited to:
67+
68+
- Loss of cryptocurrencies, tokens, or other assets.
69+
- Network interruptions or failures.
70+
- Errors or inaccuracies in the protocol or Website.
71+
72+
You agree to waive any claims or demands against Iron Fish Inc. and its contributors for any loss, damage, or liability related to your use of the protocol.
73+
74+
### Compliance and Tax Obligations
75+
76+
You are solely responsible for determining and fulfilling any legal or tax obligations related to your use of the Iron Fish protocol and associated services. We do not provide tax, financial, or legal advice and are not responsible for calculating or remitting taxes on your behalf.
77+
78+
### Security
79+
80+
While every effort is made to ensure the security of the protocol and Website, no system is entirely free from risks. You are responsible for safeguarding your private keys, wallet credentials, and any other sensitive information.
81+
82+
We cannot guarantee that the Website, protocol, or associated services are free from bugs, vulnerabilities, or malicious code. As such, we strongly recommend that you take all necessary precautions to secure your interactions with the protocol, including using reputable wallet software and maintaining an up-to-date understanding of blockchain security best practices.
83+
84+
### Third-Party Interfaces
85+
86+
The Iron Fish protocol may be accessed through third-party applications or interfaces. We do not endorse, control, or take responsibility for any third-party services or content, including their fees, security, or functionality. Your use of third-party interfaces is entirely at your own risk, and you are solely responsible for evaluating their risks and benefits.
87+
88+
### Modifications and Termination
89+
90+
We reserve the right to modify or discontinue any part of the Website or protocol without prior notice. Any updates to these Terms of Use will be effective immediately upon posting. Your continued use of the Website or protocol following any changes constitutes your acceptance of the revised terms.
91+
92+
### Arbitration and Dispute Resolution
93+
94+
Any disputes arising out of or related to these Terms of Use or your use of the Website or protocol shall be resolved through binding arbitration under the rules of the Judicial Arbitration and Mediation Services (JAMS). Arbitration shall occur on an individual basis, and class arbitration is not permitted.
95+
96+
If the prohibition on class arbitration is deemed unenforceable, the remainder of this arbitration agreement shall remain valid.

lib/ui/src/components/NavBar/Desktop/DesktopVariant.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export function DesktopVariant({ content }: { content: NavItems }) {
112112
})}
113113
</HStack>
114114
<HStack alignItems="center">
115-
<Button size="lg" as={Link} href="/use/get-started">
115+
<Button size="lg" as={Link} href="/get-started">
116116
<Box mr={4}>Get Started</Box>
117117
<FancyArrowRight />
118118
</Button>

lib/ui/src/components/NavBar/Mobile/MobileVariant.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export function MobileVariant({ content }: { content: NavItems }) {
164164
);
165165
})}
166166
<Box py={6}>
167-
<Button size="lg" as={Link} href="/use/get-started">
167+
<Button size="lg" as={Link} href="/get-started">
168168
<Box mr={4}>Get Started</Box>
169169
<FancyArrowRight />
170170
</Button>

lib/ui/src/components/ShadowBox/ShadowBox.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import { Box, BoxProps, ChakraComponent } from "@chakra-ui/react";
1+
import { Box, BoxProps, ChakraComponent, useBoolean } from "@chakra-ui/react";
22

33
export type ShadowBoxProps = {
44
children: React.ReactNode;
55
shadowColor?: BoxProps["bg"];
6+
hoverShadowColor?: BoxProps["bg"];
67
borderColor?: BoxProps["borderColor"];
78
offset?: string;
89
containerProps?: BoxProps;
@@ -11,6 +12,7 @@ export type ShadowBoxProps = {
1112
export const ShadowBox: ChakraComponent<"div", ShadowBoxProps> = ({
1213
children,
1314
shadowColor = "pink.500",
15+
hoverShadowColor,
1416
offset = "6px",
1517
borderRadius = "1.5px",
1618
borderWidth = "1.5px",
@@ -19,6 +21,8 @@ export const ShadowBox: ChakraComponent<"div", ShadowBoxProps> = ({
1921
containerProps,
2022
...rest
2123
}: ShadowBoxProps) => {
24+
const [isHovered, setHovered] = useBoolean(false);
25+
2226
return (
2327
<Box
2428
position="relative"
@@ -28,6 +32,8 @@ export const ShadowBox: ChakraComponent<"div", ShadowBoxProps> = ({
2832
alignItems="stretch"
2933
justifyContent="stretch"
3034
w={width}
35+
onMouseEnter={setHovered.on}
36+
onMouseLeave={setHovered.off}
3137
{...containerProps}
3238
>
3339
<Box
@@ -37,7 +43,7 @@ export const ShadowBox: ChakraComponent<"div", ShadowBoxProps> = ({
3743
inset={0}
3844
mt={offset}
3945
ml={offset}
40-
bg={shadowColor}
46+
bg={isHovered ? hoverShadowColor : shadowColor}
4147
/>
4248
<Box
4349
bg="white"

next.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ ${isDev ? '' : 'upgrade-insecure-requests;'}
7575
},
7676
{
7777
source: "/use/get-started",
78-
destination: "/use/get-started/get-started",
78+
destination: "/get-started",
79+
permanent: false,
80+
},
81+
{
82+
source: "/learn/get-started",
83+
destination: "/get-started",
7984
permanent: false,
8085
},
8186
{

0 commit comments

Comments
 (0)