Skip to content
Open
Show file tree
Hide file tree
Changes from 10 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
1 change: 1 addition & 0 deletions .gitignore
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is out of the scope of your issue. It's something that should be aligned with the team.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the file

Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ node_modules

# cli
dist
.vercel
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import Image from "next/image";
import { Address } from "@scaffold-ui/components";
import type { NextPage } from "next";

const KhanoPage: NextPage = () => {
return (
<div className="flex flex-col items-center justify-center gap-6 p-10 text-center">
<Image
src="https://github.com/MrKhano.png"
alt="Khano avatar"
width={160}
height={160}
className="rounded-full shadow-lg"
/>

<h1 className="text-4xl font-bold">Khano</h1>

<p className="max-w-xl text-lg text-gray-700 dark:text-gray-300">
Crypto trader, builder, and Web3 adventurer — exploring the Ethereum rabbit hole one challenge at a time. Proud
member of BuidlGuidl Batch 22.
</p>

<div className="flex flex-col items-center gap-2">
<p className="text-sm font-semibold">Address:</p>
<Address address="0x5258c93fBf34600a89bb1B7A57Fe9B981A693Fc7" />
</div>

<div className="mt-6 flex space-x-8 text-lg">
<a href="https://x.com/MrKhano" target="_blank" className="text-blue-400 hover:underline">
Twitter
</a>
<a href="https://github.com/MrKhano" target="_blank" className="text-purple-400 hover:underline">
GitHub
</a>
</div>
</div>
);
};

export default KhanoPage;
6 changes: 2 additions & 4 deletions packages/nextjs/app/layout.tsx
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is out of the scope of your issue.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes indeed, I removed the file

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const metadata = getMetadata({
description: "Built with 🏗 Scaffold-ETH 2",
});

const ScaffoldEthApp = ({ children }: { children: React.ReactNode }) => {
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html suppressHydrationWarning>
<body>
Expand All @@ -20,6 +20,4 @@ const ScaffoldEthApp = ({ children }: { children: React.ReactNode }) => {
</body>
</html>
);
};

export default ScaffoldEthApp;
}
12 changes: 12 additions & 0 deletions packages/nextjs/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ const nextConfig: NextConfig = {
eslint: {
ignoreDuringBuilds: process.env.NEXT_PUBLIC_IGNORE_BUILD_ERROR === "true",
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "github.com",
},
{
protocol: "https",
hostname: "avatars.githubusercontent.com",
},
],
},
webpack: config => {
config.resolve.fallback = { fs: false, net: false, tls: false };
config.externals.push("pino-pretty", "lokijs", "encoding");
Expand Down