Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] add main page #50

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
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
11 changes: 0 additions & 11 deletions .env.local.default

This file was deleted.

8 changes: 8 additions & 0 deletions .idea/.gitignore

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

9 changes: 9 additions & 0 deletions .idea/crypto-care.iml

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

6 changes: 6 additions & 0 deletions .idea/misc.xml

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

8 changes: 8 additions & 0 deletions .idea/modules.xml

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

6 changes: 6 additions & 0 deletions .idea/vcs.xml

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

Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello via Bun!");
50 changes: 8 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,16 @@
{
"name": "onchain-app-template",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "next dev",
"build": "next build",
"check": "biome check --write .",
"ci:check": "biome ci --formatter-enabled=false --linter-enabled=false",
"ci:format": "biome ci --linter-enabled=false --organize-imports-enabled=false",
"ci:lint": "biome ci --formatter-enabled=false --organize-imports-enabled=false",
"dev": "NODE_OPTIONS='--inspect' next dev",
"format": "biome format --write .",
"lint": "biome lint --write .",
"lint:unsafe": "biome lint --write --unsafe .",
"start": "next start",
"test": "vitest run",
"test:coverage": "vitest run --coverage"
"lint": "next lint"
},
"dependencies": {
"@coinbase/onchainkit": "^0.35.6",
"next": "^14.2.5",
"permissionless": "^0.1.26",
"react": "^18",
"react-dom": "^18",
"siwe": "^2.3.2"
},
"devDependencies": {
"@biomejs/biome": "^1.8.0",
"@types/node": "^20.11.8",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.7",
"@vitest/coverage-v8": "^2.0.2",
"@vitest/ui": "^2.0.1",
"@wagmi/cli": "latest",
"autoprefixer": "^10.4.19",
"bufferutil": "^4.0.7",
"encoding": "^0.1.13",
"lokijs": "^1.5.12",
"jsdom": "^24.1.0",
"pino-pretty": "^10.2.0",
"postcss": "^8.4.38",
"supports-color": "^9.4.0",
"tailwindcss": "^3.4.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^14.2.0",
"typescript": "^5.3.3",
"utf-8-validate": "^6.0.3",
"vitest": "^2.0.1"
"@reown/appkit": "^1.6.0",
"@reown/appkit-adapter-wagmi": "^1.6.0",
"@tanstack/react-query": "^5.62.7",
"sonner": "^1.7.1",
"viem": "^2.21.55",
"wagmi": "^2.14.1"
}
}
Binary file added public/images/cat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/red-cross.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/who.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 6 additions & 12 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,20 @@ import { NEXT_PUBLIC_URL } from '../config';

import './global.css';
import '@coinbase/onchainkit/styles.css';
import '@rainbow-me/rainbowkit/styles.css';
import dynamic from 'next/dynamic';

const OnchainProviders = dynamic(
() => import('src/components/OnchainProviders'),
{
ssr: false,
},
);
import { Providers } from 'src/components/Providers';
import { Toaster } from 'sonner';

export const viewport = {
width: 'device-width',
initialScale: 1.0,
};

export const metadata: Metadata = {
title: 'Onchain App Template',
title: 'Base Profile',
description: 'Built with OnchainKit',
openGraph: {
title: 'Onchain App Template',
title: 'Base Profile',
description: 'Built with OnchainKit',
images: [`${NEXT_PUBLIC_URL}/vibes/vibes-19.png`],
},
Expand All @@ -33,8 +27,8 @@ export default function RootLayout({
}: { children: React.ReactNode }) {
return (
<html lang="en">
<body className="flex items-center justify-center">
<OnchainProviders>{children}</OnchainProviders>
<body>
<Providers>{children}</Providers>
</body>
</html>
);
Expand Down
Loading
Loading