Skip to content

Commit 13a611b

Browse files
committed
UI adjustments
1 parent 860a12a commit 13a611b

File tree

8 files changed

+30
-12
lines changed

8 files changed

+30
-12
lines changed

apps/dashboard/src/app/(app)/account/contracts/DeployedContractsPageHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ export function DeployedContractsPageHeader(props: {
3030

3131
<div className="container flex max-w-7xl flex-col gap-3 pt-10 pb-5 lg:flex-row lg:items-center lg:justify-between">
3232
<div>
33-
<h1 className="font-semibold text-2xl tracking-tight lg:text-3xl">
33+
<h1 className="mb-1 font-semibold text-2xl tracking-tight lg:text-3xl">
3434
Contracts
3535
</h1>
36-
<p className="text-muted-foreground">
36+
<p className="text-muted-foreground text-sm">
3737
Deploy and manage contracts for your project
3838
</p>
3939
</div>

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/account-abstraction/AccountAbstractionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function AccountAbstractionLayout(props: {
3737
rel="noopener noreferrer"
3838
href="https://portal.thirdweb.com/wallets/smart-wallet"
3939
>
40-
Learn more about Account Abstraction
40+
Learn more
4141
</UnderlineLink>
4242
</p>
4343
</div>

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/webhooks/page.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { getProject } from "@/api/projects";
22
import { getTeamBySlug } from "@/api/team";
3+
import { UnderlineLink } from "@/components/ui/UnderlineLink";
34
import { getAuthToken } from "@app/api/lib/getAuthToken";
45
import { loginRedirect } from "@app/login/loginRedirect";
56
import { redirect } from "next/navigation";
@@ -32,6 +33,23 @@ export default async function Page(props: {
3233

3334
return (
3435
<div className="container flex max-w-7xl grow flex-col">
36+
<div>
37+
<h2 className="mb-0.5 font-semibold text-xl tracking-tight">
38+
Webhooks
39+
</h2>
40+
<p className="text-muted-foreground text-sm">
41+
Create and manage webhooks to get notified about blockchain events,
42+
transactions and more.{" "}
43+
<UnderlineLink
44+
target="_blank"
45+
rel="noopener noreferrer"
46+
href="https://portal.thirdweb.com/insight/webhooks"
47+
>
48+
Learn more
49+
</UnderlineLink>
50+
</p>
51+
</div>
52+
<div className="h-4" />
3553
<ContractsWebhooksPageContent project={project} authToken={authToken} />
3654
</div>
3755
);

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(general)/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export default async function Layout(props: {
2323
<header className="pt-10 pb-6">
2424
<div className="container max-w-7xl">
2525
<div className="flex flex-col justify-between gap-4 lg:flex-row lg:items-center">
26-
<div className="flex flex-col gap-2">
27-
<h1 className="flex items-center gap-2 font-semibold text-3xl tracking-tight">
26+
<div>
27+
<h1 className="mb-1 flex items-center gap-2 font-semibold text-3xl tracking-tight">
2828
Transactions{" "}
2929
<Badge
3030
variant="warning"

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(general)/overview/engine-instances-table.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function DedicatedEngineSubscriptionButton(props: { team: Team }) {
131131
const isMobile = useIsMobile();
132132

133133
const trigger = (
134-
<Button>
134+
<Button size="sm">
135135
<DatabaseIcon className="mr-2 size-4" />
136136
Deploy Dedicated Engine
137137
</Button>
@@ -226,8 +226,8 @@ export function EngineInstancesTableUI(props: {
226226
projectSlug: string;
227227
}) {
228228
return (
229-
<div className="flex grow flex-col gap-2">
230-
<div className="mb-4 flex flex-row items-center justify-between text-center">
229+
<div className="flex grow flex-col gap-4">
230+
<div className="flex flex-col gap-3 lg:flex-row lg:items-end lg:justify-between">
231231
<h2 className="font-semibold text-2xl tracking-tight">
232232
Engine Instances
233233
</h2>

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/transactions/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function TransactionsLayout(props: {
3333
<div className="container flex max-w-7xl flex-col gap-4">
3434
<div className="flex flex-row items-center justify-between">
3535
<div className="flex flex-col">
36-
<h1 className="mb-0.5 flex items-center gap-2 font-semibold text-3xl tracking-tight">
36+
<h1 className="mb-1 flex items-center gap-2 font-semibold text-3xl tracking-tight">
3737
Transactions{" "}
3838
<Badge
3939
variant="outline"
@@ -47,7 +47,7 @@ function TransactionsLayout(props: {
4747
href={`${NEXT_PUBLIC_ENGINE_CLOUD_URL}/reference`} // TODO: change this
4848
target="_blank"
4949
rel="noopener noreferrer"
50-
className="max-w-full truncate py-1 text-muted-foreground"
50+
className="max-w-full truncate py-1 text-muted-foreground text-sm hover:text-foreground"
5151
>
5252
{NEXT_PUBLIC_ENGINE_CLOUD_URL}
5353
</Link>

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/wallets/_components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { UnderlineLink } from "@/components/ui/UnderlineLink";
33
export async function InAppWalletsHeader() {
44
return (
55
<div className="">
6-
<h1 className="mb-2 font-semibold text-2xl tracking-tighter lg:text-3xl">
6+
<h1 className="mb-1 font-semibold text-2xl tracking-tighter lg:text-3xl">
77
Wallets
88
</h1>
99
<p className="max-w-2xl text-muted-foreground text-sm leading-relaxed">

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/wallets/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default async function Layout(props: {
2727
<div className="container max-w-7xl">
2828
<InAppWalletsHeader />
2929
</div>
30-
<div className="h-3" />
30+
<div className="h-4" />
3131
<TabPathLinks
3232
scrollableClassName="container max-w-7xl"
3333
links={[

0 commit comments

Comments
 (0)