@@ -32,50 +32,33 @@ await eden.user.age.patch({
32
32
</script >
33
33
34
34
<template >
35
- <section
36
- class =" flex flex-col justify-center items-center w-full max-w-6xl mx-auto py-4"
37
- >
35
+ <section class =" flex flex-col justify-center items-center w-full max-w-6xl mx-auto py-4" >
38
36
<!-- <h3 class="text-2xl mr-auto md:mx-auto font-medium text-gray-400">
39
37
Introducing
40
38
</h3> -->
41
39
<h2
42
- class =" text-5xl md:text-6xl font-bold !leading-tight text-transparent bg-clip-text bg-gradient-to-r from-sky-300 to-indigo-400 mb-6 mr-auto md:mx-auto"
43
- >
40
+ class =" text-5xl md:text-6xl font-bold !leading-tight text-transparent bg-clip-text bg-gradient-to-r from-sky-300 to-indigo-400 mb-6 mr-auto md:mx-auto" >
44
41
End–to-End Type Safety
45
42
</h2 >
46
43
47
- <p
48
- class =" text-xl md:text-2xl leading-relaxed text-gray-400 text-left md:text-center w-full max-w-2xl"
49
- >
44
+ <p class =" text-xl md:text-2xl leading-relaxed text-gray-400 text-left md:text-center w-full max-w-2xl" >
50
45
Synchronize types across all applications.
51
46
<br />
52
47
Move fast and break nothing like tRPC.
53
48
</p >
54
49
55
- <a
56
- class =" text-lg font-medium bg-blue-50 text-blue-500 dark:text-blue-400 dark:bg-blue-500/20 mr-auto md:mx-auto px-4 py-2 rounded-xl mt-6"
57
- href =" /eden/overview"
58
- >
50
+ <a class =" text-lg font-medium bg-blue-50 text-blue-500 dark:text-blue-400 dark:bg-blue-500/20 mr-auto md:mx-auto px-4 py-2 rounded-xl mt-6"
51
+ href =" /eden/overview" >
59
52
See how it works
60
53
</a >
61
54
62
55
<section class =" flex flex-col lg:flex-row gap-8 w-full max-w-5xl my-8" >
63
- <div class =" w-full" >
64
- <Prism
65
- class =" !text-base !font-mono rounded-xl"
66
- language =" typescript"
67
- >
68
- {{ server }}
69
- </Prism >
56
+ <div class =" w-full !text-base !font-mono rounded-xl" >
57
+ <slot name =" server" >test</slot >
70
58
</div >
71
- <div class =" relative w-full" >
72
- <Prism
73
- class =" !text-base !font-mono rounded-xl"
74
- language =" typescript"
75
- >
76
- {{ client }}
77
- </Prism >
78
- <div
59
+ <div class =" relative w-full !text-base !font-mono rounded-xl" >
60
+ <slot name =" client" ></slot >
61
+ <!-- <div
79
62
class="absolute p-1 rounded bg-red-400/25"
80
63
style="
81
64
top: 13.5em;
@@ -89,7 +72,7 @@ await eden.user.age.patch({
89
72
style="top: 15.25em; left: 3.25em"
90
73
>
91
74
Type 'string' is not assignable to type 'number'
92
- </p >
75
+ </p> -->
93
76
</div >
94
77
</section >
95
78
</section >
0 commit comments