Skip to content

Commit bda8fcd

Browse files
committed
client/landing: adjust resources page
1 parent e3f1717 commit bda8fcd

File tree

2 files changed

+32
-39
lines changed
  • clients
    • apps/web/src/app/(main)/(landing)/resources
    • packages/client/src

2 files changed

+32
-39
lines changed

clients/apps/web/src/app/(main)/(landing)/resources/page.tsx

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,37 @@ const resourceLinks = [
5353
export default function Resources() {
5454
return (
5555
<div className="mx-auto flex h-full min-h-screen w-full max-w-6xl flex-col gap-y-8 md:gap-y-16">
56-
<h3 className="text-3xl md:text-5xl">Resources</h3>
57-
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
58-
{resourceLinks.map((link) => (
59-
<Link
60-
key={link.title}
61-
className="dark:hover:bg-polar-800 dark:border-polar-700 flex w-full cursor-pointer flex-col gap-6 border border-gray-300 p-6 transition-colors duration-200 hover:bg-gray-100"
62-
href={link.href}
63-
>
64-
<ArrowOutwardOutlined fontSize="inherit" />
65-
<div className="flex flex-col gap-2">
66-
<h3 className="font-mono text-xl">{link.title}</h3>
67-
<p className="dark:text-polar-500 font-sm text-gray-500">
68-
{link.description}
69-
</p>
70-
</div>
71-
</Link>
72-
))}
56+
<div className="flex flex-col gap-y-8">
57+
<h3 className="text-3xl md:text-5xl">Resources</h3>
58+
<p className="text-pretty text-xl">
59+
Get a better understanding of our platform with these handy resources
60+
</p>
61+
</div>
62+
<div className="flex flex-col gap-y-8">
63+
<h3 className="text-2xl">Platform</h3>
64+
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
65+
{resourceLinks.map((link) => (
66+
<Link
67+
key={link.title}
68+
className="dark:hover:bg-polar-900 dark:border-polar-700 flex w-full cursor-pointer flex-col gap-6 border border-gray-300 p-6 transition-colors duration-200 hover:bg-gray-100"
69+
href={link.href}
70+
>
71+
<ArrowOutwardOutlined fontSize="inherit" />
72+
<div className="flex flex-col gap-2">
73+
<h3 className="font-mono text-xl">{link.title}</h3>
74+
<p className="dark:text-polar-500 font-sm text-gray-500">
75+
{link.description}
76+
</p>
77+
</div>
78+
</Link>
79+
))}
80+
</div>
81+
</div>
82+
<div className="flex flex-col gap-y-8">
83+
<h3 className="text-2xl">Guides & Tutorials</h3>
84+
<div className="flex flex-col items-center justify-center gap-y-4 border border-gray-300 p-16 dark:border-gray-800">
85+
<h3 className="font-mono">Coming Soon</h3>
86+
</div>
7387
</div>
7488
</div>
7589
)

clients/packages/client/src/v1.ts

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14928,26 +14928,6 @@ export interface components {
1492814928
subscription_settings?: components["schemas"]["OrganizationSubscriptionSettings"] | null;
1492914929
notification_settings?: components["schemas"]["OrganizationNotificationSettings"] | null;
1493014930
};
14931-
/** OrganizationValidationResult */
14932-
OrganizationValidationResult: {
14933-
/**
14934-
* Reason
14935-
* @description A 1 or 3 line explanation of the verdict and the reasoning behind it. The reason will be shown to our customer.
14936-
*/
14937-
reason: string;
14938-
/**
14939-
* Verdict
14940-
* @description PASS | FAIL | UNCERTAIN - indicates compliance status.
14941-
* @enum {string}
14942-
*/
14943-
verdict: "PASS" | "FAIL" | "UNCERTAIN";
14944-
/**
14945-
* Timed Out
14946-
* @description Whether the validation timed out
14947-
* @default false
14948-
*/
14949-
timed_out: boolean;
14950-
};
1495114931
/** Pagination */
1495214932
Pagination: {
1495314933
/** Total Count */
@@ -19337,7 +19317,7 @@ export interface operations {
1933719317
[name: string]: unknown;
1933819318
};
1933919319
content: {
19340-
"application/json": components["schemas"]["OrganizationValidationResult"];
19320+
"application/json": components["schemas"]["OrganizationReviewStatus"];
1934119321
};
1934219322
};
1934319323
/** @description Organization not found. */
@@ -26969,7 +26949,6 @@ export const organizationDetailsSwitching_fromValues: ReadonlyArray<components["
2696926949
export const organizationReviewStatusVerdictValues: ReadonlyArray<components["schemas"]["OrganizationReviewStatus"]["verdict"]> = ["PASS", "FAIL", "UNCERTAIN"];
2697026950
export const organizationSocialPlatformsValues: ReadonlyArray<components["schemas"]["OrganizationSocialPlatforms"]> = ["x", "github", "facebook", "instagram", "youtube", "tiktok", "linkedin", "other"];
2697126951
export const organizationSortPropertyValues: ReadonlyArray<components["schemas"]["OrganizationSortProperty"]> = ["created_at", "-created_at", "slug", "-slug", "name", "-name", "next_review_threshold", "-next_review_threshold", "days_in_status", "-days_in_status"];
26972-
export const organizationValidationResultVerdictValues: ReadonlyArray<components["schemas"]["OrganizationValidationResult"]["verdict"]> = ["PASS", "FAIL", "UNCERTAIN"];
2697326952
export const paymentProcessorValues: ReadonlyArray<components["schemas"]["PaymentProcessor"]> = ["stripe"];
2697426953
export const paymentSortPropertyValues: ReadonlyArray<components["schemas"]["PaymentSortProperty"]> = ["created_at", "-created_at", "status", "-status", "amount", "-amount", "method", "-method"];
2697526954
export const paymentStatusValues: ReadonlyArray<components["schemas"]["PaymentStatus"]> = ["pending", "succeeded", "failed"];

0 commit comments

Comments
 (0)