diff --git a/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/credits/SettingsCreditsPage.tsx b/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/credits/SettingsCreditsPage.tsx
new file mode 100644
index 00000000000..df8d34eb08c
--- /dev/null
+++ b/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/credits/SettingsCreditsPage.tsx
@@ -0,0 +1,40 @@
+"use client";
+
+import { Spinner } from "@/components/ui/Spinner/Spinner";
+import { useLoggedInUser } from "@3rdweb-sdk/react/hooks/useLoggedInUser";
+import { Flex } from "@chakra-ui/react";
+import { ApplyForOpCreditsModal } from "components/onboarding/ApplyForOpCreditsModal";
+import { Heading, LinkButton } from "tw-components";
+
+export const SettingsGasCreditsPage = () => {
+ const { isLoading } = useLoggedInUser();
+
+ if (isLoading) {
+ return (
+
+
+
+ );
+ }
+
+ return (
+
+
+
+ Apply to the Optimism Superchain App Accelerator
+
+
+ Learn More
+
+
+
+
+
+ );
+};
diff --git a/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/credits/page.tsx b/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/credits/page.tsx
index 53030d50304..d10f6f4e3d4 100644
--- a/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/credits/page.tsx
+++ b/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/credits/page.tsx
@@ -1,9 +1,10 @@
+import { ChakraProviderSetup } from "@/components/ChakraProviderSetup";
+import { SettingsGasCreditsPage } from "./SettingsCreditsPage";
+
export default function Page() {
return (
-
-
- Credits Settings
-
-
+
+
+
);
}
diff --git a/apps/dashboard/src/components/onboarding/ApplyForOpCreditsModal.tsx b/apps/dashboard/src/components/onboarding/ApplyForOpCreditsModal.tsx
index 90c41824fc4..8822a191020 100644
--- a/apps/dashboard/src/components/onboarding/ApplyForOpCreditsModal.tsx
+++ b/apps/dashboard/src/components/onboarding/ApplyForOpCreditsModal.tsx
@@ -117,14 +117,11 @@ export const ApplyForOpCreditsModal: React.FC = () => {
size="label.sm"
px={3}
bgColor={creditsRecord.color}
+ color="#fff"
+ textTransform="capitalize"
+ fontWeight="bold"
>
-
- {creditsRecord.title}
-
+ {creditsRecord.title}
diff --git a/apps/dashboard/src/components/onboarding/PlanCard.tsx b/apps/dashboard/src/components/onboarding/PlanCard.tsx
index cf60c997e60..a5e4dd27b7b 100644
--- a/apps/dashboard/src/components/onboarding/PlanCard.tsx
+++ b/apps/dashboard/src/components/onboarding/PlanCard.tsx
@@ -16,10 +16,11 @@ export const PlanCard: React.FC = ({ creditsRecord }) => {
size="label.sm"
px={3}
bgColor={creditsRecord.color}
+ color="#fff"
+ textTransform="capitalize"
+ fontWeight="bold"
>
-
- {creditsRecord.title}
-
+ {creditsRecord.title}
diff --git a/apps/dashboard/src/pages/dashboard/settings/gas-credits.tsx b/apps/dashboard/src/pages/dashboard/settings/gas-credits.tsx
index 1ca695d06a2..ec0f7323fb3 100644
--- a/apps/dashboard/src/pages/dashboard/settings/gas-credits.tsx
+++ b/apps/dashboard/src/pages/dashboard/settings/gas-credits.tsx
@@ -1,53 +1,21 @@
-import { Spinner } from "@/components/ui/Spinner/Spinner";
-import { useLoggedInUser } from "@3rdweb-sdk/react/hooks/useLoggedInUser";
-import { Flex } from "@chakra-ui/react";
import { AppLayout } from "components/app-layouts/app";
-import { ApplyForOpCreditsModal } from "components/onboarding/ApplyForOpCreditsModal";
import { SettingsSidebar } from "core-ui/sidebar/settings";
import { PageId } from "page-id";
-import { Heading, LinkButton } from "tw-components";
+import {} from "tw-components";
import type { ThirdwebNextPage } from "utils/types";
+import { SettingsGasCreditsPage } from "../../../app/team/[team_slug]/(team)/~/settings/credits/SettingsCreditsPage";
-const SettingsGasCreditsPage: ThirdwebNextPage = () => {
- const { isLoading } = useLoggedInUser();
-
- if (isLoading) {
- return (
-
-
-
- );
- }
-
- return (
-
-
-
- Apply to the Optimism Superchain App Accelerator
-
-
- Learn More
-
-
-
-
-
- );
+const Page: ThirdwebNextPage = () => {
+ return ;
};
-SettingsGasCreditsPage.getLayout = (page, props) => (
+Page.getLayout = (page, props) => (
{page}
);
-SettingsGasCreditsPage.pageId = PageId.SettingsUsage;
+Page.pageId = PageId.SettingsUsage;
-export default SettingsGasCreditsPage;
+export default Page;