Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/nextjs-iron-ramp/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dynamic SDK
NEXT_PUBLIC_DYNAMIC_ENVIRONMENT_ID=your_dynamic_environment_id
# Dynamic JS SDK
NEXT_PUBLIC_DYNAMIC_ENV_ID=your_dynamic_environment_id

# Iron Finance API (https://docs.iron.xyz)
IRON_API_KEY=your_iron_api_key
Expand Down
4 changes: 2 additions & 2 deletions examples/nextjs-iron-ramp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
"@dynamic-labs/ethereum": "4.52.2",
"@dynamic-labs/sdk-react-core": "4.52.2",
"@dynamic-labs-sdk/client": "^0.24.1",
"@dynamic-labs-sdk/evm": "^0.24.1",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-label": "2.1.7",
"@radix-ui/react-select": "2.2.6",
Expand Down
3 changes: 2 additions & 1 deletion examples/nextjs-iron-ramp/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
@apply bg-[rgb(249,249,249)] text-foreground;
font-family: var(--font-roboto), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
}
12 changes: 8 additions & 4 deletions examples/nextjs-iron-ramp/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import "./globals.css";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Roboto } from "next/font/google";
import Providers from "@/lib/providers";
import { Header } from "@/components/header";
import Footer from "@/components/footer";

const inter = Inter({ subsets: ["latin"] });
const roboto = Roboto({
subsets: ["latin"],
weight: ["300", "400", "500", "700"],
variable: "--font-roboto",
});

export const metadata: Metadata = {
title: "EuroRamp - Fiat ↔ Crypto for Europe",
Expand All @@ -20,10 +24,10 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={inter.className}>
<body className={`${roboto.variable} font-sans bg-[rgb(249,249,249)]`}>
<Providers>
<Header />
<div className="min-h-screen bg-background">{children}</div>
<div className="min-h-screen">{children}</div>
<Footer />
</Providers>
</body>
Expand Down
293 changes: 59 additions & 234 deletions examples/nextjs-iron-ramp/src/app/onboard/page.tsx

Large diffs are not rendered by default.

Loading