diff --git a/packages/nextjs/app/layout.tsx b/packages/nextjs/app/layout.tsx index 8ed8ca41..a301273a 100644 --- a/packages/nextjs/app/layout.tsx +++ b/packages/nextjs/app/layout.tsx @@ -9,7 +9,7 @@ const baseUrl = process.env.VERCEL_URL : `http://localhost:${process.env.PORT || 3000}`; const imageUrl = `${baseUrl}/thumbnail.jpg`; -const title = "Scaffold-ETH 2 App"; +const title = "Scaffold-Balancer"; const titleTemplate = "%s | Scaffold-ETH 2"; const description = "Built with 🏗 Scaffold-ETH 2"; diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index fceea860..e1408287 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -1,41 +1,51 @@ import Link from "next/link"; import type { NextPage } from "next"; -import { BugAntIcon, MagnifyingGlassIcon } from "@heroicons/react/24/outline"; + +const TOOLS = [ + { + emoji: "🌊", + title: "Pools", + href: "/pools", + description: "Create and explore custom pools", + }, + { + emoji: "🧭", + title: "Router", + href: "/router", + description: "Integrate pools with the smart order router", + }, + { + emoji: "📡", + title: "Subgraph", + href: "/subgraph", + description: "Integrate pools with the Balancer subgraph", + }, +]; const Home: NextPage = () => { return ( <> -
-
-

Scaffold-Balancer

-

+

+
+

Scaffold-Balancer

+

A series of guides and a prototyping tools for creating custom pools that integrate with Balancer v3

-
-
-
- -

- Tinker with your smart contract using the{" "} - - Debug Contracts - {" "} - tab. -

-
-
- -

- Explore your local transactions with the{" "} - - Block Explorer - {" "} - tab. -

-
-
+
+ {TOOLS.map(item => ( + +

{item.title}

+
{item.emoji}
+

{item.description}

+ + ))}
diff --git a/packages/nextjs/app/pools/page.tsx b/packages/nextjs/app/pools/page.tsx new file mode 100644 index 00000000..e8442ff3 --- /dev/null +++ b/packages/nextjs/app/pools/page.tsx @@ -0,0 +1,20 @@ +import type { NextPage } from "next"; + +const Pools: NextPage = () => { + return ( + <> +
+
+

🌊 Pools

+

+ Lorem ipsum dolor sit, amet consectetur adipisicing elit. Eveniet nemo praesentium molestias impedit + mollitia quisquam fugit nobis possimus quis enim omnis similique repudiandae odit nihil deleniti harum + tempora, quod exercitationem? +

+
+
+ + ); +}; + +export default Pools; diff --git a/packages/nextjs/app/router/page.tsx b/packages/nextjs/app/router/page.tsx new file mode 100644 index 00000000..cbd2ad9b --- /dev/null +++ b/packages/nextjs/app/router/page.tsx @@ -0,0 +1,20 @@ +import type { NextPage } from "next"; + +const Router: NextPage = () => { + return ( + <> +
+
+

🧭 Smart Order Router (SOR)

+

+ Lorem ipsum dolor sit, amet consectetur adipisicing elit. Eveniet nemo praesentium molestias impedit + mollitia quisquam fugit nobis possimus quis enim omnis similique repudiandae odit nihil deleniti harum + tempora, quod exercitationem? +

+
+
+ + ); +}; + +export default Router; diff --git a/packages/nextjs/app/subgraph/page.tsx b/packages/nextjs/app/subgraph/page.tsx new file mode 100644 index 00000000..d49aa430 --- /dev/null +++ b/packages/nextjs/app/subgraph/page.tsx @@ -0,0 +1,20 @@ +import type { NextPage } from "next"; + +const Pools: NextPage = () => { + return ( + <> +
+
+

📡 Subgraph

+

+ Lorem ipsum dolor sit, amet consectetur adipisicing elit. Eveniet nemo praesentium molestias impedit + mollitia quisquam fugit nobis possimus quis enim omnis similique repudiandae odit nihil deleniti harum + tempora, quod exercitationem? +

+
+
+ + ); +}; + +export default Pools; diff --git a/packages/nextjs/components/Header.tsx b/packages/nextjs/components/Header.tsx index f24a1de5..124f8e68 100644 --- a/packages/nextjs/components/Header.tsx +++ b/packages/nextjs/components/Header.tsx @@ -19,6 +19,18 @@ export const menuLinks: HeaderMenuLink[] = [ label: "Home", href: "/", }, + { + label: "Pools", + href: "/pools", + }, + { + label: "Router", + href: "/router", + }, + { + label: "Subgraph", + href: "/subgraph", + }, { label: "Debug Contracts", href: "/debug", @@ -93,8 +105,8 @@ export const Header = () => { SE2 logo
- Scaffold-ETH - Ethereum dev stack + Scaffold-Balancer + Guides & Tools