Skip to content

Commit 83af97c

Browse files
committed
Merge branch 'contracts-overviews' of https://github.com/thirdweb-dev/js into contracts-overviews
2 parents 647302b + 85e12e4 commit 83af97c

File tree

29 files changed

+743
-65
lines changed

29 files changed

+743
-65
lines changed

apps/dashboard/.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,5 @@ API_SERVER_SECRET=""
9191

9292
# Used for the Faucet page (/<chain_id>)
9393
NEXT_PUBLIC_TURNSTILE_SITE_KEY=""
94-
TURNSTILE_SECRET_KEY=""
94+
TURNSTILE_SECRET_KEY=""
95+
REDIS_URL=""
Lines changed: 26 additions & 0 deletions
Loading
Lines changed: 27 additions & 0 deletions
Loading
Lines changed: 31 additions & 0 deletions
Loading
Lines changed: 30 additions & 0 deletions
Loading
Lines changed: 28 additions & 0 deletions
Loading

apps/dashboard/src/@/components/blocks/app-footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function AppFooter(props: AppFooterProps) {
1919
return (
2020
<footer
2121
className={cn(
22-
"w-full border-border border-t bg-muted/50 py-6 md:py-8",
22+
"w-full border-border border-t bg-white py-6 md:py-8 dark:bg-muted/50",
2323
props.className,
2424
)}
2525
>

apps/dashboard/src/@/components/ui/DatePickerWithRange.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function DatePickerWithRange(props: {
5050
id="date"
5151
variant="outline"
5252
className={cn(
53-
"justify-start gap-2 text-left font-normal",
53+
"justify-start gap-2 bg-card text-left font-normal",
5454
props.className,
5555
)}
5656
>

apps/dashboard/src/@/constants/env.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ export const IPFS_GATEWAY_URL =
88
(process.env.NEXT_PUBLIC_IPFS_GATEWAY_URL as string) ||
99
"https://{clientId}.ipfscdn.io/ipfs/{cid}/{path}";
1010

11-
export const THIRDWEB_ENGINE_FAUCET_WALLET =
12-
process.env.NEXT_PUBLIC_THIRDWEB_ENGINE_FAUCET_WALLET || "";
13-
1411
export const isProd =
1512
(process.env.VERCEL_ENV || process.env.NEXT_PUBLIC_VERCEL_ENV) ===
1613
"production";
@@ -24,5 +21,15 @@ export const DASHBOARD_STORAGE_URL =
2421
export const API_SERVER_URL =
2522
process.env.NEXT_PUBLIC_THIRDWEB_API_HOST || "https://api.thirdweb.com";
2623

24+
/**
25+
* Faucet stuff
26+
*/
27+
// Cloudflare Turnstile Site key
2728
export const TURNSTILE_SITE_KEY =
2829
process.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY || "";
30+
export const THIRDWEB_ENGINE_FAUCET_WALLET =
31+
process.env.NEXT_PUBLIC_THIRDWEB_ENGINE_FAUCET_WALLET || "";
32+
export const THIRDWEB_ENGINE_URL = process.env.THIRDWEB_ENGINE_URL;
33+
export const THIRDWEB_ACCESS_TOKEN = process.env.THIRDWEB_ACCESS_TOKEN;
34+
// Comma-separated list of chain IDs to disable faucet for.
35+
export const DISABLE_FAUCET_CHAIN_IDS = process.env.DISABLE_FAUCET_CHAIN_IDS;

apps/dashboard/src/@/styles/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:root,
77
[data-theme="light"] {
88
/* bg - neutral */
9-
--background: 0 0% 100%;
9+
--background: 0 0% 98%;
1010
--popover: 0 0% 100%;
1111
--card: 0 0% 100%;
1212
--secondary: 0 0% 92%;
@@ -46,7 +46,7 @@
4646
[data-theme="dark"] {
4747
/* bg - neutral */
4848
--background: 0 0% 0%;
49-
--card: 0 0% 0%;
49+
--card: 0 0% 5%;
5050
--popover: 0 0% 0%;
5151
--secondary: 0 0% 10%;
5252
--muted: 0 0% 9%;

0 commit comments

Comments
 (0)