Skip to content

Commit 36b9f50

Browse files
MananTankjnsdls
authored andcommitted
UI adjustments
1 parent 66b11a5 commit 36b9f50

File tree

8 files changed

+31
-13
lines changed

8 files changed

+31
-13
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
@@ -29,10 +29,10 @@ export function DeployedContractsPageHeader(props: {
2929

3030
<div className="container flex max-w-7xl flex-col gap-3 pt-10 pb-5 lg:flex-row lg:items-center lg:justify-between">
3131
<div>
32-
<h1 className="font-semibold text-2xl tracking-tight lg:text-3xl">
32+
<h1 className="mb-1 font-semibold text-2xl tracking-tight lg:text-3xl">
3333
Contracts
3434
</h1>
35-
<p className="text-muted-foreground">
35+
<p className="text-muted-foreground text-sm">
3636
Deploy and manage contracts for your project
3737
</p>
3838
</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
target="_blank"
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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { loginRedirect } from "@app/login/loginRedirect";
33
import { redirect } from "next/navigation";
44
import { getProject } from "@/api/projects";
55
import { getTeamBySlug } from "@/api/team";
6+
import { UnderlineLink } from "@/components/ui/UnderlineLink";
7+
68
import { ContractsWebhooksPageContent } from "../../webhooks/contract-webhooks/contract-webhooks-page";
79

810
export default async function Page(props: {
@@ -32,6 +34,23 @@ export default async function Page(props: {
3234

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

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
className="flex items-center gap-2 text-sm"

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
@@ -130,7 +130,7 @@ function DedicatedEngineSubscriptionButton(props: { team: Team }) {
130130
const isMobile = useIsMobile();
131131

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

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

Lines changed: 2 additions & 3 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
className="mt-0.5 flex items-center gap-2 text-sm"
@@ -44,10 +44,9 @@ function TransactionsLayout(props: {
4444
</h1>
4545
<div className="flex items-center gap-2">
4646
<Link
47-
className="max-w-full truncate py-1 text-muted-foreground" // TODO: change this
47+
className="max-w-full truncate py-1 text-muted-foreground text-sm hover:text-foreground"
4848
href={`${NEXT_PUBLIC_ENGINE_CLOUD_URL}/reference`}
4949
rel="noopener noreferrer"
50-
target="_blank"
5150
>
5251
{NEXT_PUBLIC_ENGINE_CLOUD_URL}
5352
</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
links={[
3333
{

0 commit comments

Comments
 (0)