;
@@ -180,9 +180,7 @@ let make = (~posts) => {
buttonTextColor: Theme.Colors.white,
buttonText: "Read more",
dark: true,
- href:
- {Js.log("/blog/" ++ featured.slug);
- "/blog/" ++ featured.slug},
+ href: `Internal("/blog/" ++ featured.slug),
},
}
/>
diff --git a/frontend/website-redesign/src/pages/Community.re b/frontend/website-redesign/src/pages/Community.re
index 1a90bda9231..1bacd182c2c 100644
--- a/frontend/website-redesign/src/pages/Community.re
+++ b/frontend/website-redesign/src/pages/Community.re
@@ -227,7 +227,7 @@ let make = (~profiles) => {
buttonTextColor: Theme.Colors.white,
buttonText: "Apply now",
dark: true,
- href: "/genesis",
+ href: `Internal("/genesis"),
},
}>
@@ -276,7 +276,7 @@ let make = (~profiles) => {
"Mina rewards community members for contributing to Testnet with Testnet Points, making them stronger applicants for the Genesis Program. ",
)}
-
+
{React.string("See The Full Leaderboard")}
@@ -310,7 +310,7 @@ let make = (~profiles) => {
buttonColor: Theme.Colors.white,
buttonTextColor: Theme.Colors.orange,
dark: false,
- href: Constants.codeOfConductUrl,
+ href: `External(Constants.codeOfConductUrl),
},
}
/>
diff --git a/frontend/website-redesign/src/pages/Demo.re b/frontend/website-redesign/src/pages/Demo.re
index ac7f19fddfe..2a2691522cd 100644
--- a/frontend/website-redesign/src/pages/Demo.re
+++ b/frontend/website-redesign/src/pages/Demo.re
@@ -48,19 +48,19 @@ let make = () => {
/*** Regular buttons */
-
+
{React.string("Button Label")}
-
+
{React.string("Button label ")}
-
+
{React.string("Button label")}
-
+
{React.string("Button label")}
@@ -72,7 +72,7 @@ let make = () => {
/***Join Genesis Button, uses the CoreProtocolLarge icon */
-
+
{React.string("Join Genesis + Earn Mina")}
@@ -143,7 +143,7 @@ let make = () => {
AlternatingSections.Section.SimpleRow.title: "Run a Node",
description: "You don't have to have expensive hardware, wait days for the blockchain to sync, or use a ton of compute power to participate in consensus. Just follow clear, straightforward instructions and connect to the live peer-to-peer Mina network.",
buttonCopy: "Get Started",
- buttonUrl: "/",
+ buttonUrl: `Internal("/"),
image: "/static/img/ProgrammableMoney.png",
},
|])
diff --git a/frontend/website-redesign/src/pages/Genesis.re b/frontend/website-redesign/src/pages/Genesis.re
index b2ad86141f0..b992c0c5039 100644
--- a/frontend/website-redesign/src/pages/Genesis.re
+++ b/frontend/website-redesign/src/pages/Genesis.re
@@ -351,9 +351,7 @@ let make = (~profiles) => {
}>
window.location = 'https://docs.google.com/forms/d/e/1FAIpQLSebjJSGobXHIOPlnjnGtp0InsNFU3Z7Sig_xoqCfeaKebJ0XQ/viewform'"
- ]
+ href=`External("https://docs.google.com/forms/d/e/1FAIpQLSebjJSGobXHIOPlnjnGtp0InsNFU3Z7Sig_xoqCfeaKebJ0XQ/viewform")
bgColor=Theme.Colors.black>
{React.string("Apply Now")}
@@ -375,7 +373,7 @@ let make = (~profiles) => {
buttonColor: Theme.Colors.orange,
buttonTextColor: Theme.Colors.white,
dark: false,
- href: "#",
+ href: `External("https://docs.google.com/forms/d/e/1FAIpQLSebjJSGobXHIOPlnjnGtp0InsNFU3Z7Sig_xoqCfeaKebJ0XQ/viewform"),
},
}
/>
@@ -404,7 +402,7 @@ let make = (~profiles) => {
"Mina rewards community members for contributing to Testnet with Testnet Points, making them stronger applicants for the Genesis Program. ",
)}
-
+
{React.string("See The Full Leaderboard")}
diff --git a/frontend/website-redesign/src/pages/GetStarted.re b/frontend/website-redesign/src/pages/GetStarted.re
index 90f32bfb97c..bd903c59ec7 100644
--- a/frontend/website-redesign/src/pages/GetStarted.re
+++ b/frontend/website-redesign/src/pages/GetStarted.re
@@ -40,28 +40,28 @@ let make = () => {
AlternatingSections.Section.SimpleRow.title: "Run a Node",
description: "Other protocols are so heavy they require intermediaries to run nodes, recreating the same old power dynamics. But Mina is light, so anyone can connect peer-to-peer and sync and verify the chain in seconds. Built on a consistent-sized cryptographic proof, the blockchain will stay accessible - even as it scales to millions of users.",
buttonCopy: "Explore the Tech",
- buttonUrl: "/tech",
+ buttonUrl: `Internal("/tech"),
image: "/static/img/rowImages/RunANode.jpg",
},
{
title: "Build on Mina",
description: "Interested in building decentralized apps that use SNARKs to verify off-chain data with full verifiability, privacy and scaling? Just download the SDK, follow our step-by-step documentation and put your imagination to work.",
buttonCopy: "Run a node",
- buttonUrl: "/docs",
+ buttonUrl: `Internal("/docs"),
image: "/static/img/rowImages/BuildOnMina.jpg",
},
{
title: "Join the Community",
description: "Mina is an inclusive open source project uniting people around the world with a passion for decentralized technology and building what's next.",
buttonCopy: "See what we're up to",
- buttonUrl: "/community",
+ buttonUrl: `Internal("/community"),
image: "/static/img/rowImages/JoinCommunity.jpg",
},
{
title: "Apply for a Grant",
description: "From front-end sprints and protocol development to community building initiatives and content creation, our Grants Program invites you to help strengthen the network in exchange for Mina tokens.",
buttonCopy: "Learn More",
- buttonUrl: "/docs/contributing#mina-grants",
+ buttonUrl: `Internal("/docs/contributing#mina-grants"),
image: "/static/img/rowImages/ApplyForGrant.jpg",
},
|])
@@ -83,7 +83,7 @@ let make = () => {
buttonColor: Theme.Colors.orange,
buttonTextColor: Theme.Colors.white,
dark: false,
- href: "/genesis",
+ href: `Internal("/genesis"),
},
}
/>
diff --git a/frontend/website-redesign/src/pages/Index.re b/frontend/website-redesign/src/pages/Index.re
index 098d5ea1c0b..d9cf23c8f2f 100644
--- a/frontend/website-redesign/src/pages/Index.re
+++ b/frontend/website-redesign/src/pages/Index.re
@@ -73,7 +73,7 @@ let make = () => {
buttonColor: Theme.Colors.orange,
buttonTextColor: Theme.Colors.white,
dark: false,
- href: "/about",
+ href: `Internal("/about"),
},
}
/>
diff --git a/frontend/website-redesign/src/pages/Tech.re b/frontend/website-redesign/src/pages/Tech.re
index e0599c80157..692782124e7 100644
--- a/frontend/website-redesign/src/pages/Tech.re
+++ b/frontend/website-redesign/src/pages/Tech.re
@@ -409,12 +409,14 @@ module Incentives = {
;
};
@@ -428,7 +430,7 @@ module Incentives = {
title="Incentive Structure"
subhead="From its protocol architecture and roles framework to its incentive structure and monetary policy, Mina is designed to maximize network scalability and security."
slug="incentives">
-
+
{React.string("Economics Whitepaper")}
@@ -447,21 +449,21 @@ module Incentives = {
title="As a Block Producer"
description="Block producers are akin to miners or stakers in other protocols. By staking Mina, they can be selected to produce a block and earn block rewards in the form of coinbase, transaction fees and network fees. Block producers can decide to also be SNARK producers."
image="/static/img/tech-block-producer.png"
- url="/"
+ url="/docs"
/>
;
@@ -516,7 +518,7 @@ let make = () => {
button: {
buttonColor: Theme.Colors.orange,
buttonTextColor: Css.white,
- href: "/docs",
+ href: `Internal("/docs"),
buttonText: "Run a Node",
dark: false,
},
@@ -549,7 +551,7 @@ let make = () => {
buttonTextColor: Css.white,
buttonText: "Get Started",
dark: false,
- href: "/docs",
+ href: `Internal("/docs"),
},
contentBackground: Color(Css.white),
}
diff --git a/frontend/website-redesign/src/pages/Testnet.re b/frontend/website-redesign/src/pages/Testnet.re
index 322b677bed6..f328864d530 100644
--- a/frontend/website-redesign/src/pages/Testnet.re
+++ b/frontend/website-redesign/src/pages/Testnet.re
@@ -105,7 +105,7 @@ let make = () => {
"Mina rewards community members for contributing to Testnet with Testnet Points, making them stronger applicants for the Genesis Program. ",
)}
-
+
{React.string("See The Full Leaderboard")}
@@ -137,7 +137,7 @@ let make = () => {
buttonColor: Theme.Colors.mint,
buttonTextColor: Theme.Colors.digitalBlack,
dark: true,
- href: "",
+ href: `External("http://bit.ly/TestnetChallenges"),
},
}
/>