Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
18162de
empty
brendan-defi Jan 20, 2025
f4a4208
hero scaffolding
brendan-defi Jan 21, 2025
8ce2422
search bar
brendan-defi Jan 29, 2025
2af7327
update developers page
brendan-defi Feb 3, 2025
3751349
add iconSize prop with default
brendan-defi Feb 3, 2025
4faf3c2
add tailwind-animate
brendan-defi Feb 3, 2025
2f404d4
more use cases
brendan-defi Feb 3, 2025
96d21ec
add final use-cases
brendan-defi Feb 3, 2025
7516c90
use cases polish
brendan-defi Feb 3, 2025
9519d7c
reorganized
brendan-defi Feb 3, 2025
e98acdf
fix typo
brendan-defi Feb 4, 2025
77aac42
add quotes
brendan-defi Feb 4, 2025
0cc7dd6
add button type
brendan-defi Feb 4, 2025
4382b5d
fix text color
brendan-defi Feb 4, 2025
2d43aae
fix text color
brendan-defi Feb 4, 2025
98c0ba6
add quotes
brendan-defi Feb 4, 2025
4870fca
color fixes
brendan-defi Feb 4, 2025
64bebd2
update colors, sections
brendan-defi Feb 4, 2025
b949f60
add Tools
brendan-defi Feb 4, 2025
63d6822
add whybase
brendan-defi Feb 4, 2025
7882111
rename testimonials, add bottom cta
brendan-defi Feb 4, 2025
607d914
design feedback
brendan-defi Feb 4, 2025
12ff67a
rename build, add redirect
brendan-defi Feb 4, 2025
5328d08
disambiguate Card
brendan-defi Feb 4, 2025
e675271
update top nav
brendan-defi Feb 4, 2025
e1151a7
remove frames, update onchainkit, add livedemo
brendan-defi Feb 5, 2025
accfe5c
removed deprecated prop
brendan-defi Feb 5, 2025
cd39d6c
added onchainkit projectId
brendan-defi Feb 5, 2025
313d6f0
added ock components
brendan-defi Feb 5, 2025
2140ccf
updated ock and wagmi
brendan-defi Feb 5, 2025
e9a5891
remove basenames frame references
brendan-defi Feb 5, 2025
a536d7b
update nav label
brendan-defi Feb 5, 2025
d75bce1
remove ock components
brendan-defi Feb 6, 2025
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
39 changes: 39 additions & 0 deletions apps/web/app/(base-org)/developers/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import type { Metadata } from 'next';
import AnalyticsProvider from 'apps/web/contexts/Analytics';
import Container from 'apps/web/src/components/base-org/Container';
import { Hero } from 'apps/web/src/components/Developers/Hero';
import { UseCases } from 'apps/web/src/components/Developers/UseCases';
import { Customers } from 'apps/web/src/components/Developers/Customers';
import { Testimonials } from 'apps/web/src/components/Developers/Testimonials';
import { Tools } from 'apps/web/src/components/Developers/Tools';
import { WhyBase } from 'apps/web/src/components/Developers/WhyBase';
import { BottomCta } from 'apps/web/src/components/Developers/BottomCta';
import { LiveDemo } from 'apps/web/src/components/Developers/LiveDemo';

export const metadata: Metadata = {
metadataBase: new URL('https://base.org'),
title: `Base | Developers`,
openGraph: {
title: `Base | Developers`,
url: `/developers`,
},
};

export default async function Developers() {
return (
<AnalyticsProvider context="developers">
<Container>
<main className="mb-32 flex min-h-screen w-full flex-col items-center bg-black">
<Hero />
<UseCases />
<Customers />
<Testimonials />
<Tools />
<WhyBase />
<LiveDemo />
<BottomCta />
</main>
</Container>
</AnalyticsProvider>
);
}
38 changes: 0 additions & 38 deletions apps/web/app/(base-org)/frames/names/page.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions apps/web/app/(basenames)/manage-names/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import ErrorsProvider from 'apps/web/contexts/Errors';
import type { Metadata } from 'next';
import { initialFrame } from 'apps/web/pages/api/basenames/frame/frameResponses';
import NamesList from 'apps/web/src/components/Basenames/ManageNames/NamesList';

export const metadata: Metadata = {
Expand All @@ -16,9 +15,6 @@ export const metadata: Metadata = {
site: '@base',
card: 'summary_large_image',
},
other: {
...(initialFrame as Record<string, string>),
},
};

export default async function Page() {
Expand Down
4 changes: 0 additions & 4 deletions apps/web/app/(basenames)/names/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import RegistrationFlow from 'apps/web/src/components/Basenames/RegistrationFlow
import RegistrationValueProp from 'apps/web/src/components/Basenames/RegistrationValueProp';
import type { Metadata } from 'next';
import basenameCover from './basename_cover.png';
import { initialFrame } from 'apps/web/pages/api/basenames/frame/frameResponses';

export const metadata: Metadata = {
metadataBase: new URL('https://base.org'),
Expand All @@ -22,9 +21,6 @@ export const metadata: Metadata = {
site: '@base',
card: 'summary_large_image',
},
other: {
...(initialFrame as Record<string, string>),
},
};

type PageProps = { searchParams?: { code?: string } };
Expand Down
1 change: 1 addition & 0 deletions apps/web/app/CryptoProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export default function CryptoProviders({ children }: CryptoProvidersProps) {
<OnchainKitProvider
chain={isDevelopment ? baseSepolia : base}
apiKey={process.env.NEXT_PUBLIC_ONCHAINKIT_API_KEY}
projectId={process.env.NEXT_PUBLIC_ONCHAINKIT_PROJECT_ID}
config={onchainKitConfig}
>
<RainbowKitProvider modalSize="compact">{children}</RainbowKitProvider>
Expand Down
5 changes: 5 additions & 0 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ module.exports = extendBaseConfig(
destination: '/build',
permanent: true,
},
{
source: '/build',
destination: '/resources',
permanent: true,
},
{
source: '/onchainfont',
// just so the build doesn't fail in CI
Expand Down
7 changes: 5 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@coinbase/cookie-banner": "^1.0.3",
"@coinbase/cookie-manager": "^1.1.1",
"@coinbase/onchainkit": "^0.35.2",
"@coinbase/onchainkit": "^0.36.0",
"@datadog/browser-logs": "^5.23.3",
"@datadog/browser-rum": "^5.23.3",
"@frames.js/render": "^0.3.14",
Expand All @@ -24,6 +24,7 @@
"@heroicons/react": "^2.1.3",
"@lottiefiles/dotlottie-react": "^0.8.10",
"@monogrid/gainmap-js": "^3.0.6",
"@number-flow/react": "^0.5.5",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-popover": "^1.1.1",
Expand Down Expand Up @@ -73,14 +74,16 @@
"recharts": "^2.12.7",
"satori": "^0.10.14",
"sharp": "^0.33.4",
"shiki": "^2.1.0",
"tailwindcss-animate": "^1.0.7",
"three": "^0.168.0",
"three-stdlib": "^2.33.0",
"twemoji": "^14.0.2",
"typed.js": "^2.1.0",
"usehooks-ts": "^3.1.0",
"uuid": "^10.0.0",
"viem": "2.x",
"wagmi": "^2.11.3"
"wagmi": "^2.14.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import { weiToEth } from 'apps/web/src/utils/weiToEth';
import { formatWei } from 'apps/web/src/utils/formatWei';
import { logger } from 'apps/web/src/utils/logger';
import { CHAIN } from 'apps/web/pages/api/basenames/frame/constants';
import { base } from 'viem/chains';

export default async function handler(req: NextApiRequest, res: NextApiResponse) {
const { name, years } = req.query;
Expand All @@ -30,7 +30,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)

async function getBasenameRegistrationPrice(name: string, years: number): Promise<bigint | null> {
const client = createPublicClient({
chain: CHAIN,
chain: base,
transport: http(),
});
try {
Expand All @@ -40,7 +40,7 @@ async function getBasenameRegistrationPrice(name: string, years: number): Promis
}

const price = await client.readContract({
address: REGISTER_CONTRACT_ADDRESSES[CHAIN.id],
address: REGISTER_CONTRACT_ADDRESSES[base.id],
abi: REGISTER_CONTRACT_ABI,
functionName: 'registerPrice',
args: [normalizedName, secondsInYears(years)],
Expand Down
4 changes: 2 additions & 2 deletions apps/web/pages/api/basenames/[name]/isNameAvailable.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NextApiRequest, NextApiResponse } from 'apps/web/node_modules/next/dist/shared/lib/utils';
import { getBasenameAvailable } from 'apps/web/src/utils/usernames';
import { CHAIN } from 'apps/web/pages/api/basenames/frame/constants';
import { base } from 'viem/chains';

export type IsNameAvailableResponse = {
nameIsAvailable: boolean;
Expand All @@ -9,7 +9,7 @@ export type IsNameAvailableResponse = {
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
const { name } = req.query;
try {
const isNameAvailableResponse = await getBasenameAvailable(String(name), CHAIN);
const isNameAvailableResponse = await getBasenameAvailable(String(name), base);
const responseData: IsNameAvailableResponse = {
nameIsAvailable: isNameAvailableResponse,
};
Expand Down
31 changes: 0 additions & 31 deletions apps/web/pages/api/basenames/frame/01_inputSearchValue.ts

This file was deleted.

This file was deleted.

80 changes: 0 additions & 80 deletions apps/web/pages/api/basenames/frame/03_getPriceAndConfirm.ts

This file was deleted.

Loading
Loading