Skip to content
Open
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
47 changes: 47 additions & 0 deletions components/DuneConnectSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import React from "react";

import Section from "@/components/Section";

const DuneConnectSection = () => (
<Section
id="dune-contracts"
title="Connect with Dune contracts"
className="py-12"
center
maxWidthClass="max-w-4xl"
>
<div className="space-y-4 text-lg text-gray-700 dark:text-gray-200 text-left">
<p>
Need on-chain context for your agents? Dune Contracts offers curated,
query-ready contract data so you can plug the same project instructions
into reproducible blockchain analyses.
</p>

<p className="text-base text-gray-600 dark:text-gray-300">
Open the Contracts workspace to explore datasets, notebooks, and cloud
resources that pair naturally with your AGENTS.md guidance.
</p>

<div className="flex flex-wrap gap-3">
<a
href="https://dune.com/contracts"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center justify-center px-5 py-3 rounded-full bg-indigo-600 text-white text-sm font-medium hover:bg-indigo-700"
>
Browse Dune Contracts
</a>
<a
href="https://dune.com/contracts?tab=cloud"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center justify-center px-5 py-3 rounded-full border border-gray-300 dark:border-gray-600 text-sm font-medium text-gray-900 dark:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-800"
>
View cloud resources
</a>
</div>
</div>
</Section>
);

export default DuneConnectSection;
2 changes: 1 addition & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
reactStrictMode: true,
reactStrictMode: false
};

export default nextConfig;
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import CompatibilitySection from "@/components/CompatibilitySection";
import { GetStaticProps } from "next";
import WhySection from "@/components/WhySection";
import AboutSection from "@/components/AboutSection";
import DuneConnectSection from "@/components/DuneConnectSection";

interface LandingPageProps {
contributorsByRepo: Record<string, { avatars: string[]; total: number }>;
Expand All @@ -19,6 +20,7 @@ export default function LandingPage({ contributorsByRepo }: LandingPageProps) {
<div className="flex flex-col min-h-screen items-stretch font-sans">
<main>
<Hero />
<DuneConnectSection />
<WhySection />
<CompatibilitySection />
<ExamplesSection contributorsByRepo={contributorsByRepo} />
Expand Down