chore(site): upgrade to Astro 7 and consolidate on Vite 8 (#1721)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-06-23 14:23:21 -07:00
committed by GitHub
co-authored by Claude
parent 0460a48d93
commit a5a7953603
12 changed files with 1530 additions and 1931 deletions
+3 -1
View File
@@ -93,7 +93,9 @@ const { class: className } = Astro.props;
href="/"
class="underline intent:decoration-gold">video player.</a
>
<br class="@5xl:hidden" />Video hosting and streaming <a
<span class="hidden @5xl:inline">{" "}</span>
<br class="@5xl:hidden" />
Video hosting and streaming <a
href={MUX_URL}
class="underline intent:decoration-gold"
>sponsored by Mux.
@@ -22,7 +22,9 @@ import GetStartedLink from '../NavBar/GetStartedLink';
"relative z-10 my-2.5 px-2.5 font-display text-h15 uppercase lg:m-0 lg:pr-14 lg:pl-9 xl:text-h1",
)}
>
Get<br class="md:hidden" />
Get
<br class="md:hidden" />
<span class="hidden md:inline">{" "}</span>
<span
class="text-stroke-manila-light duration-200 group-has-[a:hover]:text-stroke-faded-black lg:duration-300 dark:text-stroke-faded-black dark:group-has-[a:hover]:text-stroke-manila-light"
style={{ transitionProperty: "-webkit-text-stroke" }}>Started</span
+1 -3
View File
@@ -11,6 +11,4 @@ type Props<Tag extends HTMLTag = 'em'> = Polymorphic<{ as: Tag }> & {
const { as: Tag = 'em', class: className, ...props } = Astro.props;
---
<Tag class={twMerge(shared.em, className)} {...props}>
<slot />
</Tag>
<Tag class={twMerge(shared.em, className)} {...props}><slot /></Tag>
@@ -18,12 +18,10 @@ const isCodeBlock = codeBlock === 'true';
{
isCodeBlock ? (
<Tag class={twMerge(shared.codeBlock, className)} {...props}>
<slot />
</Tag>
// prettier-ignore
<Tag class={twMerge(shared.codeBlock, className)} {...props}><slot /></Tag>
) : (
<Tag class={twMerge(shared.code, className)} {...props}>
<slot />
</Tag>
// prettier-ignore
<Tag class={twMerge(shared.code, className)} {...props}><slot /></Tag>
)
}
+4 -6
View File
@@ -20,9 +20,8 @@ const value = 'code';
{
hasFrame ? (
<Tag class={className} {...props}>
<slot />
</Tag>
// prettier-ignore
<Tag class={className} {...props}><slot /></Tag>
) : (
<TabsRoot client:idle>
<TabsList client:idle label={`${label} code`}>
@@ -31,9 +30,8 @@ const value = 'code';
</Tab>
</TabsList>
<TabsPanel client:idle value={value} initial>
<Tag class={className} {...props}>
<slot />
</Tag>
{/* prettier-ignore */}
<Tag class={className} {...props}><slot /></Tag>
</TabsPanel>
</TabsRoot>
)
+1 -3
View File
@@ -11,6 +11,4 @@ type Props<Tag extends HTMLTag = 'strong'> = Polymorphic<{ as: Tag }> & {
const { as: Tag = 'strong', class: className, ...props } = Astro.props;
---
<Tag class={twMerge(shared.strong, className)} {...props}>
<slot />
</Tag>
<Tag class={twMerge(shared.strong, className)} {...props}><slot /></Tag>