@@ -4,6 +4,7 @@ import { Popup, PopupContent, PopupTrigger } from 'fumadocs-twoslash/ui'
44import { CodeBlock , Pre } from 'fumadocs-ui/components/codeblock'
55import { Tab , Tabs } from 'fumadocs-ui/components/tabs'
66import { DocsBody } from 'fumadocs-ui/page'
7+ import Image from 'next/image'
78import Link from 'next/link'
89
910const mdxComponents = {
@@ -39,48 +40,37 @@ export default function HomePage() {
3940 < div className = "mx-auto lg:col-span-6 lg:flex lg:items-center justify-center text-center" >
4041 < div className = "relative z-10 lg:h-auto pt-[90px] lg:pt-[90px] lg:min-h-[300px] flex flex-col items-center justify-center sm:mx-auto md:w-3/4 lg:mx-0 lg:w-full gap-4 lg:gap-8" >
4142 < div className = "flex flex-col items-center" >
42- < h1 className = "max-w-5xl text-foreground text-4xl sm:text-5xl sm:leading-none lg:text-6xl" >
43- < span className = "block text-foreground" >
44- End-to-End Typesafe API Builder for Developers
45- </ span >
46- { /* <span className="block md:ml-0">Developer-first simplicity</span> */ }
43+ < Image src = "/logo.webp" alt = "oRPC" width = { 500 } height = { 100 } unoptimized />
44+ < h1 className = "max-w-4xl mt-5 text-#b4befe font-semibold text-4xl sm:text-5xl sm:leading-none lg:text-5xl" >
45+ Typesafe API's Made Simple 🪄
4746 </ h1 >
4847 < p className = "max-w-2xl pt-2 text-foreground my-3 text-xs sm:mt-5 lg:mb-0 sm:text-sm lg:text-base" >
49- < strong className = "font-semibold" > oRPC</ strong >
50- { ' ' }
51- is an open-source toolkit that helps developers build robust TypeScript functions
52- and expose them to the internet using typesafe clients, OpenAPI standards, or even server actions.
53- Our focus is on
48+ End-to-End Typesafe API's made easy in a toolkit that helps developers build robust TypeScript API's with a focus on
5449 { ' ' }
5550 < strong className = "font-semibold" > developer experience</ strong >
5651 ,
5752 { ' ' }
58- < strong className = "font-semibold" > performance</ strong >
59- , and
60- { ' ' }
6153 < strong className = "font-semibold" > reliability</ strong >
6254 .
63- { /* <br className="hidden md:block" /> */ }
6455 </ p >
6556 </ div >
66- < div className = "flex items-center gap-2" >
67- < a
68- data-size = "medium"
57+ < div className = "flex items-center gap-5" >
58+ < Link
6959 type = "button"
70- className = "relative justify-center cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded-md outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 border bg-brand-400 dark:bg-brand-500 hover:bg-brand/80 dark:hover:bg-brand/50 text-foreground border-brand-500/75 dark:border-brand/30 hover:border-brand-600 dark:hover:border-brand focus-visible:outline-brand-600 data-[state=open]:bg-brand-400/80 dark:data-[state=open]:bg-brand-500/80 data-[state=open]:outline-brand-600 text-sm px-4 py-2 h-[38px]"
71- href = "https://github.com/unnoq/orpc"
72- rel = "noreferrer noopener"
73- target = "_blank"
60+ className = "bg-fd-primary/80 flex py-3 px-8 rounded-full cursor-pointer"
61+ href = "/docs"
62+
7463 >
75- < span className = "truncate" > View on GitHub </ span >
76- </ a >
64+ < span className = "font-medium text-white/80" > Quick start </ span >
65+ </ Link >
7766 < Link
78- data-size = "medium"
7967 type = "button"
80- className = "relative justify-center cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded-md outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 border text-foreground bg-alternative dark:bg-muted hover:bg-selection border-strong hover:border-stronger focus-visible:outline-brand-600 data-[state=open]:bg-selection data-[state=open]:outline-brand-600 data-[state=open]:border-button-hover text-sm px-4 py-2 h-[38px]"
81- href = "/docs"
68+ className = "bg-fd-primary/20 bg-opacity-20 flex py-3 px-8 rounded-full cursor-pointer"
69+ href = "https://github.com/unnoq/orpc"
70+ rel = "noreferrer noopener"
71+ target = "_blank"
8272 >
83- < span className = "truncate" > Quick start </ span >
73+ < span className = "text-fd-primary font-medium" > View on GitHub </ span >
8474 </ Link >
8575 </ div >
8676 </ div >
0 commit comments