fix: make it work with new vite
This commit is contained in:
@@ -21,7 +21,7 @@ function Wrapper(
|
||||
return (
|
||||
<div
|
||||
class={`flex justify-between flex-col relative w-full ${
|
||||
image ? "min-h-[400px]" : "min-h-[200px]"
|
||||
image ? "min-h-100" : "min-h-50"
|
||||
} rounded-3xl overflow-hidden`}
|
||||
>
|
||||
<HeroContext.Provider value={{ image }}>
|
||||
@@ -62,7 +62,7 @@ function Title(
|
||||
>
|
||||
{children}
|
||||
{link &&
|
||||
<IconExternalLink />}
|
||||
<IconExternalLink class="h-6 w-6" />}
|
||||
</h2>
|
||||
</OuterTag>
|
||||
);
|
||||
@@ -110,7 +110,7 @@ function Subline(
|
||||
const ctx = useContext(HeroContext);
|
||||
return (
|
||||
<div
|
||||
class={`relative flex items-center z-10 flex gap-5 font-sm text-light mt-3`}
|
||||
class={`relative items-center z-10 flex gap-5 font-sm text-light mt-3`}
|
||||
style={{ color: ctx.image ? "#1F1F1F" : "white" }}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user