chore: upgrade better-call

This commit is contained in:
Bereket Engida
2024-09-10 10:54:51 +03:00
parent 8f77a07b8b
commit b066b3a64c
6 changed files with 92 additions and 77 deletions

View File

@@ -1,7 +1,9 @@
import { SVGProps } from "react";
export const Icons = {
nextJS: ({className}: {className?:string}) => (
nextJS: (props?: SVGProps<any>) => (
<svg
className={className}
className={props?.className}
xmlns="http://www.w3.org/2000/svg"
width="1.2em"
height="1.2em"
@@ -13,9 +15,9 @@ export const Icons = {
></path>
</svg>
),
nuxt: ({className}: {className?:string}) => (
nuxt: (props?: SVGProps<any>) => (
<svg
className={className}
className={props?.className}
xmlns="http://www.w3.org/2000/svg"
width="1.2em"
height="1.2em"
@@ -27,9 +29,9 @@ export const Icons = {
></path>
</svg>
),
svelteKit: ({className}: {className?:string}) => (
svelteKit: (props?: SVGProps<any>) => (
<svg
className={className}
className={props?.className}
xmlns="http://www.w3.org/2000/svg"
width="1.2em"
height="1.2em"
@@ -41,9 +43,9 @@ export const Icons = {
></path>
</svg>
),
solidStart: ({className}: {className?:string}) => (
solidStart: (props?: SVGProps<any>) => (
<svg
className={className}
className={props?.className}
xmlns="http://www.w3.org/2000/svg"
width="1.2em"
height="1.2em"
@@ -55,9 +57,9 @@ export const Icons = {
></path>
</svg>
),
react: ({className}: {className?:string}) => (
react: (props?: SVGProps<any>) => (
<svg
className={className}
className={props?.className}
xmlns="http://www.w3.org/2000/svg"
width="1.2em"
height="1.2em"
@@ -71,9 +73,9 @@ export const Icons = {
></path>
</svg>
),
hono: ({className}: {className?:string}) => (
hono: (props?: SVGProps<any>) => (
<svg
className={className}
className={props?.className}
xmlns="http://www.w3.org/2000/svg"
width="1.2em"
height="1.2em"

View File

@@ -134,7 +134,7 @@ export default function Hero() {
<LayoutGroup>
<motion.div
layoutId="hero"
className="relative rounded-sm bg-gradient-to-tr from-stone-100 to-stone-200 dark:from-stone-950/70 dark:to-stone-900/90 ring-1 ring-white/10 backdrop-blur-lg"
className="relative rounded-sm bg-gradient-to-tr from-stone-100 to-stone-200 dark:from-stone-950/70 dark:to-stone-950/90 ring-1 ring-white/10 backdrop-blur-lg"
>
<div className="absolute -top-px left-0 right-0 h-px " />
<div className="absolute -bottom-px left-11 right-20 h-px" />