Compare commits

..

3 Commits

Author SHA1 Message Date
bdf901bf4e
Added remappings
Some checks are pending
CI / Foundry project (push) Waiting to run
2024-10-18 14:55:06 +02:00
765f302f2a
forge install: openzeppelin-contracts
v5.1.0
2024-10-18 14:50:51 +02:00
082cc7f13c
Upsexed the colors just a bit 2024-10-18 13:58:17 +02:00
7 changed files with 70 additions and 16 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "lib/forge-std"] [submodule "lib/forge-std"]
path = lib/forge-std path = lib/forge-std
url = https://github.com/foundry-rs/forge-std url = https://github.com/foundry-rs/forge-std
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts

2
app/next-env.d.ts vendored
View File

@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
// NOTE: This file should not be edited // NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information. // see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

View File

@ -29,7 +29,6 @@
} }
.title a { .title a {
color: #0d76fc;
text-decoration: none; text-decoration: none;
} }
@ -72,15 +71,17 @@
text-decoration: none; text-decoration: none;
border: 1px solid #eaeaea; border: 1px solid #eaeaea;
border-radius: 10px; border-radius: 10px;
transition: color 0.15s ease, border-color 0.15s ease; transition:
color 0.15s ease,
border-color 0.15s ease;
max-width: 350px; max-width: 350px;
} }
.card:hover, .card:hover,
.card:focus, .card:focus,
.card:active { .card:active {
color: #0d76fc; color: var(--accent-color);
border-color: #0d76fc; border-color: var(--border-color);
} }
.card h2 { .card h2 {

View File

@ -1,14 +1,68 @@
:root {
--bg-color: #1a1a1a;
--text-color: #ffffff;
--accent-color: #f00000;
--border-color: #800000;
--hover-color: #fff000;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
}
html, html,
body { body {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, font-family:
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; -apple-system,
BlinkMacSystemFont,
Segoe UI,
Roboto,
Oxygen,
Ubuntu,
Cantarell,
Fira Sans,
Droid Sans,
Helvetica Neue,
sans-serif;
} }
a { a {
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
color: var(--accent-color);
}
a:hover {
color: var(--hover-color);
}
button {
background-color: var(--accent-color);
color: var(--bg-color);
border: 2px solid var(--border-color);
padding: 10px;
cursor: pointer;
}
button:hover {
background-color: var(--hover-color);
}
header,
footer {
background-color: var(--border-color);
padding: 20px;
text-align: center;
}
input {
background-color: var(--bg-color);
color: var(--text-color);
border: 1px solid var(--border-color);
padding: 5px;
} }
* { * {

View File

@ -1,23 +1,17 @@
import { getDefaultConfig } from '@rainbow-me/rainbowkit'; import { getDefaultConfig } from '@rainbow-me/rainbowkit';
import { import {
arbitrum,
base, base,
mainnet,
optimism,
polygon,
sepolia, sepolia,
foundry
} from 'wagmi/chains'; } from 'wagmi/chains';
export const config = getDefaultConfig({ export const config = getDefaultConfig({
appName: 'RainbowKit App', appName: 'RainbowKit App',
projectId: 'YOUR_PROJECT_ID', projectId: 'YOUR_PROJECT_ID',
chains: [ chains: [
mainnet, foundry,
polygon,
optimism,
arbitrum,
base, base,
...(process.env.NEXT_PUBLIC_ENABLE_TESTNETS === 'true' ? [sepolia] : []), ...(process.env.NEXT_PUBLIC_ENABLE_TESTNETS === 'true' ? [sepolia] : []),
], ],
ssr: true, ssr: true,
}); });

@ -0,0 +1 @@
Subproject commit 3291252c866ad698f6a55ec660259e49a67eb3d0

1
remappings.txt Normal file
View File

@ -0,0 +1 @@
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/