From e53dc0d9ff7dfd620609aff519dfc190deb26f87 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Mon, 22 Jul 2024 14:24:03 +0200 Subject: [PATCH] docs: :lipstick: Add more info on SDKs, change border radius to semi-rounded --- app/sdks/page.mdx | 6 ++--- components/Button.tsx | 8 +++--- components/Code.tsx | 6 ++--- components/Feedback.tsx | 4 +-- components/Heading.tsx | 2 +- components/Libraries.tsx | 52 ++++++++----------------------------- components/Resources.tsx | 16 ++++++------ components/Search.tsx | 2 +- components/mdx.tsx | 2 +- images/logos/typescript.svg | 6 +++++ next.config.mjs | 2 +- 11 files changed, 41 insertions(+), 65 deletions(-) create mode 100644 images/logos/typescript.svg diff --git a/app/sdks/page.mdx b/app/sdks/page.mdx index ec7acd1..9ab9744 100644 --- a/app/sdks/page.mdx +++ b/app/sdks/page.mdx @@ -1,9 +1,9 @@ import { Libraries } from '@/components/Libraries' export const metadata = { - title: 'Protocol SDKs', + title: 'Lysand SDKs', description: - 'Protocol offers fine-tuned JavaScript, Ruby, PHP, Python, and Go libraries to make your life easier and give you the best experience when consuming the API.', + 'Lysand offers well-written SDKs in various languages to help you create Lysand applications with ease.', } export const sections = [ @@ -12,6 +12,6 @@ export const sections = [ # Protocol SDKs -The recommended way to interact with the Protocol API is by using one of our official SDKs. Today, Protocol offers fine-tuned JavaScript, Ruby, PHP, Python, and Go libraries to make your life easier and give you the best experience when consuming the API. {{ className: 'lead' }} +The Lysand development team offers a well-written SDK in TypeScript to help you create Lysand applications with ease. {{ className: 'lead' }} diff --git a/components/Button.tsx b/components/Button.tsx index 7532a4e..c8cfc5a 100644 --- a/components/Button.tsx +++ b/components/Button.tsx @@ -17,12 +17,12 @@ function ArrowIcon(props: ComponentPropsWithoutRef<"svg">) { const variantStyles = { primary: - "rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-brand-400/10 dark:text-brand-400 dark:ring-1 dark:ring-inset dark:ring-brand-400/20 dark:hover:bg-brand-400/10 dark:hover:text-brand-300 dark:hover:ring-brand-300", + "rounded-md bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-brand-400/10 dark:text-brand-400 dark:ring-1 dark:ring-inset dark:ring-brand-400/20 dark:hover:bg-brand-400/10 dark:hover:text-brand-300 dark:hover:ring-brand-300", secondary: - "rounded-full bg-zinc-100 py-1 px-3 text-zinc-900 hover:bg-zinc-200 dark:bg-zinc-800/40 dark:text-zinc-400 dark:ring-1 dark:ring-inset dark:ring-zinc-800 dark:hover:bg-zinc-800 dark:hover:text-zinc-300", - filled: "rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-brand-500 dark:text-white dark:hover:bg-brand-400", + "rounded-md bg-zinc-100 py-1 px-3 text-zinc-900 hover:bg-zinc-200 dark:bg-zinc-800/40 dark:text-zinc-400 dark:ring-1 dark:ring-inset dark:ring-zinc-800 dark:hover:bg-zinc-800 dark:hover:text-zinc-300", + filled: "rounded-md bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-brand-500 dark:text-white dark:hover:bg-brand-400", outline: - "rounded-full py-1 px-3 text-zinc-700 ring-1 ring-inset ring-zinc-900/10 hover:bg-zinc-900/2.5 hover:text-zinc-900 dark:text-zinc-400 dark:ring-white/10 dark:hover:bg-white/5 dark:hover:text-white", + "rounded-md py-1 px-3 text-zinc-700 ring-1 ring-inset ring-zinc-900/10 hover:bg-zinc-900/2.5 hover:text-zinc-900 dark:text-zinc-400 dark:ring-white/10 dark:hover:bg-white/5 dark:hover:text-white", text: "text-brand-500 hover:text-brand-600 dark:text-brand-400 dark:hover:text-brand-500", }; diff --git a/components/Code.tsx b/components/Code.tsx index f70d73c..d11abe2 100644 --- a/components/Code.tsx +++ b/components/Code.tsx @@ -77,7 +77,7 @@ function CopyButton({ code }: { code: string }) {